Hopefully more wayland changes that don't break awesome

This commit is contained in:
Chris Cochrun 2021-08-14 10:08:30 -05:00
parent 7fdc04e4d4
commit eaf99e26b2
21 changed files with 232 additions and 59 deletions

View file

@ -12,10 +12,14 @@ mod="Mod4"
# Mod+Shift+Return to start an instance of foot (https://codeberg.org/dnkl/foot)
riverctl map normal $mod Return spawn alacritty
riverctl map normal $mod E spawn emacsclient -c -a 'emacs'
riverctl map normal $mod E spawn "emacsclient -c -a 'emacs'"
riverctl map normal $mod B spawn qutebrowser
riverctl map normal None Menu spawn rofi -no-lazy-grab -show drun -modi drun
riverctl map normal $mod Menu spawn rofi -no-lazy-grab -show run -modi run
riverctl map normal None Menu spawn "rofi -no-lazy-grab -show drun -modi drun"
riverctl map normal $mod Menu spawn "rofi -no-lazy-grab -show run -modi run"
riverctl map normal $mod P spawn rofipass
riverctl map normal $mod+Control M spawn "makoctl dismiss -a"
# Mod+Q to close the focused view
riverctl map normal $mod C close
@ -152,26 +156,62 @@ done
riverctl set-repeat 180 200
# Set app-ids of views which should float
riverctl float-filter-add "float"
# riverctl float-filter-add "float"
riverctl float-filter-add "popup"
riverctl float-filter-add "dolphin"
riverctl float-filter-add "mpv"
# Set app-ids of views which should use client side decorations
riverctl csd-filter-add "gedit"
# riverctl csd-filter-add "emacs"
# apps to hide decorations
# riverctl csd-filter-remove "emacs"
# Set opacity and fade effect
riverctl opacity 0.8 0.45 0.0 0.1 20
riverctl opacity 0.95 0.45 0.0 0.1 20
# Set cursor theme
riverctl xcursor-theme breeze-snow
#set the decos
riverctl border-width 0
# set pointer speed
riverctl input 1118:1997:Microsoft_Surface_Keyboard_Touchpad tap enabled
riverctl input 1118:1997:Microsoft_Surface_Keyboard_Touchpad natural-scroll enabled
riverctl input 1118:1997:Microsoft_Surface_Keyboard_Touchpad pointer-accel 0.5
# Set layout
wlr-randr --output eDP-1 --pos 0,0 --scale 2
# Turn on Waybar
exec waybar
riverctl spawn 'nextcloud --background'
riverctl spawn 'emacs --daemon'
riverctl spawn mako
riverctl spawn rbw-agent
# Set and exec into the default layout generator, rivertile.
# River will send the process group of the init executable SIGTERM on exit.
riverctl default-layout rivertile
exec rivertile
# Turn on Waybar
riverctl spawn waybar
riverctl spawn 'swaybg -i /usr/share/wallpapers/Flow/contents/images/5120x2880.jpg -m fill'
riverctl spawn 'export QT_QPA_PLATFORMTHEME="qt5ct"'
# Use kile as my layout generator allows me to create really unique layouts
# with an s-expression syntax
riverctl spawn kile
riverctl output-layout kile
read -r -d '' DECK <<EOM
( { h: ( { v: full deck } 1 0.6 0 ) } 1 0.6 1 )
EOM
read -r -d '' TEST <<EOM
( {v: deck deck } 1 0.6 0 )
EOM
riverctl send-layout-cmd kile "all $TEST"
riverctl send-layout-cmd kile "outer_padding 20"
riverctl send-layout-cmd kile "view_padding 10"
riverctl send-layout-cmd kile "smart_padding true"
riverctl attach-mode bottom