Merge branch 'dev' into dev

This commit is contained in:
David Heinemeier Hansson
2025-08-03 09:47:54 +02:00
committed by GitHub
9 changed files with 19 additions and 18 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# exit early if screensave is already running # Exit early if screensave is already running
pgrep -f "alacritty --class Screensaver" && exit 0 pgrep -f "alacritty --class Screensaver" && exit 0
focused=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true).name') focused=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true).name')
@ -11,7 +11,8 @@ for m in $(hyprctl monitors -j | jq -r '.[] | .name'); do
alacritty --class Screensaver --title Screensaver \ alacritty --class Screensaver --title Screensaver \
-o 'colors.primary.background="#000000"' \ -o 'colors.primary.background="#000000"' \
-o 'colors.cursor.cursor="#000000"' \ -o 'colors.cursor.cursor="#000000"' \
-o 'font.size=18' \
-e ~/.local/share/omarchy/bin/omarchy-cmd-screensaver -e ~/.local/share/omarchy/bin/omarchy-cmd-screensaver
done done
hyprctl dispatch focusmonitor $focused hyprctl dispatch focusmonitor $focused

View File

@ -1,6 +1,4 @@
#!/bin/bash #!/bin/bash
omarchy-refresh-config hypr/hypridle.conf omarchy-refresh-config hypr/hypridle.conf
pkill -x hypridle omarchy-restart-hypridle
uwsm app -- hypridle >/dev/null 2>&1 &

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
# Overwrite local Hyprlock settings with the latest in Omarchy omarchy-refresh-config hypr/hyprlock.conf
omarchy-refresh-config hypr/hyprlock.conf

View File

@ -1,6 +1,4 @@
#!/bin/bash #!/bin/bash
omarchy-refresh-config walker/config.toml omarchy-refresh-config walker/config.toml
omarchy-restart-walker
pkill walker
setsid uwsm app -- walker --gapplication-service &

View File

@ -2,6 +2,4 @@
omarchy-refresh-config waybar/config.jsonc omarchy-refresh-config waybar/config.jsonc
omarchy-refresh-config waybar/style.css omarchy-refresh-config waybar/style.css
# Restart waybar
omarchy-restart-waybar omarchy-restart-waybar

4
bin/omarchy-restart-hypridle Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
pkill -x hypridle
uwsm app -- hypridle >/dev/null 2>&1 &

4
bin/omarchy-restart-walker Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
pkill walker
setsid uwsm app -- walker --gapplication-service &

4
bin/omarchy-restart-xcompose Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
pkill fcitx5
uwsm app -- fcitx5 >/dev/null 2>&1 &

View File

@ -65,9 +65,3 @@ web2app-remove() {
rm "$DESKTOP_FILE" rm "$DESKTOP_FILE"
rm "$ICON_PATH" rm "$ICON_PATH"
} }
# Ensure changes to ~/.XCompose are immediately available
refresh-xcompose() {
pkill fcitx5
uwsm app -- fcitx5 >/dev/null 2>&1 &
}