Browse Source

added power to waybar

master
Josh Fabean 3 years ago
parent
commit
272f4da363
2 changed files with 12 additions and 1 deletions
  1. +8
    -1
      .config/waybar/config
  2. +4
    -0
      .config/waybar/style.css

+ 8
- 1
.config/waybar/config View File

@ -25,7 +25,8 @@
"battery",
"battery#bat2",
"clock",
"tray"
"tray",
"custom/power"
],
// Modules configuration
// "sway/workspaces": {
@ -210,5 +211,11 @@
"custom/playerctl": {
"format": "{}",
"exec": ""
},
"custom/power": {
"format": "⏻",
"on-click": "nwgbar -o 0.2",
"escape": true,
"tooltip": false
}
}

+ 4
- 0
.config/waybar/style.css View File

@ -143,6 +143,10 @@ label:focus {
#custom-media.custom-vlc {
}
#custom-power {
padding-right: 15px;
padding-top: 3px;
}
#temperature {
}


Loading…
Cancel
Save