Enable redshift-gtk at login
This commit is contained in:
parent
5751d8444d
commit
681625b060
3 changed files with 25 additions and 1 deletions
16
roles/home/files/redshift-gtk.desktop
Normal file
16
roles/home/files/redshift-gtk.desktop
Normal 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
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue