bspwm and sxhkd

This commit is contained in:
Debucquoy committed 2023-11-11 16:26:39 +01:00
1 parent 58b4e426bf
commit 71a884218b
5 files changed
+26 -12

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/sh
scan_first=$(echo -e "yes\nno" | dmenu -l 2)
if [[ ${scan_first} = 'yes' ]]; then
bluetoothctl scan on &
sleep 10 && kill $!
fi
device=$(bluetoothctl devices | dmenu -i -l 15 | cut -d ' ' -f 2)
bluetoothctl connect ${device}
+2 -2
View File
@@ -31,7 +31,7 @@ bspc config normal_border_color "#2D2D2D"
#"#000000" #"#000000"
bspc config presel_feedback_color "#1ABB9B" bspc config presel_feedback_color "#1ABB9B"
#"#8F3724" #"#8F3724"
bspc config border_width 2 bspc config border_width 1
bspc config focus_follows_pointer true bspc config focus_follows_pointer true
#bspc config pointer_follows_focus true #Some keybindings automatically enable and disable this setting #bspc config pointer_follows_focus true #Some keybindings automatically enable and disable this setting
@@ -72,7 +72,7 @@ bspc rule -a dockbarx layer=above
bspc rule -a google-chrome-unstable private=on bspc rule -a google-chrome-unstable private=on
bspc rule -a google-chrome-stable private=on bspc rule -a google-chrome-stable private=on
bspc rule -a chromium private=on bspc rule -a chromium private=on
bspc rule -a firefox private=on fullscreen=on bspc rule -a firefox private=on
bspc rule -a midori private=on bspc rule -a midori private=on
bspc rule -a gnome-pie border=off manage=off bspc rule -a gnome-pie border=off manage=off
bspc rule -a wpa_gui state=pseudo_tiled bspc rule -a wpa_gui state=pseudo_tiled
+1
View File
@@ -0,0 +1 @@
{"payload":{"allShortcutsEnabled":false,"fileTree":{"community/bspwm-mate/skel/.config/GTKmenu":{"items":[{"name":"BspwmDesktopMenu","path":"community/bspwm-mate/skel/.config/GTKmenu/BspwmDesktopMenu","contentType":"file"},{"name":"BspwmDesktopMenui","path":"community/bspwm-mate/skel/.config/GTKmenu/BspwmDesktopMenui","contentType":"file"},{"name":"BspwmMenu","path":"community/bspwm-mate/skel/.config/GTKmenu/BspwmMenu","contentType":"file"},{"name":"BspwmWindowMenu","path":"community/bspwm-mate/skel/.config/GTKmenu/BspwmWindowMenu","contentType":"file"},{"name":"BspwmWindowMenui","path":"community/bspwm-mate/skel/.config/GTKmenu/BspwmWindowMenui","contentType":"file"},{"name":"LaunchMenu","path":"community/bspwm-mate/skel/.config/GTKmenu/LaunchMenu","contentType":"file"},{"name":"MainMenu","path":"community/bspwm-mate/skel/.config/GTKmenu/MainMenu","contentType":"file"},{"name":"appmenu","path":"community/bspwm-mate/skel/.config/GTKmenu/appmenu","contentType":"file"},{"name":"appskeleton","path":"community/bspwm-mate/skel/.config/GTKmenu/appskeleton","contentType":"file"},{"name":"menupdate","path":"community/bspwm-mate/skel/.config/GTKmenu/menupdate","contentType":"file"}],"totalCount":10},"community/bspwm-mate/skel/.config":{"items":[{"name":"AL-hotcorners","path":"community/bspwm-mate/skel/.config/AL-hotcorners","contentType":"directory"},{"name":"GTKmenu","path":"community/bspwm-mate/skel/.config/GTKmenu","contentType":"directory"},{"name":"autostart","path":"community/bspwm-mate/skel/.config/autostart","contentType":"directory"},{"name":"bspwm","path":"community/bspwm-mate/skel/.config/bspwm","contentType":"directory"},{"name":"dmenu-recent","path":"community/bspwm-mate/skel/.config/dmenu-recent","contentType":"directory"},{"name":"dunst","path":"community/bspwm-mate/skel/.config/dunst","contentType":"directory"},{"name":"gedit","path":"community/bspwm-mate/skel/.config/gedit","contentType":"directory"},{"name":"mate","path":"community/bspwm-mate/skel/.config/mate","contentType":"directory"},{"name":"menus","path":"community/bspwm-mate/skel/.config/menus","contentType":"directory"},{"name":"micro","path":"community/bspwm-mate/skel/.config/micro","contentType":"directory"},{"name":"networkmanager-dmenu","path":"community/bspwm-mate/skel/.config/networkmanager-dmenu","contentType":"directory"},{"name":"rofi","path":"community/bspwm-mate/skel/.config/rofi","contentType":"directory"},{"name":"mimeapps.list","path":"community/bspwm-mate/skel/.config/mimeapps.list","contentType":"file"}],"totalCount":13},"community/bspwm-mate/skel":{"items":[{"name":".bin","path":"community/bspwm-mate/skel/.bin","contentType":"directory"},{"name":".config","path":"community/bspwm-mate/skel/.config","contentType":"directory"},{"name":".icons","path":"community/bspwm-mate/skel/.icons","contentType":"directory"},{"name":".local","path":"community/bspwm-mate/skel/.local","contentType":"directory"},{"name":".Xresources","path":"community/bspwm-mate/skel/.Xresources","contentType":"file"},{"name":".dmenurc","path":"community/bspwm-mate/skel/.dmenurc","contentType":"file"},{"name":".fehbg","path":"community/bspwm-mate/skel/.fehbg","contentType":"file"},{"name":".hushlogin","path":"community/bspwm-mate/skel/.hushlogin","contentType":"file"},{"name":".nanorc","path":"community/bspwm-mate/skel/.nanorc","contentType":"file"},{"name":".profile","path":"community/bspwm-mate/skel/.profile","contentType":"file"},{"name":".xinitrc","path":"community/bspwm-mate/skel/.xinitrc","contentType":"file"},{"name":".xsession","path":"community/bspwm-mate/skel/.xsession","contentType":"file"},{"name":".zprofile","path":"community/bspwm-mate/skel/.zprofile","contentType":"file"},{"name":"Bspwm-beginners-guide.txt","path":"community/bspwm-mate/skel/Bspwm-beginners-guide.txt","contentType":"file"}],"totalCount":14},"community/bspwm-mate":{"items":[{"name":"schemas","path":"community/bspwm-mate/schemas","contentType":"directory"},{"name":"skel","path":"community/bspwm-mate/skel","contentType":"directory"}],"totalCount":2},"community":{"items":[{"name":"awesome","path":"community/awesome","contentType":"directory"},{"name":"bspwm-mate","path":"community/bspwm-mate","contentType":"directory"},{"name":"bspwm-minimal","path":"community/bspwm-minimal","contentType":"directory"},{"name":"bspwm","path":"community/bspwm","contentType":"directory"},{"name":"budgie","path":"community/budgie","contentType":"directory"},{"name":"cinnamon","path":"community/cinnamon","contentType":"directory"},{"name":"deepin","path":"community/deepin","contentType":"directory"},{"name":"fluxbox","path":"community/fluxbox","contentType":"directory"},{"name":"i3","path":"community/i3","contentType":"directory"},{"name":"jwm","path":"community/jwm","contentType":"directory"},{"name":"lumina","path":"community/lumina","contentType":"directory"},{"name":"lxde","path":"community/lxde","contentType":"directory"},{"name":"lxqt-kwin","path":"community/lxqt-kwin","contentType":"directory"},{"Line truncated
+1
View File
@@ -0,0 +1 @@
{"payload":{"allShortcutsEnabled":false,"fileTree":{"community/bspwm-mate/skel/.config/GTKmenu":{"items":[{"name":"BspwmDesktopMenu","path":"community/bspwm-mate/skel/.config/GTKmenu/BspwmDesktopMenu","contentType":"file"},{"name":"BspwmDesktopMenui","path":"community/bspwm-mate/skel/.config/GTKmenu/BspwmDesktopMenui","contentType":"file"},{"name":"BspwmMenu","path":"community/bspwm-mate/skel/.config/GTKmenu/BspwmMenu","contentType":"file"},{"name":"BspwmWindowMenu","path":"community/bspwm-mate/skel/.config/GTKmenu/BspwmWindowMenu","contentType":"file"},{"name":"BspwmWindowMenui","path":"community/bspwm-mate/skel/.config/GTKmenu/BspwmWindowMenui","contentType":"file"},{"name":"LaunchMenu","path":"community/bspwm-mate/skel/.config/GTKmenu/LaunchMenu","contentType":"file"},{"name":"MainMenu","path":"community/bspwm-mate/skel/.config/GTKmenu/MainMenu","contentType":"file"},{"name":"appmenu","path":"community/bspwm-mate/skel/.config/GTKmenu/appmenu","contentType":"file"},{"name":"appskeleton","path":"community/bspwm-mate/skel/.config/GTKmenu/appskeleton","contentType":"file"},{"name":"menupdate","path":"community/bspwm-mate/skel/.config/GTKmenu/menupdate","contentType":"file"}],"totalCount":10},"community/bspwm-mate/skel/.config":{"items":[{"name":"AL-hotcorners","path":"community/bspwm-mate/skel/.config/AL-hotcorners","contentType":"directory"},{"name":"GTKmenu","path":"community/bspwm-mate/skel/.config/GTKmenu","contentType":"directory"},{"name":"autostart","path":"community/bspwm-mate/skel/.config/autostart","contentType":"directory"},{"name":"bspwm","path":"community/bspwm-mate/skel/.config/bspwm","contentType":"directory"},{"name":"dmenu-recent","path":"community/bspwm-mate/skel/.config/dmenu-recent","contentType":"directory"},{"name":"dunst","path":"community/bspwm-mate/skel/.config/dunst","contentType":"directory"},{"name":"gedit","path":"community/bspwm-mate/skel/.config/gedit","contentType":"directory"},{"name":"mate","path":"community/bspwm-mate/skel/.config/mate","contentType":"directory"},{"name":"menus","path":"community/bspwm-mate/skel/.config/menus","contentType":"directory"},{"name":"micro","path":"community/bspwm-mate/skel/.config/micro","contentType":"directory"},{"name":"networkmanager-dmenu","path":"community/bspwm-mate/skel/.config/networkmanager-dmenu","contentType":"directory"},{"name":"rofi","path":"community/bspwm-mate/skel/.config/rofi","contentType":"directory"},{"name":"mimeapps.list","path":"community/bspwm-mate/skel/.config/mimeapps.list","contentType":"file"}],"totalCount":13},"community/bspwm-mate/skel":{"items":[{"name":".bin","path":"community/bspwm-mate/skel/.bin","contentType":"directory"},{"name":".config","path":"community/bspwm-mate/skel/.config","contentType":"directory"},{"name":".icons","path":"community/bspwm-mate/skel/.icons","contentType":"directory"},{"name":".local","path":"community/bspwm-mate/skel/.local","contentType":"directory"},{"name":".Xresources","path":"community/bspwm-mate/skel/.Xresources","contentType":"file"},{"name":".dmenurc","path":"community/bspwm-mate/skel/.dmenurc","contentType":"file"},{"name":".fehbg","path":"community/bspwm-mate/skel/.fehbg","contentType":"file"},{"name":".hushlogin","path":"community/bspwm-mate/skel/.hushlogin","contentType":"file"},{"name":".nanorc","path":"community/bspwm-mate/skel/.nanorc","contentType":"file"},{"name":".profile","path":"community/bspwm-mate/skel/.profile","contentType":"file"},{"name":".xinitrc","path":"community/bspwm-mate/skel/.xinitrc","contentType":"file"},{"name":".xsession","path":"community/bspwm-mate/skel/.xsession","contentType":"file"},{"name":".zprofile","path":"community/bspwm-mate/skel/.zprofile","contentType":"file"},{"name":"Bspwm-beginners-guide.txt","path":"community/bspwm-mate/skel/Bspwm-beginners-guide.txt","contentType":"file"}],"totalCount":14},"community/bspwm-mate":{"items":[{"name":"schemas","path":"community/bspwm-mate/schemas","contentType":"directory"},{"name":"skel","path":"community/bspwm-mate/skel","contentType":"directory"}],"totalCount":2},"community":{"items":[{"name":"awesome","path":"community/awesome","contentType":"directory"},{"name":"bspwm-mate","path":"community/bspwm-mate","contentType":"directory"},{"name":"bspwm-minimal","path":"community/bspwm-minimal","contentType":"directory"},{"name":"bspwm","path":"community/bspwm","contentType":"directory"},{"name":"budgie","path":"community/budgie","contentType":"directory"},{"name":"cinnamon","path":"community/cinnamon","contentType":"directory"},{"name":"deepin","path":"community/deepin","contentType":"directory"},{"name":"fluxbox","path":"community/fluxbox","contentType":"directory"},{"name":"i3","path":"community/i3","contentType":"directory"},{"name":"jwm","path":"community/jwm","contentType":"directory"},{"name":"lumina","path":"community/lumina","contentType":"directory"},{"name":"lxde","path":"community/lxde","contentType":"directory"},{"name":"lxqt-kwin","path":"community/lxqt-kwin","contentType":"directory"},{"Line truncated
+10 -10
View File
@@ -62,14 +62,14 @@ super + ctrl + Return
auto-presel auto-presel
# Presel window for splitting in certain direction # Presel window for splitting in certain direction
alt + ctrl + {q,s,z,d} # alt + ctrl + {q,s,z,d}
bspc node -p \~{west,south,north,east} -i # bspc node -p \~{west,south,north,east} -i
alt + ctrl + {h,j,k,l} # alt + ctrl + {h,j,k,l}
bspc node -p \~{west,south,north,east} # bspc node -p \~{west,south,north,east}
alt + ctrl + {Left,Down,Up,Right} # alt + ctrl + {Left,Down,Up,Right}
bspc node -p \~{west,south,north,east} # bspc node -p \~{west,south,north,east}
# Presel the desktop for splitting in certain direction # Presel the desktop for splitting in certain direction
alt + shift + {q,s,z,d} alt + shift + {q,s,z,d}
@@ -88,7 +88,7 @@ alt + ctrl + {1-9}
super + Return super + Return
windowpromoter windowpromoter
# # Create a new "master area", splitting the whole desktop instead of just windows. # Create a new "master area", splitting the whole desktop instead of just windows.
# alt + Return # alt + Return
# bspc node -n @/ # bspc node -n @/
@@ -122,13 +122,13 @@ super + Tab
WindowSelector WindowSelector
#Focus windows by direction, works with multihead #Focus windows by direction, works with multihead
super + {q,s,z,d} super + {q,s,z,d}
focusmover {west,south,north,east} focusmover {west,south,north,east}
super + {h,j,k,l} super + {h,j,k,l}
focusmover {west,south,north,east} focusmover {west,south,north,east}
super + {Left,Down,Up,Right} super + {Left,Down,Up,Right}
focusmover {west,south,north,east} focusmover {west,south,north,east}
# Move tiled windows. Moving a tiled window to # Move tiled windows. Moving a tiled window to