mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Compare commits
5 Commits
update-boo
...
6e664c84a9
Author | SHA1 | Date | |
---|---|---|---|
6e664c84a9 | |||
44925a6085 | |||
a0c90fb3db | |||
008fab9df3 | |||
ffd136cdc6 |
10
bin/omarchy-cmd-screensaver
Executable file
10
bin/omarchy-cmd-screensaver
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
trap "exit" SIGINT
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
effect=$(tte 2>&1 | grep -oP '{\K[^}]+' | tr ',' ' ' | tr ' ' '\n' | sed -n '/^beams$/,$p' | sort -u | shuf -n1)
|
||||||
|
tte -i ~/.local/share/omarchy/logo.txt \
|
||||||
|
--frame-rate 240 --canvas-width 0 --canvas-height 0 --anchor-canvas c --anchor-text c \
|
||||||
|
"$effect"
|
||||||
|
done
|
5
bin/omarchy-launch-screensaver
Executable file
5
bin/omarchy-launch-screensaver
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
pkill -f "alacritty --class Screensaver" ||
|
||||||
|
alacritty --class Screensaver --title Screensaver -o 'colors.primary.background="#000000"' \
|
||||||
|
-e ~/.local/share/omarchy/bin/omarchy-cmd-screensaver
|
@ -32,5 +32,8 @@ bind = CTRL, PRINT, exec, ~/.local/share/omarchy/bin/omarchy-cmd-screenshot outp
|
|||||||
bind = ALT, PRINT, exec, ~/.local/share/omarchy/bin/omarchy-cmd-screenrecord
|
bind = ALT, PRINT, exec, ~/.local/share/omarchy/bin/omarchy-cmd-screenrecord
|
||||||
bind = CTRL ALT, PRINT, exec, ~/.local/share/omarchy/bin/omarchy-cmd-screenrecord output
|
bind = CTRL ALT, PRINT, exec, ~/.local/share/omarchy/bin/omarchy-cmd-screenrecord output
|
||||||
|
|
||||||
|
# Screensaver
|
||||||
|
bind = SUPER ALT, SPACE, exec, ~/.local/share/omarchy/bin/omarchy-launch-screensaver
|
||||||
|
|
||||||
# Color picker
|
# Color picker
|
||||||
bind = SUPER, PRINT, exec, hyprpicker -a
|
bind = SUPER, PRINT, exec, hyprpicker -a
|
||||||
|
@ -20,6 +20,9 @@ windowrule = float, class:steam
|
|||||||
windowrule = center, class:steam
|
windowrule = center, class:steam
|
||||||
windowrule = fullscreen, class:^(com.libretro.RetroArch)$
|
windowrule = fullscreen, class:^(com.libretro.RetroArch)$
|
||||||
|
|
||||||
|
# Fullscreen screensaver
|
||||||
|
windowrule = fullscreen, class:Screensaver
|
||||||
|
|
||||||
# Just dash of opacity
|
# Just dash of opacity
|
||||||
windowrule = opacity 0.97 0.9, class:.*
|
windowrule = opacity 0.97 0.9, class:.*
|
||||||
windowrule = opacity 1 0.97, class:^(Chromium|chromium|google-chrome|google-chrome-unstable)$
|
windowrule = opacity 1 0.97, class:^(Chromium|chromium|google-chrome|google-chrome-unstable)$
|
||||||
|
Reference in New Issue
Block a user