bunch of tweaks: switch to bemenu, dvorak, added some utilities

This commit is contained in:
William Ball 2025-05-15 10:38:32 -07:00
parent df7d8de4c4
commit bdec630ca7
Signed by: wball
GPG key ID: B8682D8137B70765

View file

@ -4,7 +4,7 @@
term="foot"
term_client="footclient"
term_float="foot --app-id=float -w 1120x700"
browser="librewolf"
browser="qutebrowser"
email="thunderbird"
emacs="emacsclient --create-frame --alternate-editor='emacs'"
mod=Super
@ -17,13 +17,17 @@ rm -f $wobsock && mkfifo $wobsock && tail -f $wobsock | wob &
# Launch things
riverctl map normal $mod Return spawn $term_client
riverctl map normal $mod+Shift Return spawn $term
riverctl map normal $mod Semicolon spawn fuzzel
riverctl map normal $mod R span "bemenu-run -p launch"
riverctl map normal $mod Semicolon spawn "bemenu-run -p launch"
riverctl map normal $mod+Shift P spawn "passmenu -p password"
riverctl map normal $mod BracketRight spawn "$browser"
riverctl map normal $mod T spawn "$email"
riverctl map normal $mod Z spawn "$books"
riverctl map normal $mod Y spawn "$papers"
riverctl map normal $mod E spawn "$emacs"
riverctl map normal $mod+Control O spawn "swaylock"
riverctl map normal $mod B spawn "bluetoothctl connect 88:C9:E8:D7:60:85"
riverctl map normal $mod+Shift B spawn "bluetoothctl disconnect 88:C9:E8:D7:60:85"
# Close windows & exit wm
riverctl map normal $mod+Shift C close
@ -129,7 +133,8 @@ riverctl border-width 2
# options
riverctl set-repeat 50 300
riverctl keyboard-layout -options "altwin:swap_lalt_lwin" us
# riverctl keyboard-layout -options "altwin:swap_lalt_lwin" us
riverctl keyboard-layout -options "grp:alt_space_toggle" -variant ,dvorak us,us
riverctl focus-follows-cursor normal
riverctl hide-cursor timeout 10000
@ -184,6 +189,9 @@ blueman-applet &
# foot server
foot --server & # TODO: figure out systemd service
# emacs daemon
emacs --daemon
# pianobar
riverctl map normal $mod+Shift S spawn '~/.config/pianobar/change_station.sh'
riverctl map normal $mod P spawn 'echo "p" > ~/.config/pianobar/ctl'