waybar cleanup + notifications
This commit is contained in:
@@ -60,7 +60,7 @@
|
|||||||
"format-ok": "Systemd ✓",
|
"format-ok": "Systemd ✓",
|
||||||
"system": true, // Monitor failed systemwide units.
|
"system": true, // Monitor failed systemwide units.
|
||||||
"user": true, // Ignore failed user units.
|
"user": true, // Ignore failed user units.
|
||||||
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 120x45 isd'"
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 250x45 systemctl-tui'"
|
||||||
},
|
},
|
||||||
|
|
||||||
// Configuration - modules-right
|
// Configuration - modules-right
|
||||||
@@ -82,19 +82,19 @@
|
|||||||
"warning": 70,
|
"warning": 70,
|
||||||
"critical": 90,
|
"critical": 90,
|
||||||
},
|
},
|
||||||
"on-click": "footclient --app-id floating_shell --window-size-chars 120x45 -e btop"
|
"on-click": "footclient --app-id floating_shell --window-size-chars 250x150 -e btop"
|
||||||
},
|
},
|
||||||
|
|
||||||
"temperature": {
|
"temperature": {
|
||||||
"critical-threshold": 80,
|
"critical-threshold": 80,
|
||||||
"format": " {temperatureC}°C",
|
"format": " {temperatureC}°C",
|
||||||
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 80x45 -e watch sensors'"
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 120x100 -e watch sensors'"
|
||||||
},
|
},
|
||||||
|
|
||||||
"memory": {
|
"memory": {
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"format": "{:>3}%",
|
"format": "{:>3}%",
|
||||||
"on-click": "footclient --app-id floating_shell --window-size-chars 100x100 -e btop",
|
"on-click": "footclient --app-id floating_shell --window-size-chars 250x150 -e btop",
|
||||||
"states": {
|
"states": {
|
||||||
"warning": 70,
|
"warning": 70,
|
||||||
"critical": 90
|
"critical": 90
|
||||||
@@ -106,7 +106,7 @@
|
|||||||
"interval": 30,
|
"interval": 30,
|
||||||
"format": " / {specific_free:0.0f} of {specific_total:0.0f} GB free",
|
"format": " / {specific_free:0.0f} of {specific_total:0.0f} GB free",
|
||||||
"unit": "GB",
|
"unit": "GB",
|
||||||
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 80x45 ncdu -x /'"
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 250x45 gdu -d'"
|
||||||
},
|
},
|
||||||
|
|
||||||
"backlight": {
|
"backlight": {
|
||||||
@@ -132,7 +132,6 @@
|
|||||||
},
|
},
|
||||||
"on-click": "pavucontrol",
|
"on-click": "pavucontrol",
|
||||||
"tooltip-format": "{icon} {volume}% {format_source}",
|
"tooltip-format": "{icon} {volume}% {format_source}",
|
||||||
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 120x12 pulsemixer'",
|
|
||||||
"on-click-middle": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
"on-click-middle": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
|
||||||
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +5%",
|
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +5%",
|
||||||
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -5%"
|
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -5%"
|
||||||
@@ -150,6 +149,27 @@
|
|||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": ["", "", "", "", ""]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"custom/notification": {
|
||||||
|
"tooltip": true,
|
||||||
|
"format": "<span size='16pt'>{icon}</span>",
|
||||||
|
"format-icons": {
|
||||||
|
"notification": "",
|
||||||
|
"none": "",
|
||||||
|
"dnd-notification": "",
|
||||||
|
"dnd-none": "",
|
||||||
|
"inhibited-notification": "",
|
||||||
|
"inhibited-none": "",
|
||||||
|
"dnd-inhibited-notification": "",
|
||||||
|
"dnd-inhibited-none": ""
|
||||||
|
},
|
||||||
|
"return-type": "json",
|
||||||
|
"exec-if": "which swaync-client",
|
||||||
|
"exec": "swaync-client -swb",
|
||||||
|
"on-click": "swaync-client -t -sw",
|
||||||
|
"on-click-right": "swaync-client -d -sw",
|
||||||
|
"escape": true
|
||||||
|
},
|
||||||
|
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": " {:%H:%M}",
|
"format": " {:%H:%M}",
|
||||||
"format-alt": " {:%OI:%M %p}",
|
"format-alt": " {:%OI:%M %p}",
|
||||||
|
|||||||
@@ -15,12 +15,12 @@
|
|||||||
"interval": 30,
|
"interval": 30,
|
||||||
"format": " /mnt/hdd1 {specific_free:0.0f} of {specific_total:0.0f} GB free",
|
"format": " /mnt/hdd1 {specific_free:0.0f} of {specific_total:0.0f} GB free",
|
||||||
"unit": "GB",
|
"unit": "GB",
|
||||||
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 80x45 ncdu -x /mnt/hdd1/'"
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 150x45 gdu -d'"
|
||||||
},
|
},
|
||||||
"custom/nvidia": {
|
"custom/nvidia": {
|
||||||
"exec": "nvidia-smi --query-gpu=utilization.gpu,memory.used,temperature.gpu --format=csv,nounits,noheader | sed 's/\\([0-9]\\+\\), \\([0-9]\\+\\), \\([0-9]\\+\\)/\\1% \\2MB \\3°C/g'",
|
"exec": "nvidia-smi --query-gpu=utilization.gpu,memory.used,temperature.gpu --format=csv,nounits,noheader | sed 's/\\([0-9]\\+\\), \\([0-9]\\+\\), \\([0-9]\\+\\)/\\1% \\2MB \\3°C/g'",
|
||||||
"format": " {}",
|
"format": " {}",
|
||||||
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 120x45 nvtop'",
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 150x45 watch nvidia-smi'",
|
||||||
"interval": 1
|
"interval": 1
|
||||||
},
|
},
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
@@ -36,6 +36,7 @@
|
|||||||
"battery",
|
"battery",
|
||||||
"clock",
|
"clock",
|
||||||
"tray",
|
"tray",
|
||||||
"custom/power"
|
"custom/notification",
|
||||||
|
"custom/power",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,12 +15,12 @@
|
|||||||
"interval": 30,
|
"interval": 30,
|
||||||
"format": " /mnt/hdd1 {specific_free:0.0f} of {specific_total:0.0f} GB free",
|
"format": " /mnt/hdd1 {specific_free:0.0f} of {specific_total:0.0f} GB free",
|
||||||
"unit": "GB",
|
"unit": "GB",
|
||||||
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 80x45 ncdu -x /mnt/hdd1/'"
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 150x45 gdu -d'"
|
||||||
},
|
},
|
||||||
"custom/nvidia": {
|
"custom/nvidia": {
|
||||||
"exec": "nvidia-smi --query-gpu=utilization.gpu,memory.used,temperature.gpu --format=csv,nounits,noheader | sed 's/\\([0-9]\\+\\), \\([0-9]\\+\\), \\([0-9]\\+\\)/\\1% \\2MB \\3°C/g'",
|
"exec": "nvidia-smi --query-gpu=utilization.gpu,memory.used,temperature.gpu --format=csv,nounits,noheader | sed 's/\\([0-9]\\+\\), \\([0-9]\\+\\), \\([0-9]\\+\\)/\\1% \\2MB \\3°C/g'",
|
||||||
"format": " {}",
|
"format": " {}",
|
||||||
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 120x45 nvtop'",
|
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 150x45 watch nvidia-smi'",
|
||||||
"interval": 1
|
"interval": 1
|
||||||
},
|
},
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
@@ -36,6 +36,7 @@
|
|||||||
"battery",
|
"battery",
|
||||||
"clock",
|
"clock",
|
||||||
"tray",
|
"tray",
|
||||||
"custom/power"
|
"custom/notification",
|
||||||
|
"custom/power",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
"battery",
|
"battery",
|
||||||
"clock",
|
"clock",
|
||||||
"tray",
|
"tray",
|
||||||
"custom/power"
|
"custom/notification",
|
||||||
|
"custom/power",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
"battery",
|
"battery",
|
||||||
"clock",
|
"clock",
|
||||||
"tray",
|
"tray",
|
||||||
"custom/power"
|
"custom/notification",
|
||||||
|
"custom/power",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ installmap = dict(
|
|||||||
"go", # required for vim-hexokinase build
|
"go", # required for vim-hexokinase build
|
||||||
"tree-sitter-cli", # required for nvim treesitter
|
"tree-sitter-cli", # required for nvim treesitter
|
||||||
),
|
),
|
||||||
utils=("uv", "ncdu", "unzip", "jq", "bluetui"),
|
utils=("uv", "gdu", "unzip", "jq", "bluetui"),
|
||||||
gittools=(
|
gittools=(
|
||||||
"tig",
|
"tig",
|
||||||
"diff-so-fancy",
|
"diff-so-fancy",
|
||||||
@@ -138,8 +138,7 @@ installmap = dict(
|
|||||||
"htop", # hardware
|
"htop", # hardware
|
||||||
"btop", # hardware
|
"btop", # hardware
|
||||||
"nvtop", # gpu
|
"nvtop", # gpu
|
||||||
"lazyjournal", # journald
|
"systemctl-tui", # systemd
|
||||||
"isd", # systemd
|
|
||||||
"bandwhich", # network
|
"bandwhich", # network
|
||||||
"sysstat",
|
"sysstat",
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user