feat(waybar): add lock

This commit is contained in:
Price Hiller 2022-08-08 17:15:44 -05:00
parent 866e541a92
commit 4cd354818b
2 changed files with 5 additions and 13 deletions

View File

@ -18,7 +18,7 @@
"custom/weather",
"network",
"clock",
"custom/offswitch"
"custom/lock"
],
"custom/weather": {
"tooltip": false,
@ -56,11 +56,11 @@
"tooltip": false,
"min-length": 18
},
"custom/offswitch": {
"custom/lock": {
"tooltip": false,
"format": "",
"format": "",
"interval": "once",
"on-click": "systemctl poweroff"
"on-click": "swaylock"
},
"network": {
"interval": 10,
@ -156,14 +156,6 @@
"sway/workspaces": {
"tooltip": false,
"disable-scroll": true,
"persistent_workspaces": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
"6": []
}
}
}
]

View File

@ -104,7 +104,7 @@
#network,
#custom-weather,
#clock,
#custom-offswitch {
#custom-lock {
background: @sumiInk0;
border-top: 2px solid @oniViolet;
border-right: 2px solid @oniViolet;