armory: update dotfiles to v0.2.0

This commit is contained in:
Trianta
2025-03-03 23:09:00 -06:00
parent 27f7b9735f
commit f16f17af32
7 changed files with 1219 additions and 14 deletions
Executable
+120
View File
@@ -0,0 +1,120 @@
[
{
"name": "main",
"layer": "bottom",
"position": "top",
"height": 40,
"spacing": 0,
"output": "DP-1",
"reload_style_on_change": true,
"modules-left": [
"custom/appmenu",
"disk",
"memory",
"cpu",
"custom/gpu",
"temperature"
],
"modules-center": [
"hyprland/workspaces"
],
"modules-right": [
"tray",
"wireplumber",
"network#ethernet",
"clock",
"custom/poweroff"
],
"clock": {
"interval": 1,
"format": "<b>{:%I:%M:%S %p}</b>",
"format-alt": "{:%Y-%m-%d}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
},
"cpu": {
"format": " {usage}%",
"interval": 5,
"tooltip": false
},
"disk": {
"format": " {percentage_used}%",
"tooltip-format": "{used} / {total} used"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"memory": {
"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
},
"network#ethernet": {
"interface": "enp*",
"format-ethernet": "",
"format-wifi": "",
"format-linked": "",
"format-disconnected": "",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}",
"on-click": "nm-connection-editor"
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"hyprland/workspaces": {
"format": "{icon}",
"sort-by-number": true,
"all-outputs": true,
"disable-scroll": true,
"active-only": false,
"format-icons": {
"default": "",
"persistent": "",
},
"persistent-workspaces": {
"1": [ ],
"2": [ ],
"3": [ ],
"4": [ ],
"5": [ ]
}
},
"wireplumber": {
"format": " {volume}%",
"format-muted": " 0%",
"on-click": "pavucontrol",
"on-click-right": "helvum",
"max-volume": 100,
"scroll-step": 5
},
"tray": {
"icon-size": 21,
"spacing": 10
},
"custom/appmenu": {
"format": "",
"on-click": "pkill -x rofi || rofi -show drun"
},
"custom/gpu": {
"format": "󰔂 {}%",
"interval": 5,
"tooltip": false,
"exec": "nvidia-smi --query | grep Gpu | tail -1 | awk '{print $3}'"
},
"custom/poweroff": {
"tooltip": false,
"format": " ",
"on-click": "pgrep poweroff.sh || $HOME/.config/waybar/scripts/poweroff.sh"
},
}
]
+82
View File
@@ -0,0 +1,82 @@
@import "mocha.css";
* {
border: none;
border-radius: 0px;
min-height: 0;
font-weight: bold;
font-size: 14px;
font-family: "Hack Nerd Font";
}
window#waybar {
background-color: alpha(@crust, 0.3);
border-radius: 0px;
border-bottom: 0px solid @overlay0;
}
#workspaces button {
color: @peach;
border-radius: 8px;
margin: 4px 2px;
padding: 0px 8px;
transition: all 0.4s ease;
}
#workspaces button.active {
background-color: alpha(@peach, 0.2);
transition: all 0.4s ease;
}
.modules-left,
.modules-center,
.modules-right {
padding-top: 0px;
padding-bottom: 0px;
}
.modules-left {
padding-left: 0px;
}
.modules-right {
padding-right: 0px;
}
#clock,
#cpu,
#disk,
#memory,
#temperature,
#tray,
#wireplumber,
#workspaces,
#network,
#custom-appmenu,
#custom-gpu,
#custom-poweroff,
#custom-weather {
background-color: transparent;
border-radius: 10px;
border: 0px;
margin-left: 6px;
margin-right: 6px;
color: @peach;
min-width: 45px;
}
#network {
margin: 0px;
padding: 0px;
}
#custom-appmenu,
#workspaces label,
#network {
font-size: 18px;
}
#clock {
min-width: 80px;
}
Executable
+129
View File
@@ -0,0 +1,129 @@
[
{
"name": "main",
"layer": "bottom",
"position": "bottom",
"height": 40,
"spacing": 0,
"output": "DP-1",
"reload_style_on_change": true,
"modules-left": [
"custom/appmenu",
"wlr/taskbar"
],
"modules-center": [
],
"modules-right": [
"tray",
"disk",
"memory",
"cpu",
"custom/gpu",
"temperature",
"wireplumber",
"network#ethernet",
"clock",
"custom/poweroff"
],
"clock": {
"interval": 1,
"format": "<b>{:%I:%M:%S %p}</b>",
"format-alt": "{:%Y-%m-%d}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
},
"cpu": {
"format": " {usage}%",
"interval": 5,
"tooltip": false
},
"disk": {
"format": " {percentage_used}%",
"tooltip-format": "{used} / {total} used"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"memory": {
"format": " {}%",
"tooltip-format": "{used:0.1f}G / {total:0.1f}G used"
},
"wlr/taskbar": {
"format": "{name}",
"tooltip-format": "{title}",
"on-click": "activate",
"on-click-right": "close",
"ignore-list": [
"Wayland to X Recording bridge — Xwayland Video Bridge"
]
},
"temperature": {
"format": "{icon} {temperatureC}°C ",
"format-icons": ["", "", "", "", ""],
"hwmon-path": "/sys/class/thermal/thermal_zone2/temp",
"critical-threshold": 80,
"interval": 5
},
"network#ethernet": {
"interface": "enp*",
"format-ethernet": "",
"format-wifi": "",
"format-linked": "",
"format-disconnected": "",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}",
"on-click": "nm-connection-editor"
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"hyprland/workspaces": {
"format": "{icon}",
"sort-by-number": true,
"all-outputs": true,
"disable-scroll": true,
"active-only": false,
"format-icons": {
"default": "",
"persistent": "",
},
"persistent-workspaces": {
"1": [ ],
"2": [ ],
"3": [ ],
"4": [ ],
"5": [ ]
}
},
"wireplumber": {
"format": " {volume}%",
"format-muted": " 0%",
"on-click": "pavucontrol",
"on-click-right": "helvum",
"max-volume": 100,
"scroll-step": 5
},
"tray": {
"icon-size": 21,
"spacing": 10
},
"custom/appmenu": {
"format": " start",
"on-click": "pkill -x rofi || rofi -show drun"
},
"custom/gpu": {
"format": "󰔂 {}%",
"interval": 5,
"tooltip": false,
"exec": "nvidia-smi --query | grep Gpu | tail -1 | awk '{print $3}'"
},
"custom/poweroff": {
"tooltip": false,
"format": " ",
"on-click": "pgrep poweroff.sh || $HOME/.config/waybar/scripts/poweroff.sh"
},
}
]
+84
View File
@@ -0,0 +1,84 @@
@import "mocha.css";
* {
border: none;
border-radius: 0px;
min-height: 0;
font-weight: bold;
font-size: 14px;
font-family: "Hack Nerd Font";
}
window#waybar {
border-radius: 0px;
border-bottom: 0px solid @overlay0;
background: rgb(0, 78, 214);
}
#workspaces button {
border-radius: 8px;
margin: 4px 2px;
padding: 0px 8px;
transition: all 0.4s ease;
}
#workspaces button.active {
transition: all 0.4s ease;
}
.modules-left,
.modules-center,
.modules-right {
padding-top: 0px;
padding-bottom: 0px;
}
.modules-left {
padding-left: 0px;
}
.modules-right {
padding-right: 0px;
background: rgb(63, 149, 235);
}
#custom-appmenu {
background: rgb(0, 141, 0);
padding: 0px 12px;
border-top-right-radius: 13px;
border-bottom-right-radius: 13px;
border-right: solid 3px #088;
}
#clock,
#cpu,
#disk,
#memory,
#temperature,
#tray,
#wireplumber,
#workspaces,
#network,
#custom-gpu,
#custom-poweroff,
#custom-weather {
margin-left: 4px;
margin-right: 2px;
min-width: 45px;
}
#network {
margin: 0px;
padding: 0px;
}
#custom-appmenu,
#workspaces label,
#network {
font-size: 18px;
}
#clock {
min-width: 80px;
}