too many things

This commit is contained in:
fbachus
2025-09-02 03:32:47 +02:00
parent c26d3a64b0
commit f19e8a00c7
81 changed files with 2724 additions and 1549 deletions

View File

@@ -1,138 +1,162 @@
{
"layer": "bottom", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
//"height": 30, // Waybar height (to be removed for auto height)
"height": 25,
"mode": "dock", // (dock|hide|invisible|overlay)
"exclusive": "false",
// "width": 1280, // Waybar width
"spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": ["hyprland/workspaces"],
"modules-center": ["clock"],
"modules-right": ["pulseaudio", "temperature", "cpu", "memory", "battery", "backlight", "hyprland/language", "tray"],
"hyprland/workspaces": {
"disable-scroll": false,
"all-outputs": false,
"warp-on-scroll": true,
"format": "{name}",
"show-special": true,
"persistent-workspaces": {
"*": 5,
}
},
"hyprland/window": {
"format": "{title}"
},
"hyprland/language": {
"format-en": "UK",
"format-de": "DE",
"on-click": "hyprctl switchxkblayout at-translated-set-2-keyboard next"
},
"keyboard-state": {
// "numlock": true,
"capslock": true,
"format": "{name} {icon}",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 14,
"on-click": "activate",
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"clock": {
"timezones": ["Europe/Berlin", "Asia/Hong_Kong"],
"tooltip-format": "<small>{tz_list}</small>\n<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%H:%M}",
"format-alt": "{:%Y-%m-%d}",
"actions":{
"on-scroll-up": "tz_up",
"on-scroll-down": "tz_down",
"layer": "bottom", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
//"height": 30, // Waybar height (to be removed for auto height)
"height": 25,
"mode": "dock", // (dock|hide|invisible|overlay)
"exclusive": "false",
// "width": 1280, // Waybar width
"spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": ["hyprland/workspaces"],
"modules-center": ["clock"],
"modules-right": ["pulseaudio", "temperature", "cpu", "memory", "battery", "backlight", "hyprland/language", "idle_inhibitor", "tray"],
"hyprland/workspaces": {
"disable-scroll": false,
"all-outputs": false,
"warp-on-scroll": true,
"format": "{name}",
"show-special": true,
"persistent-workspaces": {
"*": 5,
}
},
"smooth-scrolling-threshold": 6.0,
},
"cpu": {
"format": "{usage}% ",
"tooltip": false
},
"memory": {
"format": "{used}GB",
"format-alt": "{}% "
},
"temperature": {
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C", // {icon}",
"format-icons": ["", "", ""]
},
"backlight": {
"device": "intel_backlight",
"format": "{percent}%",// {icon}",
"format-icons": ["", "", "", "", "", "", "", "", ""]
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{time} {icon}",
"format-alt": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""],
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
// "format-wifi": "{essid} ({signalStrength}%) ",
// "format-ethernet": "{ipaddr}/{cidr} ",
// "tooltip-format": "{ifname} via {gwaddr} ",
// "format-linked": "{ifname} (No IP) ",
// "format-disconnected": "Disconnected ⚠",
// "format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
"scroll-step": 0.25, // %, can be a float
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": "{icon} {format_source}",
"format-muted": "{format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol-qt -t 3",
"on-click-middle": "amixer set Master Playback Switch toggle --quiet",
},
"custom/media": {
"format": "{icon} {}",
"return-type": "json",
"max-length": 40,
"format-icons": {
"spotify": "",
"default": "🎜"
},
"escape": true,
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
}
"hyprland/window": {
"format": "{title}"
},
"hyprland/language": {
"format-en": "UK",
"format-de": "DE",
"format-eu": "EU",
"on-click": "hyprctl switchxkblayout at-translated-set-2-keyboard next"
},
"keyboard-state": {
// "numlock": true,
"capslock": true,
"format": "{name} {icon}",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 14,
"on-click": "activate",
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"clock": {
"timezones": ["Europe/Berlin", "Asia/Hong_Kong"],
"tooltip-format": "<small>{tz_list}</small>\n<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%H:%M | %a, %d %b}",
"format-alt": "{:%Y-%m-%d}",
"locale": "en_GB.UTF-8",
"calendar": {
"mode" : "month",
"mode-mon-col" : 3,
"weeks-pos" : "left",
"on-scroll" : 1,
"format": {
"months": "<span color='#dcdcdc'><b>{}</b></span>",
"days": "<span color='#aaaaaa'><b>{}</b></span>",
"weeks": "<span color='#65cba9'><b>W{}</b></span>",
"weekdays": "<span color='#ffc343'><b>{}</b></span>",
"today": "<span color='#20ffee'><b><u>{}</u></b></span>",
},
},
"actions": {
"on-scroll-up": "shift_up",
"on-scroll-down": "shift_down",
"on-click-right": "tz_up",
"on-click-middle": "mode",
},
"smooth-scrolling-threshold": 6.0,
},
"cpu": {
"format": "{usage}% ",
"tooltip": false
},
"memory": {
"format": "{used}GB",
"format-alt": "{}% "
},
"temperature": {
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C", // {icon}",
"format-icons": ["", "", ""]
},
"backlight": {
"device": "intel_backlight",
"format": "{percent}%",// {icon}",
"format-icons": ["", "", "", "", "", "", "", "", ""]
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{time} {icon}",
"format-alt": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""],
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
// "format-wifi": "{essid} ({signalStrength}%) ",
// "format-ethernet": "{ipaddr}/{cidr} ",
// "tooltip-format": "{ifname} via {gwaddr} ",
// "format-linked": "{ifname} (No IP) ",
// "format-disconnected": "Disconnected ⚠",
// "format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
"scroll-step": 0.25, // %, can be a float
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": "{icon} {format_source}",
"format-muted": "{format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol-qt -t 3",
"on-click-middle": "amixer set Master Playback Switch toggle --quiet",
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
},
},
"custom/media": {
"format": "{icon} {}",
"return-type": "json",
"max-length": 40,
"format-icons": {
"spotify": "",
"default": "🎜"
},
"escape": true,
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
}
}

View File

@@ -1,29 +1,29 @@
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: "Hurmit Nerd Font", FontAwesome, Roboto, Helvetica, Arial,
sans-serif;
font-size: 1.1rem;
margin: 0;
/* `otf-font-awesome` is required to be installed for icons */
font-family:
"Hurmit Nerd Font", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-size: 1.1rem;
margin: 0;
}
window#waybar {
background-color: rgba(43, 48, 59, 0);
color: rgb(204, 204, 204);
transition-property: background-color;
transition-duration: 0.5s;
background-color: rgba(43, 48, 59, 0);
color: rgb(204, 204, 204);
transition-property: background-color;
transition-duration: 0.5s;
}
window#waybar.hidden {
opacity: 0;
opacity: 0;
}
.modules-left,
.modules-center,
.modules-right {
/*background-color: black; rgba(255, 255, 255, 1);*/
border: 1px solid;
border-radius: 8px;
padding: 0px;
/*background-color: black; rgba(255, 255, 255, 1);*/
border-top: 1px solid;
border-radius: 0px;
padding: 0px;
}
/*
@@ -36,25 +36,17 @@ window#waybar.solo {
*/
button {
/* Use box-shadow instead of border so the text isn't offset */
/* box-shadow: inset 0 -3px transparent; */
/* Avoid rounded borders under each button name */
border: 0px;
border-radius: 0px;
/* Use box-shadow instead of border so the text isn't offset */
/* box-shadow: inset 0 -3px transparent; */
/* Avoid rounded borders under each button name */
border: 0px;
border-radius: 0px;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
button:hover {
background: inherit;
box-shadow: inset 0 3px #ffffff;
}
#workspaces button {
padding: 2px 5px 0px 5px;
border: 1px solid transparent; /*avoid jumping by always having a border*/
background-color: transparent;
color: #ffffff;
border-radius: 8px;
background: inherit;
box-shadow: inset 0 3px #ffffff;
}
#workspaces button,
@@ -63,27 +55,33 @@ button:hover {
#workspaces button.special,
#workspaces button.special.empty,
#workspaces button.special.active {
background-color: transparent;
transition: linear 0.1s;
background-color: rgba(0, 0, 0, 1);
/* border-radius: 8px; */
border: 1px solid transparent; /*avoid jumping by always having a border*/
color: #ffffff;
padding: 0px 5px 2px 5px;
transition: linear 0.1s;
}
#workspaces button.urgent,
#workspaces button.special.urgent {
background-color: rgba(250, 17, 55, 0.6);
background-color: rgba(250, 17, 55, 0.6);
}
#workspaces button.empty {
color: rgba(255, 255, 255, 0.4);
color: rgba(255, 255, 255, 0.4);
}
#workspaces button:hover {
border: 1px solid rgba(40, 220, 255, 0.8);
box-shadow: inset 0 0 0 0 transparent;
padding: 0px 5px 2px 5px;
border: 1px solid rgba(40, 220, 255, 0.8);
box-shadow: inset 0 0 0 0 transparent;
padding: 1px 5px 1px 5px;
}
#workspaces button.special.active,
#workspaces button.active {
color: rgba(40, 240, 255, 0.9);
padding: 1px 5px 1px 5px;
background-color: rgba(0, 0, 0, 1);
color: rgba(40, 240, 255, 0.9);
padding: 2px 5px 0px 5px;
}
/*#workspaces button.active {
@@ -92,15 +90,15 @@ button:hover {
}*/
#workspaces {
background-color: rgba(255, 255, 255, 0.1);
/*border: 1px solid;*/
border-radius: 8px;
padding: 1px;
background-color: rgba(0, 0, 0, 0.3);
/*border: 1px solid;*/
border-radius: 8px;
padding: 1px;
}
#mode {
background-color: #64727d;
/*border-bottom: 3px solid #ffffff;*/
background-color: #64727d;
/*border-bottom: 3px solid #ffffff;*/
}
#clock,
@@ -120,19 +118,19 @@ button:hover {
#scratchpad,
#language,
#mpd {
padding: 0 8px;
color: #909090;
border-radius: 0px;
border-top: 1rem;
border: solid;
margin: 0px;
border-bottom: 0rem;
padding: 0 6px;
color: #909090;
border-radius: 0px;
border-top: 1rem;
border: solid;
margin: 0px;
border-bottom: 0rem;
}
#backlight,
#battery,
#clock,
#tray {
color: #eeeeee;
color: #eeeeee;
}
/*#window,
@@ -142,171 +140,160 @@ button:hover {
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
margin-left: 0;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
margin-right: 0;
}
#clock {
font-weight: bold;
font-size: 1.2rem;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 8px;
margin: 0;
font-weight: bold;
font-size: 1.2rem;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 0px;
padding: 0;
margin: 0;
}
#battery.charging,
#battery.plugged {
background-color: #26a65b;
background-color: #26a65b;
}
@keyframes blink {
to {
background-color: #ffffff;
}
to {
background-color: #ffffff;
}
}
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
background-color: #f53c3c;
color: #ffffff;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
label:focus {
background-color: #000000;
background-color: #000000;
}
#cpu,
#battery,
#temperature,
#memory {
border-top: solid 2px #1de8d1;
margin: 0;
border-top: solid 2px #1de8d1;
margin: 0;
}
/*#memory {
border-top: solid 2px #9b59b6;
}*/
#disk {
background-color: #964b00;
}
#backlight {
border-top: solid 2px #d1f2f2;
}
#network {
border-top: solid 2px #2980b9;
}
#network.disconnected {
border-top: 2px #f53c3c;
border-top: solid 2px #d1f2f2;
}
#pulseaudio {
border-top: 2px #f1c40f;
color: #1acbc4;
border-top: 2px #f1c40f;
color: #1acbc4;
}
#pulseaudio.muted {
border-top: 2px #90b1b1;
color: #01534c;
border-top: 2px #90b1b1;
color: #01534c;
}
#wireplumber {
color: #000000;
color: #000000;
}
#custom-media {
/*background-color: #66cc99;*/
color: #2a5c45;
min-width: 100px;
/*background-color: #66cc99;*/
color: #2a5c45;
min-width: 100px;
}
#custom-media.custom-spotify {
/*background-color: #66cc99;*/
/*background-color: #66cc99;*/
}
#custom-media.custom-vlc {
/*background-color: #ffa000;*/
/*background-color: #ffa000;*/
}
#temperature.critical {
background-color: #eb4d4b;
background-color: #eb4d4b;
}
#tray {
border-top: 2px #2980b9;
border-top: 2px #2980b9;
}
#tray > .passive {
-gtk-icon-effect: dim;
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
#idle_inhibitor {
background-color: #2d3436;
background-color: #2d3436;
}
#idle_inhibitor.activated {
background-color: #ecf0f1;
color: #2d3436;
}
/* #idle_inhibitor.activated { */
/* background-color: #ecf0f1; */
/* color: #2d3436; */
/* } */
#mpd {
background-color: #66cc99;
color: #2a5c45;
background-color: #66cc99;
color: #2a5c45;
}
#mpd.disconnected {
background-color: #f53c3c;
background-color: #f53c3c;
}
#mpd.stopped {
background-color: #90b1b1;
background-color: #90b1b1;
}
#mpd.paused {
background-color: #51a37a;
background-color: #51a37a;
}
#language {
border-top: 2px #df73cf;
color: #909090;
padding: 0 5px;
min-width: 16px;
border-top: 2px #df73cf;
color: #909090;
padding: 0 5px;
min-width: 16px;
}
#keyboard-state {
border-top: 2px #97e1ad;
padding: 0 0px;
min-width: 16px;
border-top: 2px #97e1ad;
padding: 0 0px;
min-width: 16px;
}
#keyboard-state > label {
padding: 0 5px;
padding: 0 5px;
}
#keyboard-state > label.locked {
background: rgba(0, 0, 0, 0.2);
background: rgba(0, 0, 0, 0.2);
}
#scratchpad {
background: rgba(0, 0, 0, 0.2);
background: rgba(0, 0, 0, 0.2);
}
#scratchpad.empty {
background-color: transparent;
background-color: transparent;
}