rofi config
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
# Current Theme
|
||||
dir="$HOME/.config/rofi/powermenu/type-2"
|
||||
theme='style-2'
|
||||
theme='style-5'
|
||||
|
||||
# CMDs
|
||||
uptime="`uptime -p | sed -e 's/up //g'`"
|
||||
@@ -79,6 +79,8 @@ run_cmd() {
|
||||
i3-msg exit
|
||||
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
|
||||
qdbus org.kde.ksmserver /KSMServer logout 0 0 0
|
||||
elif [[ "$DESKTOP_SESSION" == 'hyprland' ]] then
|
||||
hyprctl dispatch exit
|
||||
fi
|
||||
fi
|
||||
else
|
||||
@@ -100,6 +102,8 @@ case ${chosen} in
|
||||
betterlockscreen -l
|
||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||
i3lock
|
||||
elif [[ -x 'usr/bin/hyprlock' ]]; then
|
||||
hyprlock
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
|
||||
@@ -35,7 +35,7 @@ window {
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border: 2px;
|
||||
border-radius: 20px;
|
||||
border-color: @selected;
|
||||
cursor: "default";
|
||||
|
||||
@@ -24,18 +24,18 @@ USE_BUTTONS=YES
|
||||
window {
|
||||
/* properties for window widget */
|
||||
transparency: "real";
|
||||
location: west;
|
||||
anchor: west;
|
||||
location: North East;
|
||||
anchor: North East;
|
||||
fullscreen: false;
|
||||
width: 115px;
|
||||
x-offset: 15px;
|
||||
y-offset: 0px;
|
||||
x-offset: -20px;
|
||||
y-offset: 20px;
|
||||
|
||||
/* properties for all widgets */
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border: 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @selected;
|
||||
cursor: "default";
|
||||
|
||||
Reference in New Issue
Block a user