mirror of
https://github.com/roles-ansible/ansible_role_i3wm.git
synced 2024-08-16 10:09:53 +02:00
Set wlsunset time
This commit is contained in:
parent
c3c6c620d1
commit
ded647888f
3 changed files with 6 additions and 1 deletions
|
@ -22,7 +22,10 @@ sway__waybar_modules_left: ["sway/workspaces", "sway/mode", "sway/scratchpad"]
|
|||
sway__waybar_modules_center: ["sway/window"]
|
||||
sway__waybar_modules_right: ["idle_inhibitor", "custom/weather", "pulseaudio", "network", "cpu", "memory", "disk", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "clock", "tray"]
|
||||
sway__waybar_font_size: '13px'
|
||||
sway__waybar_light_up: 'light -A 1'
|
||||
sway__waybar_light_down: 'light -U 1'
|
||||
sway__wlsunset: true
|
||||
sway__wlsunset_params: '-l 49 -L 8.4'
|
||||
|
||||
sway__keybindings:
|
||||
- keybinding:
|
||||
|
|
|
@ -258,7 +258,7 @@ bar {
|
|||
}
|
||||
}
|
||||
{% endif %}
|
||||
exec_always --no-startup-id exec wlsunset
|
||||
exec_always --no-startup-id exec wlsunset {{ sway__wlsunset_params }}
|
||||
{% if sway__wlsunset | bool %}
|
||||
|
||||
{% endif %}
|
||||
|
|
|
@ -106,6 +106,8 @@
|
|||
"backlight": {
|
||||
// "device": "acpi_video1",
|
||||
"format": "{percent}% 🖵",
|
||||
"on-scroll-up": "{{ sway__waybar_light_up }}",
|
||||
"on-scroll-down": "{{ sway__waybar_light_down }}"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
|
|
Loading…
Reference in a new issue