Add script to reset the MATE Clock
This commit is contained in:
parent
f184cee395
commit
edfdd08602
2 changed files with 15 additions and 0 deletions
10
roles/home-gui/files/reset-mate-clock.sh
Normal file
10
roles/home-gui/files/reset-mate-clock.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
dconf load /org/mate/panel/objects/clock/prefs/ << __EOF__
|
||||
[/]
|
||||
show-temperature=false
|
||||
expand-locations=true
|
||||
format='24-hour'
|
||||
cities=['<location name="UTC" city="" timezone="GMT" latitude="-0.000000" longitude="-0.000000" code="-" current="false"/>', '<location name="New York" city="" timezone="America/New_York" latitude="-0.000000" longitude="-0.000000" code="-" current="false"/>', '<location name="Los Angeles" city="" timezone="America/Los_Angeles" latitude="-0.000000" longitude="-0.000000" code="-" current="false"/>', '<location name="London" city="" timezone="Europe/London" latitude="-0.000000" longitude="-0.000000" code="-" current="false"/>']
|
||||
custom-format=''
|
||||
show-weather=false
|
||||
__EOF__
|
|
@ -10,3 +10,8 @@
|
|||
vars:
|
||||
prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}"
|
||||
esr: "{{ '-esr' if ansible_distribution == 'Debian' else '' }}"
|
||||
- name: Copy MATE Clock reset script
|
||||
copy:
|
||||
src: reset-mate-clock.sh
|
||||
dest: "{{ ansible_env.HOME }}/bin/reset-mate-clock"
|
||||
mode: '0755'
|
||||
|
|
Loading…
Reference in a new issue