From 913089e4afe29475d0dc4015b4b21a5145f8dca9 Mon Sep 17 00:00:00 2001 From: Nate Buttke Date: Wed, 26 Jun 2024 08:24:25 -0700 Subject: update --- river/.config/river/init | 46 +++++++++++++++++++++++++++++++--------------- 1 file changed, 31 insertions(+), 15 deletions(-) (limited to 'river') diff --git a/river/.config/river/init b/river/.config/river/init index c6b549e..f38a0a1 100755 --- a/river/.config/river/init +++ b/river/.config/river/init @@ -3,14 +3,16 @@ # based on default config. # See the river(1), riverctl(1), and rivertile(1) man pages for complete # documentation. -riverctl spawn "kanshi" # Use the "logo" key as the primary modifier mod="Mod4" -#natural scrolling for trackpad. you can find device name with $riverctl list-inputs -riverctl input 1739:0:Synaptics_TM3276-022 natural-scroll enabled -riverctl input 1739:0:Synaptics_TM3276-022 scroll-method two-finger +#natural scrolling for trackpad. you can find device name with $ riverctl list-inputs +riverctl input pointer-1739-0-Synaptics_TM3276-022 scroll-method two-finger +riverctl input pointer-1739-0-Synaptics_TM3276-022 natural-scroll enabled + +#trackpoint +riverctl input pointer-2-10-TPPS/2_IBM_TrackPoint pointer-accel 0.3 # Mod+Return to start an instance of alacritty riverctl map normal $mod Return spawn alacritty @@ -28,14 +30,15 @@ riverctl map normal $mod Home spawn lock riverctl map normal $mod+Shift Home spawn locks #suspend after locking # riverctl map normal $mod Space spawn 'bemenu-run --fn Terminus' -# riverctl map normal $mod Space spawn 'wofi --show=run' -riverctl map normal $mod Space spawn 'rofi -show run' +#riverctl map normal $mod Space spawn 'rofi -normal-window -show run -dpi 1' +riverctl map normal $mod Space spawn 'rofi -show run -dpi 1' # Mod+Q to close the focused view riverctl map normal $mod Q close # Mod+Shift+C to exit river riverctl map normal $mod+Shift C exit +riverctl spawn kanshi # Mod+J and Mod+K to focus the next/previous view in the layout stack riverctl map normal $mod J focus-view next @@ -163,34 +166,47 @@ riverctl set-cursor-warp on-output-change # Set background and border color (defaults) # riverctl background-color 0x002b36 0x224488 riverctl background-color 0x151515 -riverctl border-color-focused 0xcc3333 #0x93a1a1 +riverctl border-color-focused 0x93a1a1 #0xcc3333 # #0xFF91E5 riverctl border-color-unfocused 0x586e75 # Set repeat rate riverctl set-repeat 50 300 # Set app-ids of views which should float -riverctl float-filter-add app-id "org.keepassxc.KeePassXC" -riverctl float-filter-add app-id "Signal" -riverctl float-filter-add app-id "Rofi" -riverctl float-filter-add app-id "Sharing Indicator" +# riverctl float-filter-add app-id "org.keepassxc.KeePassXC" +# riverctl float-filter-add app-id "Signal" +# riverctl float-filter-add app-id "Rofi" +# riverctl float-filter-add app-id "Sharing Indicator" + +riverctl rule-add -app-id "org.keepassxc.KeePassXC" float +riverctl rule-add -app-id "Signal" float +riverctl rule-add -app-id "Rofi" float +riverctl rule-add -app-id "Sharing Indicator" float # Set app-ids of views which should use client side decorations # e.g. riverctl csd-filter-add "gedit" -# riverctl spawn "swaybg -i ~/media/pix/berry.jpg -m center -o '*'" - riverctl spawn "swaybg -i ~/media/pix/bg/Punica_granatum_Dorothea_Eliza_Smith.jpg -m center" +riverctl spawn "swaybg -i ~/media/pix/wallpaper/snow-pounce.jpg -m mirror_fit" +## OLD: +#riverctl spawn "swaybg -i ~/media/pix/internet/100k_camry.jpeg -m center -o '*'" +#riverctl spawn "swaybg -i ~/media/pix/bg/morning_in_the_pasture_edward.jpg -m fill" - riverctl spawn "sunset" +riverctl spawn "sunset" #waybar on startup riverctl spawn waybar #mako on startup riverctl spawn mako - +riverctl spawn "bluetoothctl -- power off" # Set and exec into the default layout generator, rivertile. # River will send the process group of the init executable SIGTERM on exit. +exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK & +exec systemctl --user import-environment & + +# RULES +riverctl rule-add ssd # needed this to make firefox border right. + riverctl default-layout rivertile exec rivertile -outer-padding 0 -view-padding 0 -- cgit v1.2.3