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

View File

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