1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sway.git synced 2024-08-16 13:49:49 +02:00

Improve some waybar click stuff

This commit is contained in:
L3D 2024-07-31 16:52:52 +02:00
parent 9cda8c2719
commit 57bce3f8e1
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 8 additions and 4 deletions

View file

@ -22,7 +22,6 @@
- 'swayimg' - 'swayimg'
- 'wdisplays' - 'wdisplays'
- 'cmatrix' - 'cmatrix'
- 'pavucontrol'
- name: Ensure font-awesome is installed - name: Ensure font-awesome is installed
ansible.builtin.apt: ansible.builtin.apt:

View file

@ -7,6 +7,8 @@
with_items: with_items:
- 'waybar' - 'waybar'
- 'wlogout' - 'wlogout'
- 'qpwgraph'
- 'pavucontrol'
- name: Create waybar config folder - name: Create waybar config folder
become: true become: true

View file

@ -134,7 +134,8 @@
"format-linked": "{ifname} (No IP) ⛒", "format-linked": "{ifname} (No IP) ⛒",
"format-disconnected": "Disconnected ⚠", "format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}", "format-alt": "{ifname}: {ipaddr}/{cidr}",
"on-click": "gnome-control-center network" "on-click": "gnome-control-center network",
"on-click-right": "gnome-control-center wifi"
}, },
"pulseaudio": { "pulseaudio": {
// "scroll-step": 1, // %, can be a float // "scroll-step": 1, // %, can be a float
@ -153,14 +154,16 @@
"car": "", "car": "",
"default": ["", "", ""] "default": ["", "", ""]
}, },
"on-click": "pavucontrol" "on-click": "pavucontrol",
"on-click-right": "qpwgraph"
}, },
"custom/weather": { "custom/weather": {
"format": "{}", "format": "{}",
"tooltip": true, "tooltip": true,
"interval": 300, "interval": 300,
"exec": "{{ swayusr.home }}/.config/waybar/wttr.py", "exec": "{{ swayusr.home }}/.config/waybar/wttr.py",
"return-type": "json" "return-type": "json",
"on-click-middle": "gnome-weather"
}, },
"custom/power": { "custom/power": {
"format": "", "format": "",