mirror of
https://github.com/basecamp/omarchy.git
synced 2025-08-03 23:29:23 +00:00
Extract omarchy-refresh-hyprsunset
This commit is contained in:
4
bin/omarchy-refresh-hyprsunset
Executable file
4
bin/omarchy-refresh-hyprsunset
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
omarchy-refresh-config hypr/hyprsunset.conf
|
||||||
|
omarchy-restart-app hyprsunset
|
@ -1,7 +1,6 @@
|
|||||||
echo "Add hyprsunset blue light filter"
|
echo "Add hyprsunset blue light filter"
|
||||||
if ! command -v hyprsunset &>/dev/null; then
|
if ! command -v hyprsunset &>/dev/null; then
|
||||||
yay -S --noconfirm --needed hyprsunset
|
yay -S --noconfirm --needed hyprsunset
|
||||||
|
omarchy-refresh-hyprsunset
|
||||||
fi
|
fi
|
||||||
cp -r ~/.local/share/omarchy/config/hypr/hyprsunset.conf ~/.config/hypr/
|
|
||||||
pkill hyprsunset
|
|
||||||
setsid uwsm app -- hyprsunset &>/dev/null &
|
|
||||||
|
Reference in New Issue
Block a user