diff options
| author | Craig Jennings <c@cjennings.net> | 2025-05-25 15:20:11 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-05-25 15:20:11 -0500 |
| commit | d8078fdba80409193d5ef717741077575a8353a7 (patch) | |
| tree | 208162a1e9409a6b214810bd492fd6cb619405e6 | |
| parent | a49dd319ebfa5e76a98a385a653002261701c286 (diff) | |
adding redshift and getting geoclue to work
| -rwxr-xr-x | archsetup | 2 | ||||
| -rwxr-xr-x | dotfiles/system/.local/bin/startdwm | 1 | ||||
| -rwxr-xr-x | scripts/redshift.sh | 18 |
3 files changed, 21 insertions, 0 deletions
@@ -527,6 +527,8 @@ desktop_environment() { pacman_install exfat-utils pacman_install lshw pacman_install ntfs-3g + pacman_install redshift + pacman_install libappindicator-gtk3 # required by some applets pacman_install sshfs pacman_install testdisk pacman_install tickrs diff --git a/dotfiles/system/.local/bin/startdwm b/dotfiles/system/.local/bin/startdwm index 2f2628d..c6aef7a 100755 --- a/dotfiles/system/.local/bin/startdwm +++ b/dotfiles/system/.local/bin/startdwm @@ -31,6 +31,7 @@ emacs --daemon & nitrogen --restore & nm-applet & blueman-applet & +redshift-gtk & battery_monitor & mpd & caffeine & diff --git a/scripts/redshift.sh b/scripts/redshift.sh new file mode 100755 index 0000000..1ecef7d --- /dev/null +++ b/scripts/redshift.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +# sudo pacman -S --noconfirm redshift libappindicator-gtk3 + +mkdir -p ~/.config/systemd/user/ +cat << EOF > ~/.config/systemd/user/geoclue-agent.service +[Unit] +Description=redshift needs to get a (geo)clue + +[Service] +ExecStart=/usr/lib/geoclue-2.0/demos/agent + +[Install] +WantedBy=default.target +EOF + +systemctl --user enable geoclue-agent.service +systemctl --user start geoclue-agent.service |
