diff --git a/bin/omarchy-launch-screensaver b/bin/omarchy-launch-screensaver index 6b4dbff..8fc60df 100755 --- a/bin/omarchy-launch-screensaver +++ b/bin/omarchy-launch-screensaver @@ -1,6 +1,6 @@ #!/bin/bash -# exit early if screensave is already running +# Exit early if screensave is already running pgrep -f "alacritty --class Screensaver" && exit 0 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 \ -o 'colors.primary.background="#000000"' \ -o 'colors.cursor.cursor="#000000"' \ + -o 'font.size=18' \ -e ~/.local/share/omarchy/bin/omarchy-cmd-screensaver done -hyprctl dispatch focusmonitor $focused +hyprctl dispatch focusmonitor $focused \ No newline at end of file diff --git a/bin/omarchy-refresh-hypridle b/bin/omarchy-refresh-hypridle index 0e1600c..f555f0f 100755 --- a/bin/omarchy-refresh-hypridle +++ b/bin/omarchy-refresh-hypridle @@ -1,6 +1,4 @@ #!/bin/bash omarchy-refresh-config hypr/hypridle.conf -pkill -x hypridle -uwsm app -- hypridle >/dev/null 2>&1 & - +omarchy-restart-hypridle diff --git a/bin/omarchy-refresh-hyprlock b/bin/omarchy-refresh-hyprlock index 26c1314..e14915a 100755 --- a/bin/omarchy-refresh-hyprlock +++ b/bin/omarchy-refresh-hyprlock @@ -1,4 +1,4 @@ #!/bin/bash -# Overwrite local Hyprlock settings with the latest in Omarchy -omarchy-refresh-config hypr/hyprlock.conf \ No newline at end of file +omarchy-refresh-config hypr/hyprlock.conf + diff --git a/bin/omarchy-refresh-walker b/bin/omarchy-refresh-walker index e4e3853..aa7a021 100755 --- a/bin/omarchy-refresh-walker +++ b/bin/omarchy-refresh-walker @@ -1,6 +1,4 @@ #!/bin/bash omarchy-refresh-config walker/config.toml - -pkill walker -setsid uwsm app -- walker --gapplication-service & +omarchy-restart-walker diff --git a/bin/omarchy-refresh-waybar b/bin/omarchy-refresh-waybar index 7dfae19..3f6af49 100755 --- a/bin/omarchy-refresh-waybar +++ b/bin/omarchy-refresh-waybar @@ -2,6 +2,4 @@ omarchy-refresh-config waybar/config.jsonc omarchy-refresh-config waybar/style.css - -# Restart waybar omarchy-restart-waybar diff --git a/bin/omarchy-restart-hypridle b/bin/omarchy-restart-hypridle new file mode 100755 index 0000000..9342030 --- /dev/null +++ b/bin/omarchy-restart-hypridle @@ -0,0 +1,4 @@ +#!/bin/bash + +pkill -x hypridle +uwsm app -- hypridle >/dev/null 2>&1 & diff --git a/bin/omarchy-restart-walker b/bin/omarchy-restart-walker new file mode 100755 index 0000000..2d4aa4b --- /dev/null +++ b/bin/omarchy-restart-walker @@ -0,0 +1,4 @@ +#!/bin/bash + +pkill walker +setsid uwsm app -- walker --gapplication-service & diff --git a/bin/omarchy-restart-xcompose b/bin/omarchy-restart-xcompose new file mode 100755 index 0000000..a1b6cb4 --- /dev/null +++ b/bin/omarchy-restart-xcompose @@ -0,0 +1,4 @@ +#!/bin/bash + +pkill fcitx5 +uwsm app -- fcitx5 >/dev/null 2>&1 & diff --git a/default/bash/functions b/default/bash/functions index b1657c5..8061f71 100644 --- a/default/bash/functions +++ b/default/bash/functions @@ -65,9 +65,3 @@ web2app-remove() { rm "$DESKTOP_FILE" rm "$ICON_PATH" } - -# Ensure changes to ~/.XCompose are immediately available -refresh-xcompose() { - pkill fcitx5 - uwsm app -- fcitx5 >/dev/null 2>&1 & -}