dev #19
					 8 changed files with 504 additions and 347 deletions
				
			
		|  | @ -1,42 +0,0 @@ | ||||||
| // |  | ||||||
| // ~/.config/waybar/config |  | ||||||
| // |  | ||||||
| 
 |  | ||||||
| [{ |  | ||||||
|     "name": "toggle", |  | ||||||
| 
 |  | ||||||
|     "mode": "hide", |  | ||||||
|     "ipc": true, |  | ||||||
| 
 |  | ||||||
|     "position": "top", |  | ||||||
|     "height": 25, |  | ||||||
|     "spacing": 4,  |  | ||||||
|     "margin": "-25px 0 0 0", // Show this bar on top of the other one, seemingly the "same" one. |  | ||||||
| 
 |  | ||||||
|     "custom/sep": { |  | ||||||
|         "format": "\uf142" |  | ||||||
|     }, |  | ||||||
| 
 |  | ||||||
|     "include": [ |  | ||||||
|         // Import modules (!) |  | ||||||
|         "~/.config/waybar/modules.json",  |  | ||||||
| //      "~/.config/waybar/default.json" |  | ||||||
|         "~/.config/waybar/left.json" |  | ||||||
|     ], |  | ||||||
| 
 |  | ||||||
| },  |  | ||||||
| 
 |  | ||||||
| { |  | ||||||
|     "name": "keep", |  | ||||||
|     "position": "top", |  | ||||||
|     "height": 25, |  | ||||||
|     "modules-left": ["sway/mode"], |  | ||||||
|     "modules-center": ["clock"], |  | ||||||
|     "modules-right": ["privacy", "keyboard-state"], |  | ||||||
| 
 |  | ||||||
|     "include": [ |  | ||||||
|         // Import modules (!) |  | ||||||
|         "~/.config/waybar/modules.json" |  | ||||||
|     ], |  | ||||||
| }] |  | ||||||
| 
 |  | ||||||
							
								
								
									
										60
									
								
								stow/waybar/.config/waybar/config.jsonc
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								stow/waybar/.config/waybar/config.jsonc
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,60 @@ | ||||||
|  | /* * * * * * * * * * * * * * * * * | ||||||
|  |  *                               * | ||||||
|  |  * ~/.config/waybar/config.jsonc * | ||||||
|  |  *                               * | ||||||
|  |  * * * * * * * * * * * * * * * * */ | ||||||
|  | 
 | ||||||
|  | [ | ||||||
|  |     /* Always visible, contains less information */ | ||||||
|  |     { | ||||||
|  |         "name": "keep", | ||||||
|  |         "position": "top", | ||||||
|  |         "height": 26, | ||||||
|  |         "modules-left": [ | ||||||
|  |             "group/mode" | ||||||
|  |         ], | ||||||
|  |         "modules-center": [ | ||||||
|  |             "clock#center" | ||||||
|  |         ], | ||||||
|  |         "modules-right": [ | ||||||
|  |             "keyboard-state#numlock", | ||||||
|  |             "keyboard-state#capslock", | ||||||
|  |             "privacy" | ||||||
|  |         ], | ||||||
|  |         "include": [ | ||||||
|  |             "~/.config/waybar/modules.json" | ||||||
|  |         ] | ||||||
|  |     }, | ||||||
|  | 
 | ||||||
|  |     /* Toggle this bar, contains all information */ | ||||||
|  |     { | ||||||
|  |         "name": "toggle", | ||||||
|  |         "mode": "hide", | ||||||
|  |         "ipc": true, | ||||||
|  |         "position": "top", | ||||||
|  |         "height": 26, | ||||||
|  |         /* Show this bar on top of the other one, seemingly replacing it. */ | ||||||
|  |         "margin": "-26px 0 0 0", | ||||||
|  |         "modules-left": [ | ||||||
|  |             "custom/meta", | ||||||
|  |             "sway/window", | ||||||
|  |             "group/workspaces", | ||||||
|  |             "custom/scratchpad-indicator", | ||||||
|  |         ], | ||||||
|  |         "modules-center": [ | ||||||
|  |             "mpris" | ||||||
|  |         ], | ||||||
|  |         "modules-right": [ | ||||||
|  |             "privacy", | ||||||
|  |             "tray", | ||||||
|  |             "group/control-center", | ||||||
|  |             "group/network", | ||||||
|  |             "pulseaudio", | ||||||
|  |             "group/power", | ||||||
|  |             "clock#bar" | ||||||
|  |         ], | ||||||
|  |         "include": [ | ||||||
|  |             "~/.config/waybar/modules.json" | ||||||
|  |         ] | ||||||
|  |     } | ||||||
|  | ] | ||||||
|  | @ -2,16 +2,15 @@ | ||||||
|     "modules-left": [ |     "modules-left": [ | ||||||
|         "sway/workspaces", |         "sway/workspaces", | ||||||
|         "custom/scratchpad-indicator", |         "custom/scratchpad-indicator", | ||||||
|         "mpris", |  | ||||||
|         "group/system" |         "group/system" | ||||||
|     ], |     ], | ||||||
|     "modules-right": [ |     "modules-right": [ | ||||||
|         "group/hardware", |         "tray", | ||||||
|  |         "sway/language", | ||||||
|         "bluetooth", |         "bluetooth", | ||||||
|         "network", |         "network", | ||||||
|         "pulseaudio", |         "pulseaudio", | ||||||
|         "group/battery", |         "group/battery", | ||||||
|         "custom/sep", |         "mpris" | ||||||
|         "tray" |  | ||||||
|     ] |     ] | ||||||
| } | } | ||||||
|  |  | ||||||
							
								
								
									
										80
									
								
								stow/waybar/.config/waybar/modern.css
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										80
									
								
								stow/waybar/.config/waybar/modern.css
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,80 @@ | ||||||
|  | @define-color foreground rgb(202, 202, 202); | ||||||
|  | @define-color background rgb(  3,   3,   3); | ||||||
|  | 
 | ||||||
|  | @define-color highlight-background alpha(@foreground, 0.4); | ||||||
|  | 
 | ||||||
|  | @define-color accent #00897b; | ||||||
|  | @define-color white #ecf0f1; | ||||||
|  | @define-color warning-red #eb4d4b; | ||||||
|  | 
 | ||||||
|  | * { | ||||||
|  |     font-family: letter, "Font Awesome 6 Free", font-awesome, monospace; | ||||||
|  |     font-size: 13px; | ||||||
|  |     font-weight: 600; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | window#waybar { | ||||||
|  |     border: none; | ||||||
|  |     color: @white; | ||||||
|  | 
 | ||||||
|  |     transition-property: background-color; | ||||||
|  |     transition-duration: .5s; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | window#waybar.keep { | ||||||
|  |     background-color: @transparent; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | window#waybar.toggle { | ||||||
|  |     background-color: alpha(@foreground, 0.4); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | tooltip { | ||||||
|  |   background: alpha(@background, 0.8); | ||||||
|  | } | ||||||
|  | tooltip label { | ||||||
|  |   color: @white; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | #workspaces button { | ||||||
|  |     border: none; | ||||||
|  |     padding: 0 8px; | ||||||
|  |     border-radius: 5px; | ||||||
|  |     animation: ws_normal 20s ease-in-out 1; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | #mode, | ||||||
|  | #workspaces button.focused { | ||||||
|  |     background-color: alpha(@background, 0.2); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | #workspaces button:hover { | ||||||
|  |     background-color: alpha(@background, 0.2); | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | #battery, | ||||||
|  | #disk, | ||||||
|  | #bluetooth, | ||||||
|  | #clock, | ||||||
|  | #custom-browser, | ||||||
|  | #custom-scratchpad-indicator, | ||||||
|  | #custom-system-hibernate, #custom-system-lock, #custom-system-reboot, #custom-system-shutdown, #custom-system-sleep, | ||||||
|  | #custom-toggle-light-dark, | ||||||
|  | #custom-toggle-night-light, | ||||||
|  | #custom-toggle-notifications, | ||||||
|  | #cpu, | ||||||
|  | #idle_inhibitor, | ||||||
|  | #keyboard-state, | ||||||
|  | #memory, | ||||||
|  | #mpris, | ||||||
|  | #network, | ||||||
|  | #sway-language, | ||||||
|  | #sway-window, | ||||||
|  | #power-profiles-daemon, | ||||||
|  | #privacy, | ||||||
|  | #pulseaudio, | ||||||
|  | #temperature, | ||||||
|  | #tray { | ||||||
|  |     color: @white; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | @ -2,31 +2,28 @@ | ||||||
|     "battery": { |     "battery": { | ||||||
|         "format": "{capacity}% {icon}", |         "format": "{capacity}% {icon}", | ||||||
|         "format-alt": "{time} {icon}", |         "format-alt": "{time} {icon}", | ||||||
|         "format-charging": "{capacity}% \uf0e7 {icon}", |         "format-charging": "{capacity}% \ue55b", /*   */ | ||||||
|         "format-icons": ["\uf244", "\uf243", "\uf242", "\uf241", "\uf240"], |  | ||||||
|         "format-plugged": "{capacity}% \ue55c", |         "format-plugged": "{capacity}% \ue55c", | ||||||
|        	"states": { |         "format-icons": [ | ||||||
|             "warning": 30, |             "\uf244", /*   */ | ||||||
|             "critical": 15 |             "\uf243", /*   */ | ||||||
|  |             "\uf242", /*   */ | ||||||
|  |             "\uf241", /*   */ | ||||||
|  |             "\uf240"  /*   */ | ||||||
|  |         ], | ||||||
|  |         "states": { | ||||||
|  |             "warning": 25, | ||||||
|  |             "critical": 12 | ||||||
|         } |         } | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "disk": { |  | ||||||
|         "interval": 30,  |  | ||||||
|         "format": "{percentage_used}% \uf0a0",  |  | ||||||
|         "on-click": "kitty -e duf /", |  | ||||||
|         "path": "/", |  | ||||||
|         "tooltip-format": "{used} used out of {total} on {path} ({percentage_free}% or {free} free)" |  | ||||||
|     }, |  | ||||||
| 
 |  | ||||||
|     "bluetooth": { |     "bluetooth": { | ||||||
|         "format-disabled": "<big>\uf294</big>", |         "format-disabled": "\uf294", /*  */ | ||||||
|         "format-off": "\uf294", |         "format-off": "\uf294", /*  */ | ||||||
|         "format-on": "<big>\uf294</big>", |         "format-on": "<big>\uf294</big>", /*  */ | ||||||
|         "format-connected": "<big>\uf294</big>c", |         "format-connected": "<big>\uf294</big>c", /* c */ | ||||||
|         "max-length": 10.3, |         "max-length": 10.3, | ||||||
|         "on-click": "bluetoothctl power $( bluetoothctl show | sed -n 's/\\s*Powered: \\(yes\\|no\\)/\\1/p' | sed 's/yes/off/;s/no/on/' )", |         "on-click": "bluetoothctl power $( bluetoothctl show | sed -n 's/\\s*Powered: \\(yes\\|no\\)/\\1/p' | sed 's/yes/off/;s/no/on/' )", | ||||||
|         "on-click-right": "kitty -e bluetoothctl", |  | ||||||
|         "tooltip-format": "{status}", |         "tooltip-format": "{status}", | ||||||
|         "tooltip-format-on": "{status}, no devices connected", |         "tooltip-format-on": "{status}, no devices connected", | ||||||
|         "tooltip-format-connected": "{status} ({num_connections}):\n{device_enumerate}",  |         "tooltip-format-connected": "{status} ({num_connections}):\n{device_enumerate}",  | ||||||
|  | @ -34,116 +31,195 @@ | ||||||
|         "tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}" |         "tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}" | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "clock": { |     "clock#center": { | ||||||
|         "format": "{:%H:%M}", |         "format": "{:%H:%M}", | ||||||
|         "format-alt": "{:%d/%m/%Y %H:%M}", |         "format-alt": "{:%a %b %d, %Y, %R}", | ||||||
|         "timezone": "Europe/Brussels", |         "timezone": "Europe/Brussels", | ||||||
|         "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>" |         "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", | ||||||
|  |         "calendar": { | ||||||
|  |             "mode": "month", | ||||||
|  |             "week-pos": "left", | ||||||
|  |             "format": { | ||||||
|  |                 /* Highlight todays date. */ | ||||||
|  |                 "today": "<span background='#ffffff' color='#000000'><b>{}</b></span>" | ||||||
|  |             } | ||||||
|  |         }, | ||||||
|  |         "actions": { | ||||||
|  |             "on-click": "mode" | ||||||
|  |         } | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "custom/browser": { |     "clock#bar": { | ||||||
|         "format": "\uf120", |         "format": "{:%a %b %d, %R}", | ||||||
|         "on-click": "dmenu_run", |         "timezone": "Europe/Brussels", | ||||||
|         "tooltip-format": "Launch an application" |         "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", | ||||||
|  |         "calendar": { | ||||||
|  |             "mode-mon-col": 3, | ||||||
|  |             "on-scroll": 1, | ||||||
|  |             "format": { | ||||||
|  |                 /* Highlight today's date. */ | ||||||
|  |                 "today": "<span background='#FFFFFF' color='#000000'><b>{}</b></span>" | ||||||
|  |             } | ||||||
|  |         }, | ||||||
|  |         "actions": { | ||||||
|  |             "on-click": "mode" | ||||||
|  |         } | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "custom/light-dark-toggle": { |     "custom/control-center": { | ||||||
|         "exec": "bash ${SCRIPT_DIR}/toggle-light-dark.sh -g", |         "format": "\uf085", /*   */ | ||||||
|         "exec-on-event": true, |         "tooltip": false | ||||||
|         "on-click": "bash ${SCRIPT_DIR}/toggle-light-dark.sh", |  | ||||||
|         // "format": "\uf042 ", |  | ||||||
|         "format": "{icon}", |  | ||||||
|         "format-icons": [ |  | ||||||
|             "\uf185", |  | ||||||
|             "\uf111" |  | ||||||
|         ], |  | ||||||
|         "tooltip": true, |  | ||||||
|         "tooltip-format": "Toggle between light and dark mode" |  | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "custom/keyboard-switch": { |     "custom/meta": { | ||||||
|         "format": "\uf11c", |         "format": "\uf17c", /*  */ | ||||||
|         "on-click": "swaymsg input type:keyboard xkb_switch_layout next", |         "tooltip": false, | ||||||
|         "tooltip-format": "Toggle keyboard layouts", |         "on-click": "dmenu_run" | ||||||
|         "tooltip": true |  | ||||||
|     }, |  | ||||||
| 
 |  | ||||||
|     "custom/night-light-toggle": { |  | ||||||
|         "on-click": "bash ${SCRIPT_DIR}/sunset.sh", |  | ||||||
|         "format": "\uf0eb ", |  | ||||||
|         "tooltip": true, |  | ||||||
|         "tooltip-format": "Toggle night-light on or off" |  | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "custom/scratchpad-indicator": { |     "custom/scratchpad-indicator": { | ||||||
|         "interval": 3, |         "interval": 3, | ||||||
|         "return-type": "json", |         "return-type": "json", | ||||||
|         "exec": "swaymsg -t get_tree | jq --unbuffered --compact-output '(recurse(.nodes[]) | select(.name == \"__i3_scratch\") | .focus) as $scratch_ids | [..  | (.nodes? + .floating_nodes?) // empty | .[] | select(.id |IN($scratch_ids[]))] as $scratch_nodes | if ($scratch_nodes|length) > 0 then { text: \"\\($scratch_nodes | length)\", tooltip: $scratch_nodes | map(\"\\(.app_id // .window_properties.class) (\\(.id)): \\(.name)\") | join(\"\\n\") } else empty end'", |         "exec": "swaymsg -t get_tree | jq --unbuffered --compact-output '(recurse(.nodes[]) | select(.name == \"__i3_scratch\") | .focus) as $scratch_ids | [..  | (.nodes? + .floating_nodes?) // empty | .[] | select(.id |IN($scratch_ids[]))] as $scratch_nodes | if ($scratch_nodes|length) > 0 then { text: \"\\($scratch_nodes | length)\", tooltip: $scratch_nodes | map(\"\\(.app_id // .window_properties.class) (\\(.id)): \\(.name)\") | join(\"\\n\") } else empty end'", | ||||||
|         "format": "{} \uf2d2", |         "format": "\uf2d2 {}", | ||||||
|         "on-click": "exec swaymsg 'scratchpad show'", |         "on-click": "exec swaymsg 'scratchpad show'", | ||||||
|         "on-click-right": "exec swaymsg 'move scratchpad'" |         "on-click-right": "exec swaymsg 'move scratchpad'" | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "custom/system-lock": { |     "custom/system-lock": { | ||||||
|         "format": "\uf09c", |         "format": "\uf09c", /*  */ | ||||||
|         "tooltip": true, |         "tooltip": true, | ||||||
|         "tooltip-format": "Lock device", |         "tooltip-format": "Lock device", | ||||||
|         "on-click": "swaylock -f" |         "on-click": "swaylock -f" | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "custom/system-sleep": { |     "custom/system-sleep": { | ||||||
|         "format": "\uf186", |         "format": "\uf186", /*  */ | ||||||
|         "tooltip": true, |         "tooltip": true, | ||||||
|         "tooltip-format": "Put device to sleep", |         "tooltip-format": "Put device to sleep", | ||||||
|         "on-click": "swaylock -f; systemctl suspend" |         "on-click": "swaylock -f; systemctl suspend" | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "custom/system-hibernate": { |     "custom/system-hibernate": { | ||||||
|         "format": "\uf2dc", |         "format": "\uf2dc", /*  */ | ||||||
|         "tooltip": true, |         "tooltip": true, | ||||||
|         "tooltip-format": "Hibernate device", |         "tooltip-format": "Hibernate device", | ||||||
|         "on-click": "swaylock -f; systemctl hibernate" |         "on-click": "swaylock -f; systemctl hibernate" | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "custom/system-reboot": { |     "custom/system-reboot": { | ||||||
|         "format": "\uf0e2", |         "format": "\uf0e2", /*  */ | ||||||
|         "tooltip": true, |         "tooltip": true, | ||||||
|         "tooltip-format": "Reboot device", |         "tooltip-format": "Reboot device", | ||||||
|         "on-click": "systemctl reboot" |         "on-click": "systemctl reboot" | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "custom/system-shutdown": { |     "custom/system-shutdown": { | ||||||
|         "format": "\uf011", |         "format": "\uf011", /*  */ | ||||||
|         "tooltip": true, |         "tooltip": true, | ||||||
|         "tooltip-format": "Shutdown device", |         "tooltip-format": "Shutdown device", | ||||||
|         "on-click": "systemctl poweroff -i" |         "on-click": "systemctl poweroff -i" | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|  |     "custom/toggle-light-dark": { | ||||||
|  |         "exec": "sleep 1 && bash ~/projects/sisyphus/scripts/toggle-light-dark.sh -g", | ||||||
|  |         "return-type": "json", | ||||||
|  |         "on-click": "bash ~/projects/sisyphus/scripts/toggle-light-dark.sh", | ||||||
|  |         "format": "{icon}", | ||||||
|  |         "format-icons": { | ||||||
|  |             "default": "\uf185", | ||||||
|  |             "prefer-dark": "\uf005" | ||||||
|  |         }, | ||||||
|  |         "tooltip": true | ||||||
|  |     }, | ||||||
|  | 
 | ||||||
|     "custom/toggle-notifications": { |     "custom/toggle-notifications": { | ||||||
|         "on-click": "bash ${SCRIPT_DIR}/do-not-disturb.sh", |         "exec": "sleep 6 && bash ~/projects/sisyphus/scripts/toggle-notifications.sh -g", | ||||||
|         "tooltip-format": "Toggle notifications", |         "return-type": "json", | ||||||
|         "format": "\uf1f6 ", |         "on-click": "bash ~/projects/sisyphus/scripts/toggle-notifications.sh", | ||||||
|  |         "format": "NOTIS {icon}", | ||||||
|  |         "format-icons": { | ||||||
|  |             "normal": "NRML", | ||||||
|  |             "paused": "PAISED" | ||||||
|  |         }, | ||||||
|         "tooltip": true |         "tooltip": true | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "cpu": { |     "custom/toggle-tailscale": { | ||||||
|         "format": "{usage}% \uf2db", |         "exec": "sleep 2 && bash ~/projects/sisyphus/scripts/toggle-tailscale.sh -g", | ||||||
|         "on-click": "foot -e htop", |         "return-type": "json", | ||||||
|  |         "on-click": "bash ~/projects/sisyphus/scripts/toggle-tailscale.sh", | ||||||
|  |         "format": "{icon}", | ||||||
|  |         "format-icons": { | ||||||
|  |             "disconnected": "\ue50b", | ||||||
|  |             "connected": "\ue509", | ||||||
|  |         }, | ||||||
|         "tooltip": true |         "tooltip": true | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "group/battery": { |     "group/control-center": { | ||||||
|         "orientation": "inherit", |         "orientation": "inherit", | ||||||
|         "modules": [ |         "modules": [ | ||||||
|  |             "custom/control-center", | ||||||
|  |             "group/language", | ||||||
|  |             /* "hyprland/language", "sway/language", */ | ||||||
|  |             "custom/toggle-notifications", | ||||||
|  |             "custom/toggle-light-dark", | ||||||
|  |             "bluetooth" | ||||||
|  |         ], | ||||||
|  |         "drawer": { | ||||||
|  |             "transition-duration": 500, | ||||||
|  |             "transition-left-to-right": false, | ||||||
|  |             "children-class": "drawer-child" | ||||||
|  |         } | ||||||
|  |     }, | ||||||
|  | 
 | ||||||
|  |     "group/language": { | ||||||
|  |         "orientation": "inherit", | ||||||
|  |         "modules": [ | ||||||
|  |             "hyprland/language", | ||||||
|  |             "sway/language" | ||||||
|  |         ] | ||||||
|  |     }, | ||||||
|  | 
 | ||||||
|  |     "group/mode": { | ||||||
|  |         "orientation": "inherit", | ||||||
|  |         "modules": [ | ||||||
|  |             "hyprland/submap", | ||||||
|  |             "sway/mode" | ||||||
|  |         ] | ||||||
|  |     }, | ||||||
|  | 
 | ||||||
|  |     "group/network": { | ||||||
|  |         "orientation": "inherit", | ||||||
|  |         "modules": [ | ||||||
|  |             /* Preview */ | ||||||
|  |             "network", | ||||||
|  |             /* Most-left */ | ||||||
|  |             "custom/toggle-tailscale" | ||||||
|  |             /* Most-right */ | ||||||
|  |         ], | ||||||
|  |         "drawer": { | ||||||
|  |             "transition-duration": 500, | ||||||
|  |             "transition-left-to-right": false, | ||||||
|  |             "children-class": "drawer-child" | ||||||
|  |         } | ||||||
|  |     }, | ||||||
|  | 
 | ||||||
|  |     "group/power": { | ||||||
|  |         "orientation": "inherit", | ||||||
|  |         "modules": [ | ||||||
|  |             /* Preview */ | ||||||
|             "battery", |             "battery", | ||||||
|  |             /* Most-left */ | ||||||
|             "custom/system-shutdown", |             "custom/system-shutdown", | ||||||
|             "custom/system-reboot", |             "custom/system-reboot", | ||||||
|             "custom/system-hibernate", |             "custom/system-hibernate", | ||||||
|             "custom/system-sleep", |             "custom/system-sleep", | ||||||
|             "custom/system-lock", |             "custom/system-lock", | ||||||
|             "custom/sep", |  | ||||||
|             "power-profiles-daemon", |             "power-profiles-daemon", | ||||||
|             "custom/sep" |             "idle_inhibitor" | ||||||
|  |             /* Most-right */ | ||||||
|         ], |         ], | ||||||
|         "drawer": { |         "drawer": { | ||||||
|             "transition-duration": 500, |             "transition-duration": 500, | ||||||
|  | @ -152,97 +228,157 @@ | ||||||
|         } |         } | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "group/hardware": { |     "group/workspaces": { | ||||||
|         "orientation": "inherit", |         "orientation": "inherit", | ||||||
|         "modules": [ |         "modules": [ | ||||||
|             "custom/sep", |             "hyprland/workspaces", | ||||||
|             "memory", |             "sway/workspaces" | ||||||
|             "cpu", |         ] | ||||||
|             "temperature" |  | ||||||
|         ], |  | ||||||
|         "drawer": { |  | ||||||
|             "transition-duration": 500, |  | ||||||
|             "transition-left-to-right": false, |  | ||||||
|             "children-class": "drawer-child" |  | ||||||
|         } |  | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "group/system": { |     "hyprland/language": { | ||||||
|         "orientation": "inherit", |         "format": "\uf11c", | ||||||
|         "modules": [ |         "on-click": "hyprctl switchxkblayout at-translated-set-2-keyboard next && notify-send \"$(hyprctl devices -j | jq -r '.keyboards[] | select(.name == \"at-translated-set-2-keyboard\") | .active_keymap')\" --app-name 'waybar'", | ||||||
|             "idle_inhibitor", |         "tooltip": true, | ||||||
|             "custom/light-dark-toggle", |         "tooltip-format": "Switch keyboard layouts", | ||||||
|             "custom/night-light-toggle", |         "keyboard-name": "at-translated-set-2-keyboard" | ||||||
|             "custom/keyboard-switch", |     }, | ||||||
|             "custom/toggle-notifications" | 
 | ||||||
|         ], |     "hyprland/workspaces": { | ||||||
|         "drawer": { |         "all-outputs": false, | ||||||
|             "transition-duration": 500, |         "disable-scroll": true, | ||||||
|             "tansition-left-to-right": true, |         "format": "{icon}{name}", | ||||||
|             "children-class": "drawer-child" |         "format-icons": { | ||||||
|  |             "default": "", | ||||||
|  |             "urgent": "\uf071 " /*   */ | ||||||
|         } |         } | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "idle_inhibitor": { |     "idle_inhibitor": { | ||||||
|         "format": "{icon}", |         "format": "{icon}", | ||||||
|         "format-icons": { |         "format-icons": { | ||||||
|             "activated": "\uf06e", |             "activated": "\uf06e",  /*   */ | ||||||
|             "deactivated": "\uf070" |             "deactivated": "\uf070" /*   */ | ||||||
|         }, |         }, | ||||||
|         "tooltip": false |         "tooltip": false | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "keyboard-state": { |     "keyboard-state#capslock": { | ||||||
|  |         "capslock": true, | ||||||
|         "format": { |         "format": { | ||||||
|             "capslock": "{icon}" |             "capslock": "{icon}" | ||||||
|         }, |         }, | ||||||
|         "format-icons": { |         "format-icons": { | ||||||
|             "locked": "\uf023", |             "locked": "\uf11c", /*   */ | ||||||
|             "unlocked": "" |             "unlocked": "" | ||||||
|         }, |         } | ||||||
|         "numlock": false, |  | ||||||
|         "capslock": true, |  | ||||||
|         "scrollock": false |  | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "memory": { |     "keyboard-state#numlock": { | ||||||
|         "format": "{}% \uf1c0", |         "numlock": true, | ||||||
|         "on-click": "kitty -e zenith" |         "format": { | ||||||
|  |             "numlock": "{icon}" | ||||||
|  |         }, | ||||||
|  |         "format-icons": { | ||||||
|  |             "locked": "\uf1ec", /*  */ | ||||||
|  |             "unlocked": "" | ||||||
|  |         } | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "mpris": { |     "mpris": { | ||||||
|         // "ignored-players": ["firefox"] |  | ||||||
|         "format": "{player_icon} {dynamic}", |         "format": "{player_icon} {dynamic}", | ||||||
|         "format-paused": "{status_icon} <i>{dynamic}</i>", |         "format-paused": "{status_icon} <i>{dynamic}</i>", | ||||||
|         "tooltip-format": "{player} ({status}) {title} - {artist} - {album}", |         "tooltip-format": "{player} ({status}) {title} - {artist} - {album}", | ||||||
|         "player-icons": { |         "player-icons": { | ||||||
|             "default": "\uf51f", |             "default": "\uf8d9", /*   */ | ||||||
|             "spotify": "\uf1bc", |             "mpv": "\uf144", /*   */ | ||||||
|             "mpv": "🎵" |             "spotify": "\uf1bc" /*   */ | ||||||
|         }, |         }, | ||||||
|         "status-icons": { |         "status-icons": { | ||||||
|             "paused": "⏸" |             "paused": "\uf04c" /*  */ | ||||||
|         }, |         }, | ||||||
|         "dynamic-order": [ |         "dynamic-order": [ | ||||||
|             "title", |             "title", | ||||||
|             "artist" |             "artist" | ||||||
|         ], |         ], | ||||||
|         "dynamic-len": 40, |         "dynamic-len": 40 | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "network": { |     "network": { | ||||||
|         "format-disconnected": "\uf127",  |         "format-disconnected": "\uf127", /*   */ | ||||||
|         "format-ethernet": "\uf6ff {ifname}: {ipadds}/{cidr}", |         "format-ethernet": "\uf6ff", /*   */ | ||||||
|         "format-wifi": "\uf1eb", |         "format-linked": "\uf0c1", /*   */ | ||||||
|  |         "format-wifi": "{icon}", | ||||||
|         "interval": 5, |         "interval": 5, | ||||||
|         "on-click-right": "kitty -e nmtui", |         "tooltip": true, | ||||||
|         "tooltip-format": "{ifname}: {ipaddr}", |         "tooltip-format": "{ifname}: {ipaddr}", | ||||||
|         "tooltip-format-disconnected": "Disconnected", |         "tooltip-format-disconnected": "Disconnected", | ||||||
|         "tooltip-format-wifi": "{essid} ({signalStrength}%)\n{ifname}: {ipaddr}" |         "tooltip-format-wifi": "{essid} ({signalStrength}%)\n{ifname}: {ipaddr}", | ||||||
|  |         "format-icons": [ | ||||||
|  |             "\uf05e", /*   */ | ||||||
|  |             "\uf1eb", /*   */ | ||||||
|  |             "\uf1eb" /*   */ | ||||||
|  |         ] | ||||||
|  |     }, | ||||||
|  | 
 | ||||||
|  |     "power-profiles-daemon": { | ||||||
|  |         "format": "{icon}", | ||||||
|  |         "format-icons": { | ||||||
|  |             "default": "\uf110", /*   */ | ||||||
|  |             "performance": "\uf135", /*   */ | ||||||
|  |             "balanced": "\uf24e", /*   */ | ||||||
|  |             "power-saver": "\uf06c" /*   */ | ||||||
|  |         }, | ||||||
|  |         "tooltip": true, | ||||||
|  |         "tooltip-format": "Profile: {profile}\nDriver: {driver}" | ||||||
|  |     }, | ||||||
|  | 
 | ||||||
|  |     "privacy": { | ||||||
|  |         "transition-duration": 250, | ||||||
|  |         "icon-size": 16, | ||||||
|  |         "modules": [ | ||||||
|  |             { | ||||||
|  |                 "type": "screenshare", | ||||||
|  |                 "tooltip": true | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |                 "type": "audio-in", | ||||||
|  |                 "tooltip": true | ||||||
|  |             } | ||||||
|  |         ] | ||||||
|  |     }, | ||||||
|  | 
 | ||||||
|  |     "pulseaudio": { | ||||||
|  |         "format": "{volume}% {icon}", | ||||||
|  |         "format-headset": "{volume}% \uf58f", /*   */ | ||||||
|  |         "format-muted": "\uf6a9", /*  */ | ||||||
|  |         "format-icons": [ | ||||||
|  |             "\uf026", /*  */ | ||||||
|  |             "\uf027", /*  */ | ||||||
|  |             "\uf028"  /*  */ | ||||||
|  |         ], | ||||||
|  |         "scroll-step": 2.0, | ||||||
|  |         "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" | ||||||
|  |     }, | ||||||
|  | 
 | ||||||
|  |     "sway/language": { | ||||||
|  |         "format": "{short}", | ||||||
|  |         "on-click": "swaymsg input type:keyboard xkb_switch_layout next", | ||||||
|  |         "tooltip": true, | ||||||
|  |         "tooltip-format": "Switch keyboard layouts" | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "sway/window": { |     "sway/window": { | ||||||
|         "max-length": 85 |         "format": "{title}", | ||||||
|  |         "max-length": 20, | ||||||
|  |         "tooltip": true, | ||||||
|  |         "all-outputs": true, | ||||||
|  |         "icon": false, | ||||||
|  |         "icon-size": 18, | ||||||
|  |         "rewrite": { | ||||||
|  |             ".* - (.*)": "$1", | ||||||
|  |             ".* — (.*)": "$1" | ||||||
|  |         } | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "sway/workspaces": { |     "sway/workspaces": { | ||||||
|  | @ -250,72 +386,14 @@ | ||||||
|         "disable-scroll": true, |         "disable-scroll": true, | ||||||
|         "format": "{icon}{name}", |         "format": "{icon}{name}", | ||||||
|         "format-icons": { |         "format-icons": { | ||||||
|             "default": "", // Prevent showing workspace name literal. |             "default": "", | ||||||
|             "urgent": "\uf071 " |             "urgent": "\uf071 " /*   */ | ||||||
|         }, |  | ||||||
|         // "persistent_workspaces": { |  | ||||||
|         //     "0:¯\\_(ツ)_/¯": [] |  | ||||||
|         // } |  | ||||||
|     },  |  | ||||||
| 
 |  | ||||||
|     "power-profiles-daemon": { |  | ||||||
|         "format": "{icon}", |  | ||||||
|         "tooltip-format": "Power profile: {profile}\nDriver: {driver}", |  | ||||||
|         "tooltip": true, |  | ||||||
|         "format-icons": { |  | ||||||
|             "default": "", |  | ||||||
|             "performance": "", |  | ||||||
|             "balanced": "", |  | ||||||
|             "power-saver": "" |  | ||||||
|         } |         } | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     "privacy": { |  | ||||||
|         "icon-spacing": 4, |  | ||||||
|         "icon-size": 18, |  | ||||||
|         "transition-duration": 250, |  | ||||||
|         "modules": [ |  | ||||||
|             { |  | ||||||
|                 "type": "screenshare", |  | ||||||
|                 "tooltip": true, |  | ||||||
|                 "tooltip-icon-size": 18, |  | ||||||
|             }, |  | ||||||
|             { |  | ||||||
|                 "type": "audio-in", |  | ||||||
|                 "tooltip": true, |  | ||||||
|                 "tooltip-icon-size": 18, |  | ||||||
|             }, |  | ||||||
|         ], |  | ||||||
|     }, |  | ||||||
| 
 |  | ||||||
|     "pulseaudio": { |  | ||||||
|         "format": "{volume}% {icon}{format_source}", |  | ||||||
|         "format-muted": "\uf6a9{format_source}", |  | ||||||
|         "format-bluetooth": "{volume}% {icon}\uf294{format_source}", |  | ||||||
|         "format-bluetooth-muted": "\uf6a9 {icon}\uf294{format_source}", |  | ||||||
|         "format-source": " {volume}% \uf130", |  | ||||||
|         "format-source-muted": "", |  | ||||||
|         "format-icons": { |  | ||||||
|             "headphone": "\uf58f", |  | ||||||
|             "hands-free": "\uf590", |  | ||||||
|             "headset": "\uf590", |  | ||||||
|             "phone": "\uf3ce", |  | ||||||
|             "portable": "\uf3ce", |  | ||||||
|             "car": "\uf1b9", |  | ||||||
|             "default": ["\uf026", "\uf027", "\uf028 "] |  | ||||||
|         }, |  | ||||||
|         "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", |  | ||||||
|         "on-click-right": "pavucontrol", |  | ||||||
|         "scroll-step": -2 |  | ||||||
|     }, |  | ||||||
| 
 |  | ||||||
|     "temperature": { |  | ||||||
|         "critical-threshold": 70, |  | ||||||
|         "format": "{temperatureC}°C {icon}", |  | ||||||
|         "format-icons": ["\uf2cb", "\uf2c9", "\uf2c7"] |  | ||||||
|     },  |  | ||||||
| 
 |  | ||||||
|     "tray": { |     "tray": { | ||||||
|  |         "icon-size": 16, | ||||||
|  |         "show-passive-items": true, | ||||||
|         "spacing": 10 |         "spacing": 10 | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
							
								
								
									
										14
									
								
								stow/waybar/.config/waybar/style-dark.css
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								stow/waybar/.config/waybar/style-dark.css
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | ||||||
|  | @import 'style.css'; | ||||||
|  | 
 | ||||||
|  | * { | ||||||
|  |     color: #C2C2C2; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | window#waybar { | ||||||
|  |     background-color: #171717; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | window#waybar button.focused { | ||||||
|  |     background-color: #C2C2C2; | ||||||
|  | } | ||||||
|  | 
 | ||||||
							
								
								
									
										14
									
								
								stow/waybar/.config/waybar/style-light.css
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								stow/waybar/.config/waybar/style-light.css
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | ||||||
|  | @import 'style.css'; | ||||||
|  | 
 | ||||||
|  | * { | ||||||
|  |     color: #171717; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | window#waybar { | ||||||
|  |     background-color: #C2C2C2; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | window#waybar button.focused { | ||||||
|  |     background-color: #171717; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | @ -1,165 +1,119 @@ | ||||||
| /* | /* * * * * * * * * * * * * * * * | ||||||
|  * ~/.config/waybar/style.css |  *                             * | ||||||
|  * |  * ~/.config/waybar/style.css  * | ||||||
|  * `otf-font-awesome` is required to be installed for icons. |  *                             * | ||||||
|  * |  * * * * * * * * * * * * * * * */ | ||||||
|  * Pick your stylesheet:  |  | ||||||
|  * - sharp.css |  | ||||||
|  * - transparent.css |  | ||||||
|  * - round.css |  | ||||||
|  */ |  | ||||||
| 
 | 
 | ||||||
| @define-color transparent-black rgba(23, 23, 23, 0.9);  | @define-color background #C2C2C2; | ||||||
| @define-color white #ecf0f1; | @define-color foreground #171717; | ||||||
| @define-color warning-red #eb4d4b; | 
 | ||||||
| @define-color accent #00897b; | /* Pantone / PMS 18-1559 TCX / Red Alert */ | ||||||
|  | @define-color warning rgb(208,  52,  44); | ||||||
|  | /* Safety orange */ | ||||||
|  | @define-color safety  rgb(255, 103,   0); | ||||||
|  | 
 | ||||||
|  | * { | ||||||
|  |     padding: 0 4px; | ||||||
|  | } | ||||||
| 
 | 
 | ||||||
| window#waybar { | window#waybar { | ||||||
|  |     /* background: linear-gradient(90deg, #CECECE 0%, #D1D1D1 10%, #C9C9C9 50%, #BBBBBB 90%, #BABABA 100%); */ | ||||||
|  | 
 | ||||||
|     font-family: letter, "Font Awesome 6 Free", font-awesome, monospace; |     font-family: letter, "Font Awesome 6 Free", font-awesome, monospace; | ||||||
|     font-size: 13px; |     font-size: 13px; | ||||||
|     -webkit-font-smoothing: antialiased; |     font-weight: 600; | ||||||
|     transition-property: background-color; |  | ||||||
|     transition-duration: .5s; |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #window, #workspaces { | .modules-right, | ||||||
|     margin: 0 5px; | .modules-right > widget:last-child { | ||||||
| } |     padding-right: 0; | ||||||
| 
 |  | ||||||
| #workspaces button { |  | ||||||
|     border: none; |  | ||||||
|     border-radius: 0; |  | ||||||
|     min-width: 30px;  |  | ||||||
|     padding: 0 5px; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| #workspaces button.focused { |  | ||||||
|     background-color: transparent; |  | ||||||
|     color: @white; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| #workspaces button:hover { |  | ||||||
|     background-color: transparent; |  | ||||||
|     color: @transparent-black; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| #workspaces button.urgent { |  | ||||||
|     color: @white;  |  | ||||||
|     background-color: @warning-red; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /* All modules individually. */ |  | ||||||
| #backlight, |  | ||||||
| #battery, |  | ||||||
| #bluetooth, |  | ||||||
| #clock, |  | ||||||
| #cpu, |  | ||||||
| #custom-browser, |  | ||||||
| #custom-light-dark-toggle, |  | ||||||
| #custom-night-light-toggle, |  | ||||||
| #custom-system-lock, #custom-system-sleep, #custom-system-hibernate, #custom-system-reboot, #custom-system-shutdown, |  | ||||||
| #custom-toggle-notifications, |  | ||||||
| #disk, |  | ||||||
| #group-hardware, |  | ||||||
| #group-system, |  | ||||||
| #idle_inhibitor, |  | ||||||
| #keyboard-state, |  | ||||||
| #memory, |  | ||||||
| #mode, |  | ||||||
| #mpd, |  | ||||||
| #mpris, |  | ||||||
| #network, |  | ||||||
| #power-profiles-daemon, |  | ||||||
| #privacy-item.audio-in, #privacy-item.audio-out, #privacy-item.screenshare, |  | ||||||
| #pulseaudio, |  | ||||||
| #temperature, |  | ||||||
| #tray { |  | ||||||
|     padding: 0 5px; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /* If workspaces is the leftmost module, omit left margin */ |  | ||||||
| .modules-left > widget:first-child > #workspaces { |  | ||||||
|     margin-left: 0; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /* If workspaces is the rightmost module, omit right margin */ |  | ||||||
| .modules-right > widget:last-child > #workspaces { |  | ||||||
|     margin-right: 0; |     margin-right: 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| @keyframes blink { | #battery.charging { | ||||||
|     to { |  | ||||||
|         background-color: #ffffff; |  | ||||||
|         color: #000000; |  | ||||||
|     } |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| label:focus { |  | ||||||
|     background-color: #000000; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /* Module specific colours */ |  | ||||||
| 
 |  | ||||||
| #battery.charging, #battery.plugged { |  | ||||||
|     color: #ffffff; |  | ||||||
|     background-color: #26A65B; |     background-color: #26A65B; | ||||||
|  |     color: #FFFFFF; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #battery.critical:not(.charging) { | #battery.critical:not(.charging) { | ||||||
|     background-color: #f53c3c; |     background-color: @warning; | ||||||
|     color: #ffffff; |     color: #FFFFFF; | ||||||
|     animation-name: blink; |     animation-name: blink; | ||||||
|     animation-duration: 0.5s; |     animation-duration: 0.5s; | ||||||
|     animation-timing-function: linear; |     animation-timing-function: steps(12); | ||||||
|  |     animation-iteration-count: infinite; | ||||||
|  |     animation-direction: alternate; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | #battery.plugged { | ||||||
|  |     animation-name: blink; | ||||||
|  |     animation-duration: 1.0s; | ||||||
|  |     animation-timing-function: steps(12); | ||||||
|     animation-iteration-count: infinite; |     animation-iteration-count: infinite; | ||||||
|     animation-direction: alternate; |     animation-direction: alternate; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #bluetooth.disabled, | #bluetooth.disabled, | ||||||
| #bluetooth.off, | #bluetooth.off { | ||||||
| #network.disconnected, |  | ||||||
| #pulseaudio.muted { |  | ||||||
|     opacity: 0.6; |     opacity: 0.6; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #mpris { | #custom-toggle-tailscale.disconnected { | ||||||
|     color: #2a5c45; |     opacity: 0.6; | ||||||
|     min-width: 100px; | } | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | #mpris.Feishin { | ||||||
|  |     background: linear-gradient(45deg, rgba(170,92,195,1) 100%, rgba(0,164,220,1) 0%); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #mpris.spotify { | #mpris.spotify { | ||||||
|     background-color: #66cc99; |     background-color: #66cc99; | ||||||
|  |     color: #2a5c45; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #mpris.vlc { | #mpris.vlc { | ||||||
|     background-color: #ffa000; |     background-color: #ffa000; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #temperature.critical { | #network.disconnected { | ||||||
|     background-color: #eb4d4b; |     opacity: 0.6; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #custom_light-dark-toggle.activated, | #privacy, | ||||||
| #idle_inhibitor.activated { | #privacy-item, | ||||||
|     background-color: #ecf0f1; | #privacy-item.screenshare, | ||||||
|     color: #2d3436; | #privacy-item.audio-in { | ||||||
|  |     background-color: @safety; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | #privacy-item.screenshare { | ||||||
|  |     background-color: #000000; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | #pulseaudio.muted { | ||||||
|  |     opacity: 0.6; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | #systemd-failed-units.degraded { | ||||||
|  |     background-color: @warning; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | #temperature.critical { | ||||||
|  |     background-color: @warning; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | #tray > .needs-attention { | ||||||
|  |     -gtk-icon-effect: highlight; | ||||||
|  |     background-color: @warning; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #tray > .passive { | #tray > .passive { | ||||||
|     -gtk-icon-effect: dim; |     -gtk-icon-effect: dim; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #tray > .needs-attention { | #workspaces button.urgent { | ||||||
|     -gtk-icon-effect: highlight; |     background-color: @warning; | ||||||
|     background-color: #eb4d4b; |     color: white; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #privacy-item.audio-in, |  | ||||||
| #privacy-item.audio-out, |  | ||||||
| #privacy-item.screenshare { |  | ||||||
|     background-color: #ffaa01; |  | ||||||
|     color: #2d3436; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| @import "sharp.css"; |  | ||||||
| 
 |  | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue