HLWM: Move tabs, toggle audio codec, dunst, fix glut window rule . Add icat alias

This commit is contained in:
Joseph Ferano 2023-08-16 18:25:38 +07:00
parent 91f32febeb
commit abd92c7c7c
2 changed files with 16 additions and 12 deletions

View File

@ -0,0 +1,3 @@
function icat --wraps='kitty +kitten icat --align=left' --description 'alias icat kitty +kitten icat --align=left'
kitty +kitten icat --align=left $argv
end

View File

@ -12,10 +12,10 @@ xsetroot -solid '#5A8E3A'
emacs --daemon emacs --daemon
picom -b -c picom -b -c
nitrogen --restore &
polybar & polybar &
feh --no-fehbg --bg-center ~/.cache/randomwallpaper@iflow.space/wallpapers/wallpaper.png feh --no-fehbg --bg-center ~/.cache/randomwallpaper@iflow.space/wallpapers/wallpaper.png
pcloud & pcloud &
dunst &
xset r rate 260 60 xset r rate 260 60
@ -46,14 +46,14 @@ hc keybind $Mod-k focus up
hc keybind $Mod-l focus right hc keybind $Mod-l focus right
# moving clients in tiling and floating mode # moving clients in tiling and floating mode
hc keybind $Mod-Shift-Left shift left hc keybind $Mod-Shift-Left shift -e left
hc keybind $Mod-Shift-Down shift down hc keybind $Mod-Shift-Down shift -e down
hc keybind $Mod-Shift-Up shift up hc keybind $Mod-Shift-Up shift -e up
hc keybind $Mod-Shift-Right shift right hc keybind $Mod-Shift-Right shift -e right
hc keybind $Mod-Shift-h shift left hc keybind $Mod-Shift-h shift --level=tabs left
hc keybind $Mod-Shift-j shift down hc keybind $Mod-Shift-j shift --level=tabs down
hc keybind $Mod-Shift-k shift up hc keybind $Mod-Shift-k shift --level=tabs up
hc keybind $Mod-Shift-l shift right hc keybind $Mod-Shift-l shift --level=tabs right
# splitting frames # splitting frames
# create an empty frame at the specified direction # create an empty frame at the specified direction
@ -122,7 +122,7 @@ hc keybind XF86AudioPlay spawn bash -c 'playerctl -a play-pause; paplay /usr/sha
# bluetooth # bluetooth
hc keybind $Mod-b spawn bluetoothctl connect F8:5B:6E:2A:6A:CF hc keybind $Mod-b spawn bluetoothctl connect F8:5B:6E:2A:6A:CF
hc keybind $Mod-Shift-b spawn sudo systemctl restart bluetooth.service hc keybind $Mod-Shift-b spawn sudo systemctl restart bluetooth.service
hc keybind $Mod-Ctrl-b spawn bluetoothctl disconnect F8:5B:6E:2A:6A:CF hc keybind $Mod-Ctrl-b spawn toggle-bt-codec
# Lock # Lock
hc keybind $Mod-Ctrl-Shift-l spawn bash -c 'slock | systemctl suspend' hc keybind $Mod-Ctrl-Shift-l spawn bash -c 'slock | systemctl suspend'
@ -134,6 +134,8 @@ hc keybind $Mod-BackSpace cycle_monitor
#hc keybind $Mod-Shift-Tab cycle_all -1 #hc keybind $Mod-Shift-Tab cycle_all -1
hc keybind $Mod-Tab cycle +1 hc keybind $Mod-Tab cycle +1
hc keybind $Mod-Shift-Tab cycle -1 hc keybind $Mod-Shift-Tab cycle -1
hc keybind $Mod-Ctrl-Tab cycle_all --skip-invisible +1
hc keybind $Mod-Ctrl-Shift-Tab cycle_all --skip-invisible -1
# hc keybind $Mod-c cycle # hc keybind $Mod-c cycle
hc keybind $Mod-i jumpto urgent hc keybind $Mod-i jumpto urgent
@ -200,7 +202,7 @@ hc rule floatplacement=center
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' floating=on hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' floating=on
hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on hc rule windowtype='_NET_WM_WINDOW_TYPE_DIALOG' focus=on
hc rule title='emacs-run-launcher' floating=on floatplacement=center hc rule title='emacs-run-launcher' floating=on floatplacement=center
hc rule title~'^Glut |.*$' floating=on floatplacement=center hc rule title~'^Glut.*' floating=on floatplacement=center
hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)' manage=off hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)' manage=off
hc rule fixedsize floating=on hc rule fixedsize floating=on
@ -226,4 +228,3 @@ tag1=$(cat ~/.cache/1.hlwm)
tag2=$(cat ~/.cache/2.hlwm) tag2=$(cat ~/.cache/2.hlwm)
hc load 1 "$tag1" hc load 1 "$tag1"
hc load 2 "$tag2" hc load 2 "$tag2"