changed workspace modifiers

This commit is contained in:
moonleay 2023-11-16 08:27:13 +01:00
parent 1c9a31ee6e
commit 0a0cc70b96
Signed by: moonleay
GPG key ID: 82667543CCD715FB
4 changed files with 57 additions and 26 deletions

View file

@ -2,8 +2,8 @@
LocationMode=path-bar LocationMode=path-bar
ShowHidden=false ShowHidden=false
ShowSizeColumn=true ShowSizeColumn=true
GeometryX=1820 GeometryX=220
GeometryY=236 GeometryY=96
GeometryWidth=840 GeometryWidth=840
GeometryHeight=630 GeometryHeight=630
SortColumn=name SortColumn=name

View file

@ -165,28 +165,58 @@ bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d bind = $mainMod, down, movefocus, d
# Switch workspaces with mainMod + [0-9] # Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1 #bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2 #bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3 #bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4 #bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5 #bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6 #bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7 #bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8 #bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9 #bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10 #bind = $mainMod, 0, workspace, 10
bind = $mainMod, grave, workspace, 1
bind = $mainMod, 1, workspace, 2
bind = $mainMod, 2, workspace, 3
bind = $mainMod, 3, workspace, 4
bind = $mainMod, 4, workspace, 5
bind = $mainMod, 5, workspace, 6
bind = $mainMod, 6, workspace, 7
bind = $mainMod, 7, workspace, 8
bind = $mainMod, 8, workspace, 9
bind = $mainMod, 9, workspace, 10
bind = $mainMod, 0, workspace, 11
bind = $mainMod, minus, workspace, 12
bind = $mainMod, equal, workspace, 13
# Move active window to a workspace with mainMod + SHIFT + [0-9] # Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1 #bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2 #bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3 #bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4 #bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5 #bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6 #bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7 #bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8 #bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9 #bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10 #bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod SHIFT, grave, movetoworkspace, 1
bind = $mainMod SHIFT, 1, movetoworkspace, 2
bind = $mainMod SHIFT, 2, movetoworkspace, 3
bind = $mainMod SHIFT, 3, movetoworkspace, 4
bind = $mainMod SHIFT, 4, movetoworkspace, 5
bind = $mainMod SHIFT, 5, movetoworkspace, 6
bind = $mainMod SHIFT, 6, movetoworkspace, 7
bind = $mainMod SHIFT, 7, movetoworkspace, 8
bind = $mainMod SHIFT, 8, movetoworkspace, 9
bind = $mainMod SHIFT, 9, movetoworkspace, 10
bind = $mainMod SHIFT, 0, movetoworkspace, 11
bind = $mainMod SHIFT, minus, movetoworkspace, 12
bind = $mainMod SHIFT, equal, movetoworkspace, 13
bind = $mainMod SHIFT, s, exec, grim -g "$(slurp)" -c "/home/moonleay/Pictures/Screenshots/$(date +'%s_grim.png')" bind = $mainMod SHIFT, s, exec, grim -g "$(slurp)" -c "/home/moonleay/Pictures/Screenshots/$(date +'%s_grim.png')"
bind = $mainMod SHIFT, q, exec, librewolf bind = $mainMod SHIFT, q, exec, librewolf

View file

@ -1,4 +1,5 @@
preload = ~/Pictures/Wallpaper/cityx4.png preload = ~/Pictures/Wallpaper/cityx4.png
#if more than one preload is desired then continue to preload other backgrounds #if more than one preload is desired then continue to preload other backgrounds
#preload = /path/to/next_image.png #preload = /path/to/next_image.png
# .. more preloads # .. more preloads

View file

@ -5,8 +5,8 @@ icon="󰈹 "
if [[ $class == "playing" ]]; then if [[ $class == "playing" ]]; then
info=$(playerctl metadata --player=firefox --format '{{title}}') info=$(playerctl metadata --player=firefox --format '{{title}}')
if [[ ${#info} > 60 ]]; then if [[ ${#info} > 30 ]]; then
info=$(echo $info | cut -c1-60)"..." info=$(echo $info | cut -c1-30)"..."
fi fi
text=$info" "$icon text=$info" "$icon
elif [[ $class == "paused" ]]; then elif [[ $class == "paused" ]]; then
@ -20,8 +20,8 @@ classa=$(playerctl metadata --player=spotify --format '{{lc(status)}}')
if [[ $classa == "playing" ]]; then if [[ $classa == "playing" ]]; then
icon="" icon=""
info=$(playerctl metadata --player=spotify --format '{{artist}} - {{title}}') info=$(playerctl metadata --player=spotify --format '{{artist}} - {{title}}')
if [[ ${#info} > 40 ]]; then if [[ ${#info} > 30 ]]; then
info=$(echo $info | cut -c1-40)"..." info=$(echo $info | cut -c1-30)"..."
fi fi
text=$info" "$icon text=$info" "$icon
elif [[ $class == "paused" ]]; then elif [[ $class == "paused" ]]; then