control: update dotfiles to v0.1.0

This commit is contained in:
2025-03-03 23:46:53 -06:00
parent d3a2cb9712
commit a91635139f
4 changed files with 178 additions and 171 deletions
+37 -50
View File
@@ -1,27 +1,27 @@
[
{
"name": "main",
"layer": "top",
"layer": "bottom",
"position": "top",
"height": 38,
"spacing": 4,
"margin-top": 0,
"margin-bottom": 0,
"height": 40,
"spacing": 0,
"output": "eDP-1",
"reload_style_on_change": true,
"modules-left": [
"custom/appmenu",
"disk",
"memory",
"cpu",
"temperature",
"pulseaudio"
"custom/gpu",
"temperature"
],
"modules-center": [
"hyprland/workspaces"
],
"modules-center": ["hyprland/workspaces"],
"modules-right": [
"tray",
"wireplumber",
"network#wifi",
"custom/weather",
"battery",
"clock",
"custom/poweroff"
],
@@ -43,10 +43,11 @@
},
"cpu": {
"format": " {usage}%",
"interval": 5,
"tooltip": false
},
"disk": {
"format": " {}%",
"format": " {percentage_used}%",
"tooltip-format": "{used} / {total} used"
},
"idle_inhibitor": {
@@ -60,6 +61,13 @@
"format": " {}%",
"tooltip-format": "{used:0.1f}G / {total:0.1f}G used"
},
"temperature": {
"format": "{icon} {temperatureC}°C ",
"format-icons": ["", "", "", "", ""],
"hwmon-path": "/sys/class/thermal/thermal_zone2/temp",
"critical-threshold": 80,
"interval": 5
},
"temperature": {
"critical-threshold": 80,
"format": "{icon} {temperatureC}°C",
@@ -68,10 +76,13 @@
},
"network#wifi": {
"interface": "wlo1",
"format-wifi": " {signalStrength}%",
"format-disconnected": "",
"format-wifi": "󰣺 {signalStrength}%",
"format-disconnected": "󰣽",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}"
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"hyprland/workspaces": {
"format": "{icon}",
"sort-by-number": true,
@@ -79,9 +90,9 @@
"disable-scroll": true,
"active-only": false,
"format-icons": {
"default": "",
"persistent": "",
"active": ""
"active": "",
"default": "",
"persistent": "",
},
"persistent-workspaces": {
"1": [ ],
@@ -90,53 +101,29 @@
"4": [ ],
"5": [ ]
}
},
"wlr/taskbar": {
"format": "{name}",
"icon-size": 32,
"tooltip": false,
"on-click": "activate",
"on-click-right": "close",
"all-outputs": true,
"ignore-list": [
"xwaylandvideobridge"
],
"rewrite": {
"(.*)Firefox Web Browser": "",
"(.*)Discord": "󰙯",
"(.*)Alacritty": "",
"Steam(.*)": "",
"(.*)Spotify": ""
}
},
"pulseaudio": {
"wireplumber": {
"format": " {volume}%",
"format-muted": " 0%",
"on-click": "pavucontrol",
"on-click-right": "helvum",
"max-volume": 100,
"scroll-step": 0
"scroll-step": 5
},
"tray": {
"icon-size": 21,
"spacing": 10
},
"custom/spotify": {
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/scripts/spotify.sh",
"exec-if": "pgrep spotify",
"escape": true
"custom/appmenu": {
"format": "",
"on-click": "pkill -x rofi || rofi -show drun"
},
"custom/poweroff": {
"tooltip": false,
"format": " ",
"on-click": "bash ~/.config/waybar/scripts/poweroff.sh"
"on-click": "pgrep poweroff.sh || $HOME/.config/waybar/scripts/poweroff.sh"
},
"custom/weather": {
"exec": "~/.config/waybar/scripts/get_weather.sh Belleville+Illinois",
"return-type": "json",
"format": "{}",
"tooltip": true,
"interval": 3600
}
}
]