remove qs, fixes to waybar
This commit is contained in:
188
modules/home/programs/waybar/config/config.jsonc
Normal file
188
modules/home/programs/waybar/config/config.jsonc
Normal file
@@ -0,0 +1,188 @@
|
||||
[
|
||||
{
|
||||
"backlight": {
|
||||
"format": "<span foreground='#928374'>{icon}</span> {percent}%",
|
||||
"format-icons": [
|
||||
""
|
||||
],
|
||||
"tooltip": false
|
||||
},
|
||||
"battery": {
|
||||
"format": "<span foreground='#928374'>{icon}</span> {capacity}%",
|
||||
"format-charging": "<span foreground='#928374'></span> {capacity}%",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"states": {
|
||||
"critical": 15,
|
||||
"warning": 30
|
||||
}
|
||||
},
|
||||
"clock": {
|
||||
"format": "<span foreground='#928374'></span> {:%a, %d %b <span foreground='#928374'></span> %H:%M}",
|
||||
"on-click": "calcurse-toggle.sh",
|
||||
"on-click-right": "calsync.sh",
|
||||
"rotate": 0,
|
||||
"tooltip": false
|
||||
},
|
||||
"cpu": {
|
||||
"format": "<span foreground='#928374'></span> {usage}%",
|
||||
"states": {
|
||||
"critical": 90,
|
||||
"warning": 70
|
||||
}
|
||||
},
|
||||
"custom/dunst": {
|
||||
"exec": "dunst.sh",
|
||||
"on-click": "dunstctl set-paused toggle",
|
||||
"restart-interval": 1,
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/logo": {
|
||||
"format": " ",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/mako": {
|
||||
"exec": "mako.sh",
|
||||
"on-click": "mako-toggle.sh",
|
||||
"restart-interval": 1,
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/progress": {
|
||||
"exec": "waybar-progress.sh",
|
||||
"interval": 1,
|
||||
"return-type": "json"
|
||||
},
|
||||
"custom/systemd": {
|
||||
"exec": "waybar-systemd.sh",
|
||||
"interval": 10,
|
||||
"return-type": "json"
|
||||
},
|
||||
"custom/trayicon": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"disk": {
|
||||
"format": "<span foreground='#928374'></span> {percentage_free}%",
|
||||
"states": {
|
||||
"critical": 90,
|
||||
"warning": 70
|
||||
}
|
||||
},
|
||||
"group/system": {
|
||||
"drawer": {
|
||||
"click-to-reveal": true,
|
||||
"transistion-left-to-right": true,
|
||||
"transition-duration": 250
|
||||
},
|
||||
"modules": [
|
||||
"custom/logo",
|
||||
"cpu",
|
||||
"memory",
|
||||
"disk",
|
||||
"network"
|
||||
],
|
||||
"orientation": "inherit"
|
||||
},
|
||||
"group/tray": {
|
||||
"drawer": {
|
||||
"click-to-reveal": true,
|
||||
"transistion-duration": 250,
|
||||
"transition-left-to-right": false
|
||||
},
|
||||
"modules": [
|
||||
"custom/trayicon",
|
||||
"tray"
|
||||
],
|
||||
"orientation": "inherit"
|
||||
},
|
||||
"height": 25,
|
||||
"hyprland/workspaces": {
|
||||
"active-only": false,
|
||||
"all-outputs": false,
|
||||
"disable-scroll": true,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"4": "",
|
||||
"active": "",
|
||||
"default": "",
|
||||
"empty": "",
|
||||
"persistent": ""
|
||||
},
|
||||
"on-click": "activate",
|
||||
"persistent-workspaces": {
|
||||
"*": 3
|
||||
},
|
||||
"rotate": 0
|
||||
},
|
||||
"memory": {
|
||||
"format": "<span foreground='#928374'></span> {}%",
|
||||
"states": {
|
||||
"critical": 90,
|
||||
"warning": 70
|
||||
}
|
||||
},
|
||||
"modules-center": [
|
||||
"hyprland/workspaces"
|
||||
],
|
||||
"modules-left": [
|
||||
"group/system"
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/progress",
|
||||
"custom/systemd",
|
||||
"group/tray",
|
||||
"pulseaudio",
|
||||
"backlight",
|
||||
"battery",
|
||||
"clock",
|
||||
"custom/dunst"
|
||||
],
|
||||
"network": {
|
||||
"format-disconnected": " <span foreground='#928374'></span> ",
|
||||
"format-ethernet": "<span foreground='#928374'></span> {ifname}",
|
||||
"format-linked": "<span foreground='#928374'></span> {ifname}",
|
||||
"format-wifi": "<span foreground='#928374'></span> {essid}",
|
||||
"interval": 2,
|
||||
"tooltip-format": "{ifname}: {ipaddr}/{cidr}\n {bandwidthDownBits}\n {bandwidthUpBits}"
|
||||
},
|
||||
"output": [
|
||||
"DP-3",
|
||||
"eDP-1"
|
||||
],
|
||||
"pulseaudio": {
|
||||
"format": "<span foreground='#928374'>{icon}</span> {volume}% {format_source}",
|
||||
"format-bluetooth": "<span foreground='#928374'>{icon}</span> {volume}% {format_source}",
|
||||
"format-bluetooth-muted": "<span foreground='#928374'> {icon}</span> {format_source}",
|
||||
"format-icons": {
|
||||
"car": "",
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"hands-free": "",
|
||||
"headphone": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": ""
|
||||
},
|
||||
"format-muted": "<span foreground='#928374'></span> {format_source}",
|
||||
"format-source": "<span foreground='#928374'></span> {volume}%",
|
||||
"format-source-muted": "<span foreground='#928374'></span>",
|
||||
"on-click": "/nix/store/2894dhb9zixl8a46hai9rh20k91mw5p3-pavucontrol-6.1/bin/pavucontrol",
|
||||
"on-click-middle": "/nix/store/xfwsp8vl887ks0hbb227i0fj4lijz082-helvum-0.5.1/bin/helvum",
|
||||
"on-scroll-down": "volume-control.sh --dec",
|
||||
"on-scroll-up": "volume-control.sh --inc"
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 12,
|
||||
"rotate": 0,
|
||||
"spacing": 5
|
||||
}
|
||||
}
|
||||
]
|
||||
163
modules/home/programs/waybar/config/style.css
Normal file
163
modules/home/programs/waybar/config/style.css
Normal file
@@ -0,0 +1,163 @@
|
||||
* {
|
||||
all: unset;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family:
|
||||
Input Mono Narrow Light,
|
||||
"Font Awesome 6 Free Solid";
|
||||
font-size: 14px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
color: #fbf1c7;
|
||||
background-color: rgba(43, 45, 50, 0.5);
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 6px;
|
||||
margin: 0 0px;
|
||||
background-color: transparent;
|
||||
color: #fbf1c7;
|
||||
border-top: 3px solid transparent;
|
||||
border-bottom: 3px solid transparent;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
color: #ebdbb2;
|
||||
animation: ws_active 0s ease-in-out 1;
|
||||
transition: all 0.2s cubic-bezier(0.55, -0.68, 0.48, 1.682);
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: #fbf1c7;
|
||||
animation: ws_active 0s ease-in-out 1;
|
||||
transition: all 0.2s cubic-bezier(0.55, -0.68, 0.48, 1.682);
|
||||
}
|
||||
|
||||
#custom-logo {
|
||||
font-size: 16px;
|
||||
background-image: url("assets/button.svg");
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 18px 15px;
|
||||
}
|
||||
|
||||
#custom-trayicon {
|
||||
color: #fbf1c7;
|
||||
background: transparent;
|
||||
opacity: 1;
|
||||
margin: 1px 0px 0px 0px;
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#custom-mail,
|
||||
#battery.warning,
|
||||
#disk.warning,
|
||||
#memory.warning,
|
||||
#cpu.warning,
|
||||
#custom-dnd.dnd-notification,
|
||||
#custom-dnd.dnd-none {
|
||||
border-top: 3px solid #282828;
|
||||
border-bottom: 3px solid #c35e0a;
|
||||
}
|
||||
|
||||
#custom-systemd,
|
||||
#battery.critical,
|
||||
#disk.critical,
|
||||
#memory.critical,
|
||||
#cpu.critical,
|
||||
#custom-yubikey,
|
||||
#custom-recording {
|
||||
border-top: 3px solid #282828;
|
||||
border-bottom: 3px solid #c14a4a;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
border-top: 3px solid #282828;
|
||||
border-bottom: 3px solid #4c7a5d;
|
||||
}
|
||||
|
||||
#pulseaudio,
|
||||
#custom-systemd,
|
||||
#custom-mail,
|
||||
#network,
|
||||
#cpu,
|
||||
#disk,
|
||||
#memory,
|
||||
#backlight,
|
||||
#battery,
|
||||
#clock {
|
||||
padding: 0 3px;
|
||||
margin: 0 3px;
|
||||
}
|
||||
|
||||
#custom-dnd,
|
||||
#custom-recording,
|
||||
#language {
|
||||
padding: 0;
|
||||
margin: 0 6px;
|
||||
}
|
||||
|
||||
#backlight,
|
||||
#battery,
|
||||
#clock,
|
||||
#cpu,
|
||||
#custom-mail,
|
||||
#custom-progress,
|
||||
#custom-recording,
|
||||
#custom-systemd,
|
||||
#custom-usbguard,
|
||||
#custom-yubikey,
|
||||
#disk,
|
||||
#memory,
|
||||
#mode,
|
||||
#network,
|
||||
#pulseaudio {
|
||||
color: #fbf1c7;
|
||||
}
|
||||
|
||||
#custom-dunst,
|
||||
#custom-mako {
|
||||
color: #fbf1c7;
|
||||
background: transparent;
|
||||
padding-right: 6px;
|
||||
padding-left: 4px;
|
||||
/* font-size: 14px; */
|
||||
}
|
||||
|
||||
#tray menu * {
|
||||
background-color: rgba(50, 48, 47, 0.9);
|
||||
font-family: "Input Sans Compressed";
|
||||
padding: 2px 2px;
|
||||
}
|
||||
|
||||
#tray menu menuitem:hover {
|
||||
color: #4c7a5d;
|
||||
}
|
||||
|
||||
#tray {
|
||||
padding: 0px 5px;
|
||||
}
|
||||
|
||||
#tray > .passive {
|
||||
-gtk-icon-effect: dim;
|
||||
}
|
||||
|
||||
@keyframes needs-attention {
|
||||
to {
|
||||
background-color: rgba(235, 77, 75, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
#tray > .needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
animation-name: needs-attention;
|
||||
animation-duration: 1s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
background-color: transparent;
|
||||
}
|
||||
Reference in New Issue
Block a user