Enable redshift-gtk at login

This commit is contained in:
Anthony Rose 2019-10-03 21:41:37 +01:00
parent 5751d8444d
commit 681625b060
3 changed files with 25 additions and 1 deletions

View file

@ -0,0 +1,16 @@
[Desktop Entry]
Version=1.0
Name=Redshift
Name[en_GB]=Redshift
GenericName=Color temperature adjustment
GenericName[en_GB]=Colour temperature adjustment
Comment=Color temperature adjustment tool
Comment[en_GB]=Colour temperature adjustment tool
Exec=redshift-gtk
Icon=redshift
Terminal=false
Type=Application
Categories=Utility;
StartupNotify=true
Hidden=false
X-GNOME-Autostart-enabled=true

View file

@ -15,3 +15,7 @@
file:
path: "{{ ansible_env.HOME }}/.local/share/applications"
state: directory
- name: Create user autostart directory
file:
path: "{{ ansible_env.HOME }}/.config/autostart"
state: directory

View file

@ -23,7 +23,11 @@
copy:
src: tmux.conf
dest: "{{ ansible_env.HOME }}/.tmux.conf"
- name: Copy redshift.con
- name: Copy redshift.conf
copy:
src: redshift.conf
dest: "{{ ansible_env.HOME }}/.config/redshift.conf"
- name: Auto start redshift-gtk
copy:
src: redshift-gtk.desktop
dest: "{{ ansible_env.HOME }}/.config/autostart/redshift-gtk.desktop"