1
1
mirror of https://github.com/nboughton/dotfiles synced 2024-11-26 04:28:43 +01:00

no space wasted

This commit is contained in:
Nick Boughton 2021-10-17 00:39:09 +01:00
parent 97f929c33d
commit 542161942a
2 changed files with 83 additions and 75 deletions

@ -255,9 +255,9 @@ bar {
# #
# gaps # gaps
# #
gaps outer 10 #gaps outer 10
gaps top -10 #gaps top -10
gaps bottom -10 #gaps bottom -10
smart_gaps off smart_gaps off
smart_borders on smart_borders on

@ -1,76 +1,30 @@
// -*- mode: json -*- // -*- mode: json -*-
[ //[
{ // {
"position": "bottom", // "position": "bottom",
"layer": "bottom", // "layer": "bottom",
"margin-left": 10, // "margin-left": 10,
"margin-right": 10, // "margin-right": 10,
"margin-bottom": 10, // "margin-bottom": 10,
"modules-left": [ // "modules-left": [
"sway/mode", // "sway/mode",
"wlr/taskbar" // "wlr/taskbar"
], // ],
"modules-right": [ // "modules-right": [
"custom/gpuuse", // "custom/gpuuse",
"custom/gputemp", // "custom/gputemp",
"custom/separator", // "custom/separator",
"custom/weather", // "custom/weather",
"custom/separator", // "custom/separator",
"tray" // "tray"
], // ],
"sway/mode": { // },
"format": "{}"
},
"wlr/taskbar": {
"all-outputs": false,
"format": "{icon} {title:.15}",
"icon-theme": "Tela-circle-blue-dark",
"icon-size": 14,
"on-click": "activate",
"on-middle-click": "close",
"on-right-click": "minimize"
},
"tray": {
"icon-size": 12,
"spacing": 10
},
"custom/separator": {
"format": "|",
"tooltip": false
},
"custom/weather": {
"format": "{}",
"exec": "~/.config/waybar/modules/weather.sh",
"interval": 3600
},
"custom/gputemp": {
"interval": 2,
"return-type": "json",
"format": "{icon}",
"format-icons": [
"",
"",
"",
"",
""
],
"exec": "~/.config/waybar/modules/gpu/temp",
"on-click": "kitty radeontop"
},
"custom/gpuuse": {
"interval": 2,
"return-type": "json",
"format": " ",
"exec": "~/.config/waybar/modules/gpu/usage",
"on-click": "kitty radeontop"
}
},
{ {
"position": "top", "position": "top",
"layer": "bottom", "layer": "bottom",
"margin-top": 10, "margin-top": 0,
"margin-right": 10, "margin-right": 0,
"margin-left": 10, "margin-left": 0,
"modules-center": [ "modules-center": [
"sway/workspaces" "sway/workspaces"
], ],
@ -84,10 +38,16 @@
//"custom/separator", //"custom/separator",
"memory", "memory",
"cpu", "cpu",
"custom/cputemp" "custom/cputemp",
"custom/separator",
"custom/gpuuse",
"custom/gputemp",
"custom/separator",
"idle_inhibitor",
"sway/mode"
], ],
"modules-right": [ "modules-right": [
"idle_inhibitor", "custom/weather",
"custom/separator", "custom/separator",
"custom/covid", "custom/covid",
//"custom/separator", //"custom/separator",
@ -98,6 +58,8 @@
//"custom/separator", //"custom/separator",
"pulseaudio", "pulseaudio",
"custom/separator", "custom/separator",
"tray",
"custom/separator",
"custom/powermenu" "custom/powermenu"
], ],
"sway/workspaces": { "sway/workspaces": {
@ -211,6 +173,52 @@
"format": "", "format": "",
"path": "/home" "path": "/home"
}, },
"sway/mode": {
"format": "{}"
},
"wlr/taskbar": {
"all-outputs": false,
"format": "{icon} {title:.15}",
"icon-theme": "Tela-circle-blue-dark",
"icon-size": 14,
"on-click": "activate",
"on-middle-click": "close",
"on-right-click": "minimize"
},
"tray": {
"icon-size": 12,
"spacing": 10
},
"custom/separator": {
"format": "|",
"tooltip": false
},
"custom/weather": {
"format": "{}",
"exec": "~/.config/waybar/modules/weather.sh",
"interval": 3600
},
"custom/gputemp": {
"interval": 2,
"return-type": "json",
"format": "{icon}",
"format-icons": [
"",
"",
"",
"",
""
],
"exec": "~/.config/waybar/modules/gpu/temp",
"on-click": "kitty radeontop"
},
"custom/gpuuse": {
"interval": 2,
"return-type": "json",
"format": " ",
"exec": "~/.config/waybar/modules/gpu/usage",
"on-click": "kitty radeontop"
},
"custom/updates": { "custom/updates": {
"format": " {}", "format": " {}",
"return-type": "json", "return-type": "json",
@ -275,4 +283,4 @@
] ]
} }
} }
] //]