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, 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)
|
||||
#bind = $mainMod, S, togglespecialworkspace, magic
|
||||
#bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
bind = $mainMod, S, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, E, movetoworkspace, special:magic
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
|
|
|
@ -62,22 +62,14 @@ run_cmd() {
|
|||
elif [[ $1 == '--reboot' ]]; then
|
||||
systemctl reboot
|
||||
elif [[ $1 == '--hibernate' ]]; then
|
||||
systemctl hibernate
|
||||
systemctl suspend
|
||||
elif [[ $1 == '--suspend' ]]; then
|
||||
mpc -q pause
|
||||
amixer set Master mute
|
||||
systemctl suspend
|
||||
elif [[ $1 == '--logout' ]]; then
|
||||
if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then
|
||||
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
|
||||
hyprctl dispatch exit
|
||||
fi
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
|
|
@ -86,7 +86,7 @@ menu,
|
|||
font-weight: bold;
|
||||
font-style: normal;
|
||||
opacity: 1;
|
||||
font-size: 16px;
|
||||
font-size: 20px;
|
||||
color: #1e1;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
@ -110,7 +110,7 @@ menu,
|
|||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
color: #c3dee5;
|
||||
color: @cerise;
|
||||
background: #1e1e2e;
|
||||
opacity: 1;
|
||||
animation: none;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue