From 22688c057ae7728b67258279102572cdabc78304 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Sun, 31 Dec 2023 19:16:01 -0800 Subject: [PATCH] :wrench: Updated configs for river and foot --- .config/foot/bfoot.ini | 1 + .config/foot/foot.ini | 1 + .config/river/init | 37 +++++++++++++++++++++++-------------- 3 files changed, 25 insertions(+), 14 deletions(-) diff --git a/.config/foot/bfoot.ini b/.config/foot/bfoot.ini index f222e202..3564b14c 100644 --- a/.config/foot/bfoot.ini +++ b/.config/foot/bfoot.ini @@ -24,6 +24,7 @@ font=Source Code Pro:size=13.5 # initial-window-size-pixels=700x500 # Or, # initial-window-size-chars= +initial-window-size-chars=150x41 # initial-window-mode=windowed # pad=0x0 # optionally append 'center' # resize-delay-ms=100 diff --git a/.config/foot/foot.ini b/.config/foot/foot.ini index f091939f..e5659894 100644 --- a/.config/foot/foot.ini +++ b/.config/foot/foot.ini @@ -24,6 +24,7 @@ font=monospace:size=13.5 # initial-window-size-pixels=700x500 # Or, # initial-window-size-chars= +initial-window-size-chars=150x36 # initial-window-mode=windowed # pad=0x0 # optionally append 'center' # resize-delay-ms=100 diff --git a/.config/river/init b/.config/river/init index ad11292f..88b9694d 100755 --- a/.config/river/init +++ b/.config/river/init @@ -19,14 +19,15 @@ riverctl map normal Super D spawn dmenu-wl_run -i # Super+F to start librewolf riverctl map normal Super F spawn librewolf + # Super+B to start btop riverctl map normal Super B spawn "foot --config='/home/brian/.config/foot/bfoot.ini' btop" # Super+Shift+Q to close the focused view riverctl map normal Super+Shift Q close -# Super+Shift+E to exit river -riverctl map normal Super+Shift E exit +# Super+Shift+Escape to exit river +riverctl map normal Super+Shift Escape exit # Super+J and Super+K to focus the next/previous view in the layout stack riverctl map normal Super J focus-view next @@ -106,7 +107,7 @@ riverctl map normal Super 0 set-focused-tags $all_tags riverctl map normal Super+Shift 0 set-view-tags $all_tags # Super+Space to toggle float -riverctl map normal Super Space toggle-float +riverctl map normal Super O toggle-float # Super+Shift+F to toggle fullscreen riverctl map normal Super+Shift F toggle-fullscreen @@ -150,9 +151,18 @@ for mode in normal locked; do done # Set background and border color -riverctl background-color 0x002b36 -riverctl border-color-focused 0x93a1a1 -riverctl border-color-unfocused 0x586e75 +# riverctl background-color 0x002b36 +# riverctl border-color-focused 0x93a1a1 +riverctl border-color-focused 0x2c77ac +# riverctl border-color-unfocused 0x586e75 +riverctl border-color-unfocused 0x444444 +riverctl border-width 1 + +# Customize cursor +# NOTE: Still troubleshooting +# riverctl hide-cursor when-typing enabled +riverctl xcursor-theme Adwaita +gsettings set org.gnome.desktop.interface cursor-theme Adwaita # Set keyboard repeat rate riverctl set-repeat 50 300 @@ -166,17 +176,16 @@ riverctl rule-add -app-id "bar" csd # Set the default layout generator to be rivertile and start it. # River will send the process group of the init executable SIGTERM on exit. riverctl default-layout rivertile -rivertile -view-padding 6 -outer-padding 6 & +rivertile -view-padding 3 -outer-padding 3 -main-ratio 0.5 & # Custom apps -# Start pipewire -/usr/bin/pipewire & -/usr/bin/pipewire-pulse & -/usr/bin/wireplumber & -# Set Background Image +## Set Background Image swaybg --image /home/brian/Pictures/leaves.jpg --mode fill & # Start espanso (requires wayland version) # espanso start --unmanaged & # Start btop from foot terminal -# NOTE: currently troubleshooting -riverctl spawn "foot --config='/home/brian/.config/foot/bfoot.ini' btop" +riverctl spawn "foot --config='/home/brian/.config/foot/bfoot.ini' btop" & +# Start pipewire +/usr/bin/pipewire & +/usr/bin/pipewire-pulse & +/usr/bin/wireplumber &