mirror of
https://github.com/roles-ansible/ansible_role_sway.git
synced 2024-08-16 13:49:49 +02:00
Merge pull request #2 from roles-ansible/kkup
Improve some waybar click stuff
This commit is contained in:
commit
bc0e3c369a
3 changed files with 8 additions and 4 deletions
|
@ -22,7 +22,6 @@
|
|||
- 'swayimg'
|
||||
- 'wdisplays'
|
||||
- 'cmatrix'
|
||||
- 'pavucontrol'
|
||||
|
||||
- name: Ensure font-awesome is installed
|
||||
ansible.builtin.apt:
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
with_items:
|
||||
- 'waybar'
|
||||
- 'wlogout'
|
||||
- 'qpwgraph'
|
||||
- 'pavucontrol'
|
||||
|
||||
- name: Create waybar config folder
|
||||
become: true
|
||||
|
|
|
@ -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": "",
|
||||
|
|
Loading…
Reference in a new issue