This commit is contained in:
sudacode 2025-03-12 04:21:44 -07:00
parent 5f8d3f0933
commit a0517b6297
Signed by: sudacode
SSH Key Fingerprint: SHA256:lT5C2bB398DcX6daCF/gYFNSTK3y+Du3oTGUnYzfTEw
3 changed files with 10 additions and 1 deletions

View File

@ -7,6 +7,7 @@ CURRENT_WALL=$(hyprctl hyprpaper listloaded)
WALLPAPER=$(find "$WALLPAPER_DIR" -type f ! -name "$(basename "$CURRENT_WALL")" ! -name "*.json" | shuf -n 1)
echo "Changing wallpaper to $WALLPAPER"
echo "$WALLPAPER" > "$HOME/.wallpaper"
# Apply the selected wallpaper
hyprctl hyprpaper reload ,"$WALLPAPER"

View File

@ -45,6 +45,8 @@ $notification_daemon = uwsm app -- swaync
# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:
exec-once = uwsm app -sb -- hyprpm update -nn
exec-once = uwsm app -sb -- hyprpm reload -nn
exec-once = $notification_daemon
exec-once = $terminal
exec-once = uwsm app -sb -S both -t scope -- hyprpm update -nn
@ -255,8 +257,10 @@ windowrulev2 = opacity 0.77, class:.* fullscreen:0
# windowrulev2 = opacity 1, class:.* fullscreen:0
windowrulev2 = opacity 1, class:mpv fullscreen:0
windowrulev2 = opacity 1, class:anki fullscreen:0
windowrulev2 = opacity 1, class:Thorium-browser title:.*asbplayer fullscreen:0
windowrulev2 = opacity 1, class:Thorium-browser title:.*asbplayer
windowrulev2 = tile, class:Thorium-browser title:*asbplayer
windowrulev2 = opacity 1, class:remote-viewer
windowrulev2 = opacity 1, class:com.obsproject.Studio
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$

View File

@ -100,9 +100,13 @@ bind = SUPER, m, exec, ~/.local/bin/mpv-add.sh
bind = SUPER SHIFT, s, exec, ~/.local/bin/screenshot.sh
bind = ,code:107, exec, ~/.local/bin/screenshot.sh
bind = SUPER SHIFT, o, exec, ~/.local/bin/ocr.sh
# change wallpaper
bind = $mainMod CTRL, n, exec, ~/.local/bin/change-wallpaper.sh
# toggle focus between current and last focused window
bind = ALT, Tab, focuscurrentorlast
bind = CTRL, F9, pass, class:^(com\.obsproject\.Studio)$
bind = CTRL, F10, pass, class:^(com\.obsproject\.Studio)$