I got a little crazy here. a lot of laptop poop
This commit is contained in:
parent
263d10c080
commit
fab3b36dec
47 changed files with 3726 additions and 189 deletions
51
river/init
51
river/init
|
@ -14,9 +14,10 @@ mod="Mod4"
|
|||
riverctl map normal $mod Return spawn alacritty
|
||||
riverctl map normal $mod E spawn "emacsclient -c -a 'emacs'"
|
||||
riverctl map normal $mod B spawn qutebrowser
|
||||
riverctl map normal $mod+Mod1 space spawn "wofi --show drun"
|
||||
riverctl map normal $mod space spawn "wofi --show drun"
|
||||
riverctl map normal $mod Menu spawn "wofi --show run"
|
||||
riverctl map normal $mod P spawn rofi-rbw
|
||||
riverctl map normal $mod P spawn "wlrofi-rbw"
|
||||
riverctl map normal $mod W spawn "wofi-window"
|
||||
|
||||
|
||||
riverctl map normal $mod+Control M spawn "makoctl dismiss -a"
|
||||
|
@ -105,7 +106,7 @@ riverctl map normal $mod 0 set-focused-tags $all_tags
|
|||
riverctl map normal $mod+Shift 0 set-view-tags $all_tags
|
||||
|
||||
# Mod+Space to toggle float
|
||||
riverctl map normal $mod Space toggle-float
|
||||
riverctl map normal $mod+Mod1 Space toggle-float
|
||||
|
||||
# Mod+F to toggle fullscreen
|
||||
riverctl map normal $mod F toggle-fullscreen
|
||||
|
@ -148,8 +149,8 @@ do
|
|||
riverctl map $mode None XF86AudioNext spawn playerctl next
|
||||
|
||||
# Control screen backlight brighness with light (https://github.com/haikarainen/light)
|
||||
riverctl map $mode None XF86MonBrightnessUp spawn light -A 5
|
||||
riverctl map $mode None XF86MonBrightnessDown spawn light -U 5
|
||||
riverctl map $mode None XF86MonBrightnessUp spawn brightnessctl set +5%
|
||||
riverctl map $mode None XF86MonBrightnessDown spawn brightnessctl set 5%-
|
||||
done
|
||||
|
||||
# Set repeat rate
|
||||
|
@ -166,7 +167,7 @@ riverctl csd-filter-add "gedit"
|
|||
# riverctl csd-filter-add "emacs"
|
||||
|
||||
# apps to hide decorations
|
||||
# riverctl csd-filter-remove "emacs"
|
||||
riverctl csd-filter-remove "emacs"
|
||||
|
||||
# Set opacity and fade effect
|
||||
# riverctl opacity 0.95 0.45 0.0 0.1 20
|
||||
|
@ -175,15 +176,16 @@ riverctl csd-filter-add "gedit"
|
|||
riverctl xcursor-theme breeze-snow
|
||||
|
||||
#set the decos
|
||||
riverctl border-width 1
|
||||
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
|
||||
riverctl input 2362:628:PIXA3854:00_093A:0274_Touchpad tap enabled
|
||||
riverctl input 2362:628:PIXA3854:00_093A:0274_Touchpad natural-scroll enabled
|
||||
riverctl input 2362:628:PIXA3854:00_093A:0274_Touchpad pointer-accel 0.5
|
||||
|
||||
# Set layout
|
||||
wlr-randr --output eDP-1 --pos 0,0 --scale 2
|
||||
# wlr-randr --output eDP-1 --pos 0,0 --scale 2
|
||||
riverctl spawn kanshi
|
||||
|
||||
riverctl spawn 'nextcloud --background'
|
||||
riverctl spawn 'emacs --daemon'
|
||||
|
@ -192,26 +194,25 @@ riverctl spawn rbw-agent
|
|||
|
||||
# Turn on Waybar
|
||||
riverctl spawn 'export XDG_CURRENT_DESKTOP="Unity"'
|
||||
riverctl spawn 'waybar'
|
||||
riverctl spawn waybar
|
||||
riverctl spawn 'swaybg -i /usr/share/wallpapers/Flow/contents/images/5120x2880.jpg -m fill'
|
||||
|
||||
#rivertile
|
||||
riverctl spawn rivertile
|
||||
riverctl output-layout rivertile
|
||||
|
||||
# Use kile as my layout generator allows me to create really unique layouts
|
||||
# with an s-expression syntax
|
||||
riverctl spawn kile
|
||||
riverctl default-layout kile
|
||||
# riverctl spawn kile
|
||||
# riverctl default-layout kile
|
||||
# riverctl output-layout kile
|
||||
|
||||
read -r -d '' DECK <<EOM
|
||||
( { h: ( { v: full deck } 1 0.6 0 ) } 1 0.6 1 )
|
||||
EOM
|
||||
# DECK='( ( h: ( ( v: full deck ) 1 0.6 0 ) ) 1 0.6 1 )'
|
||||
# TEST='( (v: h h ) 1 0.6 0 )'
|
||||
|
||||
read -r -d '' TEST <<EOM
|
||||
( {v: h h } 1 0.6 0 )
|
||||
EOM
|
||||
|
||||
riverctl send-layout-cmd kile "all $TEST"
|
||||
riverctl send-layout-cmd kile "outer_padding 10"
|
||||
riverctl send-layout-cmd kile "view_padding 10"
|
||||
riverctl send-layout-cmd kile "smart_padding false"
|
||||
# riverctl send-layout-cmd kile 'all $TEST'
|
||||
# riverctl send-layout-cmd kile 'outer_padding 10'
|
||||
# riverctl send-layout-cmd kile 'view_padding 10'
|
||||
# riverctl send-layout-cmd kile 'smart_padding false'
|
||||
|
||||
riverctl attach-mode bottom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue