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'
- 'wdisplays'
- 'cmatrix'
- 'pavucontrol'
- name: Ensure font-awesome is installed
ansible.builtin.apt:

View file

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

View file

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