Special Workspace in hyprland
This commit is contained in:
parent
02cc6e34ed
commit
0e57120f6c
3 changed files with 8 additions and 16 deletions
|
@ -274,7 +274,7 @@ bind = Alt Shift, Tab, cyclenext, prev
|
||||||
|
|
||||||
# bind = $mainMod, Tab, workspace, e-2
|
# bind = $mainMod, Tab, workspace, e-2
|
||||||
bind = $mainMod, A, exec,bash ~/.config/rofi/wifi/wifi.sh
|
bind = $mainMod, A, exec,bash ~/.config/rofi/wifi/wifi.sh
|
||||||
bind = $mainMod, S, exec,bash ~/.config/rofi/search/search.sh
|
#bind = $mainMod, S, exec,bash ~/.config/rofi/search/search.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -310,8 +310,8 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||||
|
|
||||||
|
|
||||||
# Example special workspace (scratchpad)
|
# Example special workspace (scratchpad)
|
||||||
#bind = $mainMod, S, togglespecialworkspace, magic
|
bind = $mainMod, S, togglespecialworkspace, magic
|
||||||
#bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
bind = $mainMod SHIFT, E, movetoworkspace, special:magic
|
||||||
|
|
||||||
# Scroll through existing workspaces with mainMod + scroll
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
bind = $mainMod, mouse_down, workspace, e+1
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
|
|
|
@ -62,21 +62,13 @@ run_cmd() {
|
||||||
elif [[ $1 == '--reboot' ]]; then
|
elif [[ $1 == '--reboot' ]]; then
|
||||||
systemctl reboot
|
systemctl reboot
|
||||||
elif [[ $1 == '--hibernate' ]]; then
|
elif [[ $1 == '--hibernate' ]]; then
|
||||||
systemctl hibernate
|
systemctl suspend
|
||||||
elif [[ $1 == '--suspend' ]]; then
|
elif [[ $1 == '--suspend' ]]; then
|
||||||
mpc -q pause
|
mpc -q pause
|
||||||
amixer set Master mute
|
amixer set Master mute
|
||||||
systemctl suspend
|
systemctl suspend
|
||||||
elif [[ $1 == '--logout' ]]; then
|
elif [[ $1 == '--logout' ]]; then
|
||||||
if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then
|
hyprctl dispatch exit
|
||||||
openbox --exit
|
|
||||||
elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then
|
|
||||||
bspc quit
|
|
||||||
elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then
|
|
||||||
i3-msg exit
|
|
||||||
elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then
|
|
||||||
qdbus org.kde.ksmserver /KSMServer logout 0 0 0
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -86,7 +86,7 @@ menu,
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
font-size: 16px;
|
font-size: 20px;
|
||||||
color: #1e1;
|
color: #1e1;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
@ -110,7 +110,7 @@ menu,
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:hover {
|
#workspaces button:hover {
|
||||||
color: #c3dee5;
|
color: @cerise;
|
||||||
background: #1e1e2e;
|
background: #1e1e2e;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
animation: none;
|
animation: none;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue