1
0
Fork 0
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:
L3D 2024-07-23 22:23:11 +02:00
parent c3c6c620d1
commit ded647888f
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 6 additions and 1 deletions

View file

@ -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:

View file

@ -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 %}

View file

@ -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": {