install scripts. reorganization. soon to be deployable

This commit is contained in:
2025-05-24 04:08:28 -05:00
parent 5010e57533
commit e966d5328d
242 changed files with 407 additions and 45 deletions

180
env/.config/waybar/config.jsonc vendored Normal file
View File

@@ -0,0 +1,180 @@
{
"layer": "top",
"position": "bottom",
"modules-left": ["hyprland/workspaces"],
//"modules-center": ["clock", ], //"custom/weather"],
"modules-right": [
"custom/mic",
"pulseaudio",
//"backlight",
"battery",
"network",
"cpu",
"memory",
//"custom/docker",
"custom/disc",
"custom/rss",
"clock",
"tray",
"custom/lock",
"custom/power"
],
"hyprland/workspaces": {
//"format": "{name}: {icon}",
//"all-outputs":true,
"format": "{icon}",
"format-icons": {
/*
"1": "",
"2": "",
"3": "",
"4": "",
"5": ""
*/
"1":"  ",
"2":"  ",
"3":"  ",
"4":"  ",
"5":"  ",
"6":"  ",
"7":"  ",
"8":"  ",
"9":"  ",
"10":"  ",
"11":"  ",
"12":"  ",
"13":"  ",
"14":"  ",
"15":"  ",
"16":"  ",
"17":"  ",
"18":"  ",
"19":"  ",
"20":"  "
},
/*
"persistent-workspaces": {
"1": [], // Always show a workspace with name '3', on all outputs if it does not exists
"2": [],
"3": [],
"4": [],
"5": [],
"6": [],
"7": [],
"8": [],
"9": [],
"10": []
},
*/
"sort-by-name": true
},
"tray": {
"icon-size": 16,
"spacing": 10
},
"custom/music": {
"format": " {}",
"escape": true,
"interval": 5,
"tooltip": false,
"exec": "playerctl metadata --format='{{ artist }} - {{ title }}'",
"on-click": "playerctl play-pause",
"max-length": 50
},
"clock": {
"timezone": "America/Chicago",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%m/%d/%Y - %I:%M:%S}",
"interval": 1
},
"network": {
"interface": "wlan0",
"format-wifi": "󰤢 {bandwidthDownBits}",
"format-ethernet": "󰈀 {bandwidthDownBits}",
"format-disconnected": "󰤠 No Network",
"interval": 5,
"tooltip": true,
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
"tooltip-format-ethernet": "{ifname} ",
"tooltip-format-disconnected": "Disconnected"
},
"cpu": {
"interval": 1,
"format": " {icon0}{icon1}{icon2}{icon3} {usage:>2}%",
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
},
"memory": {
"interval": 30,
"format": " {used:0.1f}G/{total:0.1f}G"
},
"custom/uptime": {
"format": "{}",
"interval": 1600,
"exec": "sh -c '(uptime -p)'"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"format-icons": {
"default": ["", "", " "]
},
"on-click": "pavucontrol"
},
"custom/power": {
"tooltip": false,
"on-click": "wlogout &",
"format": "⏻"
},
"custom/docker": {
"format": "{}",
"return-type": "json",
"interval": 10,
"exec": "$(pwd)/scripts/docker-stats/docker-stats",
"tooltip": true
},
"custom/weather": {
"format": "{}",
"tooltip": true,
"interval": 1800,
"exec": "$(pwd)/scripts/weather-stats/weather-stats",
"return-type": "json"
},
"custom/rss": {
"format": " {}",
"interval": 3,
"exec": "/usr/bin/newsboat -x print-unread|sed 's/\\s.*//; s/Error:/IA/'"
},
"custom/disc": {
"format": " {}",
"interval": 20,
"exec": "df -h -x=used /dev/mapper/artix-root | sed '1d' | awk '{print $4}'| sed 's/[^0-9]*//g'"
},
"custom/mic": {
"format": "{}",
"interval": 1,
"exec": "[ \"$(pactl get-source-mute @DEFAULT_SOURCE@)\" == \"Mute: no\" ] && echo  || echo 󰍭"
},
"custom/wifi": {
"format": "{}",
"interval": 1000,
"exec": "sed \"s/down/\\:\\(/;s/up/\\:\\)/\" /sys/class/net/$wifi_device/operstate"
}
}

163
env/.config/waybar/ref-style.css vendored Normal file
View File

@@ -0,0 +1,163 @@
* {
font-family: JetbrainsMono Nerd Font;
font-size: 13px;
min-height: 0;
padding-right: 2px;
padding-left: 2px;
padding-bottom: 0px;
}
#waybar {
background: transparent;
color: #c6d0f5;
margin: 2px 2px;
}
#workspaces {
border-radius: 5px;
margin: 5px;
background: #101010;
margin-left: 2px;
}
#workspaces button {
color: #babbf1;
border-radius: 5px;
padding: 0.4rem;
}
#workspaces button.active {
color: #99d1db;
border-radius: 5px;
}
button {
background: transparent;
}
#workspaces button:hover {
background: #1e1e1e;
border: 0px solid transparent;
}
#custom-music,
#tray,
#backlight,
#clock,
#battery,
#pulseaudio,
#network,
#cpu,
#memory,
#custom-lock,
#custom-power,
#custom-weather,
#custom-uptime,
#custom-rss,
#custom-disc,
#custom-mic,
#custom-docker {
background-color: #101010;
padding: 0.5rem 1rem;
margin: 5px 0;
}
#clock {
color: #8caaee;
border-radius: 0px;
}
#custom-weather {
color: #8caaee;
margin-left: 0.5rem;
border-radius: 5px;
}
#battery {
color: #a6d189;
}
#battery.charging {
color: #a6d189;
}
#battery.warning:not(.charging) {
color: #e78284;
}
#backlight {
color: #e5c890;
}
#backlight,
#battery {
border-radius: 0;
}
#pulseaudio {
color: #ea999c;
}
#custom-mic{
color: #ea999c;
border-radius: 5px 0px 0px 5px;
}
#custom-docker {
color: #85c1dc;
}
#custom-music {
color: #ca9ee6;
border-radius: 5px;
}
#custom-lock {
color: #babbf1;
}
#custom-power {
margin-right: 1rem;
border-radius: 0px 5px 5px 0px;
color: #e78284;
}
#custom-docker.docker {
color: #85c1dc;
}
#custom-docker.docker-none {
color: #737994;
}
#custom-docker.docker-error {
color: #e78284;
}
#custom-weather.clear {
color: #e5c890; /* Sunny yellow */
}
#custom-weather.cloud {
color: #99d1db; /* Light blue */
}
#custom-weather.rain {
color: #8caaee; /* Blue */
}
#custom-weather.snow {
color: #c6d0f5; /* White-ish */
}
#custom-weather.thunder {
color: #ca9ee6; /* Purple */
}
#custom-weather.fog {
color: #b0b4bc; /* Gray */
}
#custom-weather.error {
color: #e78284; /* Red */
}

163
env/.config/waybar/style.css vendored Normal file
View File

@@ -0,0 +1,163 @@
* {
font-family: JetbrainsMono Nerd Font;
font-size: 13px;
min-height: 0;
padding-right: 2px;
padding-left: 2px;
padding-bottom: 0px;
}
#waybar {
background: transparent;
color: #bfbaac;
margin: 2px 2px;
}
#workspaces {
border-radius: 5px;
margin: 5px;
background: #263640;
margin-left: 2px;
}
#workspaces button {
color: #696ebf;
border-radius: 5px;
padding: 0.4rem;
}
#workspaces button.active {
color: #00c5ba;
border-radius: 5px;
}
button {
background: transparent;
}
#workspaces button:hover {
background: #4a697d;
border: 0px solid transparent;
}
#custom-music,
#tray,
#backlight,
#clock,
#battery,
#pulseaudio,
#network,
#cpu,
#memory,
#custom-lock,
#custom-power,
#custom-weather,
#custom-uptime,
#custom-rss,
#custom-disc,
#custom-mic,
#custom-docker {
background-color: #263640;
padding: 0.5rem 1rem;
margin: 5px 0;
}
#clock {
color: #2587cc;
border-radius: 0px;
}
#custom-weather {
color: #2587cc;
margin-left: 0.5rem;
border-radius: 5px;
}
#battery {
color: #a6d189;
}
#battery.charging {
color: #a6d189;
}
#battery.warning:not(.charging) {
color: #e78284;
}
#backlight {
color: #e5c890;
}
#backlight,
#battery {
border-radius: 0;
}
#pulseaudio {
color: #fa3935;
}
#custom-mic{
color: #fa3935;
border-radius: 5px 0px 0px 5px;
}
#custom-docker {
color: #2587cc;
}
#custom-music {
color: #ca9ee6;
border-radius: 5px;
}
#custom-lock {
color: #babbf1;
}
#custom-power {
margin-right: 1rem;
border-radius: 0px 5px 5px 0px;
color: #e78284;
}
#custom-docker.docker {
color: #85c1dc;
}
#custom-docker.docker-none {
color: #737994;
}
#custom-docker.docker-error {
color: #e78284;
}
#custom-weather.clear {
color: #e5c890; /* Sunny yellow */
}
#custom-weather.cloud {
color: #99d1db; /* Light blue */
}
#custom-weather.rain {
color: #8caaee; /* Blue */
}
#custom-weather.snow {
color: #c6d0f5; /* White-ish */
}
#custom-weather.thunder {
color: #ca9ee6; /* Purple */
}
#custom-weather.fog {
color: #b0b4bc; /* Gray */
}
#custom-weather.error {
color: #263640; /* Red */
}