And I could never get enough

This commit is contained in:
λmolinae 2025-05-25 14:38:46 -06:00
parent ae7aefa541
commit b88dc9011a
15 changed files with 159 additions and 50 deletions

View file

@ -1,9 +1,11 @@
[main]
dpi-aware=yes
icon-theme=Papirus-Dark
width=25
width=24
font=Inconsolata
line-height=18
lines=14
line-height=16
horizontal-pad=32
fields=name,generic,comment,categories,filename,keywords
terminal=footclient -e
prompt="> "

View file

@ -2,5 +2,6 @@
gtk-cursor-theme-name=macOS
gtk-cursor-theme-size=28
gtk-icon-theme-name=Papirus-Dark
gtk-font-name=Inconsolata 11
gtk-font-name=Inconsolata 12
gtk-application-prefer-dark-theme=true
gtk-dialogs-use-header=false

View file

@ -0,0 +1,22 @@
wallpaper="%%wallpaper%%"
background="%%background.hex%%"
foreground="%%foreground.hex%%"
curstor="%%cursor.hex%%"
border="%%border.hex%%"
color0="%%color0.hex%%"
color1="%%color1.hex%%"
color2="%%color2.hex%%"
color3="%%color3.hex%%"
color4="%%color4.hex%%"
color5="%%color5.hex%%"
color6="%%color6.hex%%"
color7="%%color7.hex%%"
color8="%%color8.hex%%"
color9="%%color9.hex%%"
color10="%%color10.hex%%"
color11="%%color11.hex%%"
color12="%%color12.hex%%"
color13="%%color13.hex%%"
color14="%%color14.hex%%"
color15="%%color15.hex%%"

View file

@ -0,0 +1,5 @@
static uint32_t colors[][3] = {
/* fg bg */
[SchemeNorm] = { 0x%%color15.hex%%ff, 0x%%color0.hex%%ff },
[SchemeSel] = { 0x%%color15.hex%%ff, 0x%%color2.hex%%ff },
};

View file

@ -1,11 +0,0 @@
[colors]
background=%%background.hex%%ff
prompt=%%foreground.hex%%ff
text=%%foreground.hex%%ff
placeholder=%%foreground.hex%%ff
input=%%foreground.hex%%ff
match=%%foreground.hex%%ff
selection=%%color1.hex%%ff
selection-text=%%background.hex%%ff
selection-match=%%foreground.hex%%ff
border=%%color1.hex%%ff

96
.config/river/init Executable file
View file

@ -0,0 +1,96 @@
#!/bin/sh
source $HOME/.cache/hellwal/colors-river
# Set background and border color
riverctl background-color "0x$background"
riverctl border-color-focused "0x$color1"
riverctl border-color-unfocused "0x$color2"
riverctl spawn "slstatus | dam"
riverctl spawn "wbg "$wallpaper""
riverctl spawn "foot --server"
riverctl spawn "swayidle"
riverctl spawn "mako"
riverctl focus-follows-cursor always
riverctl xcursor-theme macOS 28
riverctl keyboard-layout latam
riverctl input pointer-1739-0-Synaptics_TM3276-022 events disabled
# Define ModKey
mod="Super"
riverctl map normal $mod+Shift Return spawn footclient
riverctl map normal $mod E spawn "footclient --title lf lf"
riverctl map normal $mod S spawn "footclient --title Spotify spotify_player"
riverctl map normal $mod R spawn fuzzel
riverctl map normal $mod+Shift spawn librewolf
riverctl map normal $mod V spawn "footclient --title ncpamixer ncpamixer"
riverctl map normal $mod+Shift C spawn camera
riverctl map normal $mod L spawn swaylock
riverctl map normal $mod+Shift S spawn "aws -r"
riverctl map normal None Print spawn "aws -f"
riverctl map normal None Print+Shift spawn "recordscreen"
# Super+Q to close the focused view
riverctl map normal $mod Q close
riverctl map normal $mod+Shift Q spawn powermenu
riverctl map normal Super Return zoom
riverctl map-pointer normal $mod BTN_LEFT move-view
riverctl map-pointer normal $mod BTN_RIGHT resize-view
riverctl map-pointer normal $mod BTN_MIDDLE toggle-float
# River
riverctl default-attach-mode top
# Rivercarro
riverctl map normal $mod N send-layout-cmd rivercarro "main-location-cycle left,monocle"
for i in $(seq 1 9)
do
tags=$((1 << ($i - 1)))
riverctl map normal Super $i set-focused-tags $tags
riverctl map normal Super+Shift $i set-view-tags $tags
riverctl map normal Super+Control $i toggle-focused-tags $tags
riverctl map normal Super+Shift+Control $i toggle-view-tags $tags
done
all_tags=$(((1 << 32) - 1))
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
# Super+F to toggle fullscreen
riverctl map normal Super F toggle-fullscreen
for mode in normal locked
do
riverctl map normal None XF86AudioRaiseVolume spawn "wpctl set-volume -l 1.0 @DEFAULT_SINK@ 5%+ && pkill -RTMIN+2 slstatus"
riverctl map normal None XF86AudioLowerVolume spawn "wpctl set-volume -l 1.0 @DEFAULT_SINK@ 5%- && pkill -RTMIN+2 slstatus"
riverctl map normal None XF86AudioMute spawn "wpctl set-mute @DEFAULT_SINK@ toggle && pkill -RTMIN+2 slstatus"
riverctl map normal None XF86MonBrightnessUp spawn "brillo -a -u 125000 -q -A 5"
riverctl map normal None XF86MonBrightnessDown spawn "brillo -a -u 125000 -q -U 5"
done
# Set keyboard repeat rate
riverctl set-repeat 25 600
# Make all views with an app-id that starts with "float" and title "foo" start floating.
riverctl rule-add -app-id "mpv" -title "webcam" float
# Make all views with app-id "bar" and any title use client-side decorations
riverctl rule-add -app-id "librewolf" ssd
riverctl rule-add -app-id "firefox" ssd
# River will send the process group of the init executable SIGTERM on exit.
riverctl default-layout rivercarro
rivercarro -outer-gaps 4 -inner-gaps 4 -per-tag -no-smart-gaps &

View file

@ -74,8 +74,8 @@ preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt.
alias sudo='doas'
alias neofetch='fastfetch'
alias ls='ls -lah'
alias vim='nvim'
alias wal='hellwal -q'
alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
# Commands
fastfetch