mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 11:04:41 +02:00
replace redshift with gammastep for wayland compatibility
This commit is contained in:
parent
1da0be6800
commit
9618bbc847
5 changed files with 23 additions and 23 deletions
19
gammastep/hook.sh
Executable file
19
gammastep/hook.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
notify(){
|
||||
notify-send \
|
||||
--app-name=redshift \
|
||||
--urgency=low \
|
||||
--icon=redshift \
|
||||
--hint=int:transient:1 \
|
||||
"${1}" "${2}"
|
||||
}
|
||||
|
||||
case $1 in
|
||||
period-changed)
|
||||
notify "Gammastep" "Period changed to $3"
|
||||
;;
|
||||
*)
|
||||
notify "Gammastep" "Gammastep just fired an unknown hook with these options: '$*'. Ah, of course, this notification is just here, to troll you! :-P"
|
||||
;;
|
||||
esac
|
|
@ -13,7 +13,7 @@
|
|||
- ~/.config/i3status
|
||||
- ~/.config/i3status-rust
|
||||
- ~/.config/mako
|
||||
- ~/.config/redshift/hooks
|
||||
- ~/.config/gammastep/hooks
|
||||
- ~/.config/rofi
|
||||
- ~/.config/sway
|
||||
- ~/.config/swaylock
|
||||
|
@ -56,8 +56,8 @@
|
|||
~/.config/i3status-rust/config.toml: sway/i3status-rust.toml
|
||||
~/.local/bin/lock: sway/lock.sh
|
||||
~/.config/mako/config: mako/config
|
||||
~/.config/redshift.conf: redshift/redshift.conf
|
||||
~/.config/redshift/hooks/hook.sh: redshift/hook.sh
|
||||
~/.config/gammastep/config.ini: gammastep/gammastep.ini
|
||||
~/.config/gammastep/hooks/hook.sh: gammastep/hook.sh
|
||||
~/.config/rofi/config.rasi: rofi/config.rasi
|
||||
~/.config/rofi/arc-dark.rasi: rofi/arc-dark.rasi
|
||||
~/.config/rofi/system.sh: rofi/system.sh
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
notify(){
|
||||
notify-send \
|
||||
--app-name=redshift \
|
||||
--urgency=low \
|
||||
--icon=redshift \
|
||||
--hint=int:transient:1 \
|
||||
"${1}" "${2}"
|
||||
}
|
||||
|
||||
case $1 in
|
||||
period-changed)
|
||||
notify "Redshift" "Period changed to $3"
|
||||
;;
|
||||
*)
|
||||
notify "Redshift" "Redshift just fired an unknown hook with these options: '$*'. Ah, of course, this notification is just here, to troll you! :-P"
|
||||
;;
|
||||
esac
|
|
@ -39,7 +39,7 @@ exec syncthing -no-browser
|
|||
exec blueman-applet
|
||||
exec telegram-desktop -startintray
|
||||
exec /usr/lib/geoclue-2.0/demos/agent
|
||||
exec redshift-gtk -m wayland
|
||||
exec gammastep-indicator
|
||||
exec nextcloud
|
||||
exec com.gitlab.newsflash
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue