mirror of
https://github.com/basecamp/omarchy.git
synced 2025-08-03 23:29:23 +00:00
Merge branch 'dev' into dev
This commit is contained in:
@ -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
|
@ -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 &
|
|
||||||
|
|
||||||
|
@ -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
|
|
||||||
|
@ -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 &
|
|
||||||
|
@ -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
4
bin/omarchy-restart-hypridle
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
pkill -x hypridle
|
||||||
|
uwsm app -- hypridle >/dev/null 2>&1 &
|
4
bin/omarchy-restart-walker
Executable file
4
bin/omarchy-restart-walker
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
pkill walker
|
||||||
|
setsid uwsm app -- walker --gapplication-service &
|
4
bin/omarchy-restart-xcompose
Executable file
4
bin/omarchy-restart-xcompose
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
pkill fcitx5
|
||||||
|
uwsm app -- fcitx5 >/dev/null 2>&1 &
|
@ -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 &
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user