update hypr and replacy waybor config to original

This commit is contained in:
Simon Rieger 2025-04-08 14:05:43 +02:00
parent d06788b060
commit 83da65287d
13 changed files with 540 additions and 1634 deletions

View file

@ -114,7 +114,7 @@ decoration {
# https://wiki.hyprland.org/Configuring/Variables/#animations
animations {
enabled = true
enabled = false
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
@ -190,8 +190,8 @@ $mainMod = Alt
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Return, exec, $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
bind = $mainMod+Shift, Q, killactive,
bind = $mainMod+Shift, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, D, exec, $menu
@ -204,6 +204,12 @@ bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# Move active window with mainMod + arrow keys
bind = $mainMod+Shift, left, movewindow, l
bind = $mainMod+Shift, right, movewindow, r
bind = $mainMod+Shift, up, movewindow, u
bind = $mainMod+Shift, down, movewindow, d
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2

View file

@ -1,314 +0,0 @@
{
// "layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
"height": 36, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
//"spacing": 4, // Gaps between modules (4px)
"layer": "top",
"gtk-layer-shell": "true",
"margin-top": 4,
"margin-left": 16,
"margin-right": 16,
"margin-bottom": -6,
// Choose the order of the modules
"modules-left": [
"sway/workspaces",
"sway/mode",
"sway/scratchpad"
],
"modules-center": [
"sway/window"
],
"modules-right": [
"idle_inhibitor",
"pulseaudio",
"network",
//"cpu",
//"memory",
//"temperature",
"backlight",
//"custom/wl-gammarelay-temperature",
//"custom/wl-gammarelay-brightness",
//"custom/wl-gammarelay-gamma",
//"keyboard-state",
//"sway/language",
"custom/events",
"clock",
"battery",
"battery#bat2",
"tray",
"custom/notification",
"custom/wvkbd"
],
// Modules configuration
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"format": "{name}: {icon} ",
"format-icons": {
"1": "",
"2": "",
"3": "",
"urgent": "",
"focused": "",
"default": ""
}
},
"keyboard-state": {
"numlock": true,
"capslock": true,
"format": "{name} {icon} ",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"sway/scratchpad": {
"format": "{icon} {count}",
"show-empty": false,
"format-icons": [
"",
""
],
"tooltip": true,
"tooltip-format": "{app}: {title}"
},
"mpd": {
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
"format-disconnected": "Disconnected ",
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
"unknown-tag": "N/A",
"interval": 2,
"consume-icons": {
"on": " "
},
"random-icons": {
"off": "<span color=\"#f53c3c\"></span> ",
"on": " "
},
"repeat-icons": {
"on": " "
},
"single-icons": {
"on": "1 "
},
"state-icons": {
"paused": "",
"playing": ""
},
"tooltip-format": "MPD (connected)",
"tooltip-format-disconnected": "MPD (disconnected)"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"clock": {
"format": "{:%H:%M}  ",
"format-alt": "{:%A, %B %d, %Y (%R)}  ",
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"on-click-right": "mode",
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
},
"actions": {
"on-click-right": "mode",
"on-click-forward": "tz_up",
"on-click-backward": "tz_down",
"on-scroll-up": "shift_up",
"on-scroll-down": "shift_down"
}
},
"cpu": {
"format": "{usage}% ",
"tooltip": false
},
"memory": {
"format": "{}% "
},
"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": "acpi_video1",
"format": "{percent}% {icon}",
"on-scroll-up": "~/.config/waybar/brightness-up.sh 1",
"on-scroll-down": "~/.config/waybar/brightness-down.sh 1",
"on-click": "~/.config/waybar/brightness-up.sh 5",
"on-click-right": "~/.config/waybar/brightness-down.sh 5",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
""
]
},
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": [
"",
"",
"",
"",
""
]
},
"battery#bat2": {
"bat": "BAT2"
},
"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}",
"on-click-right": "wezterm start nmtui"
},
"pulseaudio": {
"scroll-step": 5, // %, 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": [
"",
"",
""
]
},
"max-volume": 200,
"on-click": "pavucontrol-qt",
"on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle"
},
"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
},
"custom/wl-gammarelay-temperature": {
"format": "{} ",
"exec": "wl-gammarelay-rs watch {t}",
"on-scroll-up": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateTemperature n +100",
"on-scroll-down": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateTemperature n -100",
"on-click": "busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 6500",
"on-click-right": "busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 4500"
},
"custom/wl-gammarelay-brightness": {
"format": "{}% ",
"exec": "wl-gammarelay-rs watch {bp}",
"on-scroll-up": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateBrightness d +0.02",
"on-scroll-down": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateBrightness d -0.02",
"on-click": "busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Brightness d 1"
},
"custom/wl-gammarelay-gamma": {
"format": "{}% γ",
"exec": "wl-gammarelay-rs watch {g}",
"on-scroll-up": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateGamma d +0.02",
"on-scroll-down": "busctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateGamma d -0.02",
"on-click": "busctl --user set-property rs.wl-gammarelay / rs.wl.gammarelay Gamma d 1",
"on-click-right": "busctl --user call rs.wl-gammarelay / rs.wl.gammarelay ToggleInverted"
},
"custom/events": {
"format": "{}",
"tooltip": true,
"interval": 300,
"format-icons": {
"default": ""
},
"exec": "~/.config/waybar/waybar-khal.py",
"return-type": "json",
"on-click": "wezterm start khal interactive"
},
"custom/wvkbd": {
"tooltip": false,
"format": "{icon}",
"format-icons": {
"default": ""
},
//"interval": "once",
//"exec": "if pgrep wvkbd-mobintl >/dev/null; then echo \"󰌐\"; else echo \"󰌌\"; fi",
"on-click": "if pgrep wvkbd-mobintl >/dev/null; then pkill wvkbd-mobintl; else wvkbd-mobintl --fn 'DejaVuSansMono Nerd Font 14' -l 'simple,special,emoji,arabic' -L 240; fi"
},
"custom/notification": {
"tooltip": false,
"format": "{} {icon}",
"format-icons": {
"notification": "<span foreground='red'><sup></sup></span>",
"none": "",
"dnd-notification": "<span foreground='red'><sup></sup></span>",
"dnd-none": "",
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
"inhibited-none": "",
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
"dnd-inhibited-none": ""
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
}
}

View file

@ -1,110 +0,0 @@
{
"layer": "top",
"position": "top",
"height": 27,
"modules-left": [
"sway/workspaces",
"sway/window"
],
"modules-center": [],
"modules-right": [
"network",
"temperature",
"backlight",
"pulseaudio",
"battery",
"clock",
"tray"
],
"sway/workspaces": {
"disable-scroll": true,
"disable-markup": true,
"format": "{index}"
},
"sway/window": {
"format": "{}",
"max-length": 150
},
"tray": {
"icon-size": 18,
"spacing": 15
},
"clock": {
"format": "{:%a %b %e %R}",
"interval": 30
},
"battery": {
"bat": "BAT0",
"states": {
"full": 99,
"good": 98,
"normal": 98,
"warning": 20,
"critical": 20
},
"format": "{icon} {capacity}%",
"format-good": "{icon} {capacity}%",
"format-full": " {capacity}%",
"format-icons": [
"",
"",
"",
"",
""
],
"interval": 30
},
"network": {
// "interface": "wlan0", // (Optional) To force the use of this interface,
"format-wifi": " {essid}",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "",
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"family": "ipv4",
"tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\n {bandwidthUpBits}  {bandwidthDownBits}",
"tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\n {bandwidthUpBits}  {bandwidthDownBits}",
"on-click-right": "wezterm start nmtui"
},
"temperature": {
"thermal-zone": 0,
"format": "{icon} {temperatureC}°C",
"format-icons": [
""
],
"interval": 30
},
"backlight": {
"device": "intel_backlight",
"format": "{icon} {percent}% ",
"format-icons": [
"",
"",
"",
""
],
"interval": 60
},
"pulseaudio": {
"scroll-step": 3, // %, can be a float
"format": "{icon} {volume}% {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-source": "",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol-qt",
"on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle"
},
}

View file

@ -1,176 +0,0 @@
{
"layer": "top", // Waybar at top layer
"position": "top", // Waybar position (top|bottom|left|right)
// "height": 36, // Waybar height (to be removed for auto height)
// Archived modules
// "custom/gpu", "bluetooth", "custom/weather", "temperature", "sway/window"
// Choose the order of the modules
"modules-left": [ "clock", "sway/language", "custom/scratchpad-indicator", "custom/pacman", "sway/mode", "idle_inhibitor", "custom/media"],
"modules-center": ["sway/workspaces"],
"modules-right": [ "custom/cpugovernor", "cpu", "temperature", "custom/gpu", "pulseaudio", "bluetooth", "network", "tray"],
// Modules configuration
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"format": "{icon}",
"format-icons": {
"1": "<span color=\"#D8DEE9\"></span>",
"2": "<span color=\"#88C0D0\"></span>",
"3": "<span color=\"#A3BE8C\"></span>",
"4": "<span color=\"#D8DEE9\"></span>",
"urgent": "",
"focused": "",
"default": ""
}
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"sway/window": {
"format": "{}",
"max-length": 50,
"tooltip": false
},
"bluetooth": {
"interval": 30,
"format": "{icon}",
// "format-alt": "{status}",
"format-icons": {
"enabled": "",
"disabled": ""
},
"on-click": "blueberry"
},
"sway/language": {
"format": "<big></big> {}",
"max-length": 5,
"min-length": 5,
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
},
"tooltip": "true"
},
"tray": {
//"icon-size": 11,
"spacing": 5
},
"clock": {
"format": " {:%H:%M  %e %b}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"today-format": "<b>{}</b>",
"on-click": "gnome-calendar"
},
"cpu": {
"interval": "1",
"format": " {max_frequency}GHz <span color=\"darkgray\">| {usage}%</span>",
"max-length": 13,
"min-length": 13,
"on-click": "kitty -e htop --sort-key PERCENT_CPU",
"tooltip": false
},
"temperature": {
//"thermal-zone": 1,
"interval": "4",
"hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input",
"critical-threshold": 74,
"format-critical": " {temperatureC}°C",
"format": "{icon} {temperatureC}°C",
"format-icons": ["", "", ""],
"max-length": 7,
"min-length": 7
},
"network": {
// "interface": "wlan0", // (Optional) To force the use of this interface,
"format-wifi": " {essid}",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "",
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"family": "ipv4",
"tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\n {bandwidthUpBits}  {bandwidthDownBits}",
"tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\n {bandwidthUpBits}  {bandwidthDownBits}"
},
"pulseaudio": {
"scroll-step": 3, // %, can be a float
"format": "{icon} {volume}% {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-source": "",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol",
"on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle"
},
"custom/pacman": {
"format": "<big>􏆲</big> {}",
"interval": 3600, // every hour
"exec": "checkupdates | wc -l", // # of updates
"exec-if": "exit 0", // always run; consider advanced run conditions
"on-click": "kitty -e 'yay'; pkill -SIGRTMIN+8 waybar", // update system
"signal": 8,
"max-length": 5,
"min-length": 3
},
"custom/weather": {
"exec": "curl 'https://wttr.in/?format=1'",
"interval": 3600
},
"custom/gpu": {
"exec": "$HOME/.config/waybar/custom_modules/custom-gpu.sh",
"return-type": "json",
"format": "  {}",
"interval": 2,
"tooltip": "{tooltip}",
"max-length": 19,
"min-length": 19,
"on-click": "powerupp"
},
"custom/cpugovernor": {
"format": "{icon}",
"interval": "30",
"return-type": "json",
"exec": "$HOME/.config/waybar/custom_modules/cpugovernor.sh",
"min-length": 2,
"max-length": 2,
"format-icons": {
"perf": "",
"sched": ""
},
},
"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
},
"custom/scratchpad-indicator": {
"interval": 3,
"return-type": "json",
"exec": "swaymsg -t get_tree | jq --unbuffered --compact-output '( select(.name == \"root\") | .nodes[] | select(.name == \"__i3\") | .nodes[] | select(.name == \"__i3_scratch\") | .focus) as $scratch_ids | [.. | (.nodes? + .floating_nodes?) // empty | .[] | select(.id |IN($scratch_ids[]))] as $scratch_nodes | { text: \"\\($scratch_nodes | length)\", tooltip: $scratch_nodes | map(\"\\(.app_id // .window_properties.class) (\\(.id)): \\(.name)\") | join(\"\\n\") }'",
"format": "{} 􏠜",
"on-click": "exec swaymsg 'scratchpad show'",
"on-click-right": "exec swaymsg 'move scratchpad'"
}
}

View file

@ -0,0 +1,210 @@
// -*- mode: jsonc -*-
{
// "layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
"height": 30, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
"spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": [
"sway/workspaces",
"sway/mode",
"sway/scratchpad"
],
"modules-center": [
"sway/window"
],
"modules-right": [
"idle_inhibitor",
"pulseaudio",
"network",
"power-profiles-daemon",
"cpu",
"memory",
"temperature",
"backlight",
"sway/language",
"battery",
"clock",
"tray"
],
// Modules configuration
// "sway/workspaces": {
// "disable-scroll": true,
// "all-outputs": true,
// "warp-on-scroll": false,
// "format": "{name}: {icon}",
// "format-icons": {
// "1": "",
// "2": "",
// "3": "",
// "4": "",
// "5": "",
// "urgent": "",
// "focused": "",
// "default": ""
// }
// },
"keyboard-state": {
"numlock": true,
"capslock": true,
"format": "{name} {icon}",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"sway/scratchpad": {
"format": "{icon} {count}",
"show-empty": false,
"format-icons": ["", ""],
"tooltip": true,
"tooltip-format": "{app}: {title}"
},
"mpd": {
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
"format-disconnected": "Disconnected ",
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
"unknown-tag": "N/A",
"interval": 5,
"consume-icons": {
"on": " "
},
"random-icons": {
"off": "<span color=\"#f53c3c\"></span> ",
"on": " "
},
"repeat-icons": {
"on": " "
},
"single-icons": {
"on": "1 "
},
"state-icons": {
"paused": "",
"playing": ""
},
"tooltip-format": "MPD (connected)",
"tooltip-format-disconnected": "MPD (disconnected)"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"clock": {
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": "{usage}% ",
"tooltip": false
},
"memory": {
"format": "{}% "
},
"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": "acpi_video1",
"format": "{percent}% {icon}",
"format-icons": ["🌑", "🌘", "🌗", "🌖", "🌕"]
},
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-full": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
},
"power-profiles-daemon": {
"format": "{icon}",
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
"tooltip": true,
"format-icons": {
"default": "",
"performance": "",
"balanced": "",
"power-saver": ""
}
},
"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": 1, // %, 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"
},
"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
},
"custom/power": {
"format" : "⏻ ",
"tooltip": false,
"menu": "on-click",
"menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder
"menu-actions": {
"shutdown": "shutdown",
"reboot": "reboot",
"suspend": "systemctl suspend",
"hibernate": "systemctl hibernate"
}
}
}

View file

@ -1,2 +0,0 @@
WERT=$1
brightnessctl set ${WERT}%- | sed -En 's/.*\(([0-9]+)%\).*/\1/p' > /tmp/wob

View file

@ -1,2 +0,0 @@
WERT=$1
brightnessctl set +${WERT}% | sed -En 's/.*\(([0-9]+)%\).*/\1/p' > /tmp/wob

View file

@ -1,33 +0,0 @@
#!/usr/bin/env python
import subprocess
import datetime
import json
from html import escape
data = {}
today = datetime.date.today().strftime("%Y-%m-%d")
next_week = (datetime.date.today() +
datetime.timedelta(days=10)).strftime("%Y-%m-%d")
output = subprocess.check_output("khal list now "+next_week, shell=True)
output = output.decode("utf-8")
lines = output.split("\n")
new_lines = []
for line in lines:
if len(line) and line[0].isalpha():
line = "\n<b>"+line+"</b>"
new_lines.append(line)
output = "\n".join(new_lines).strip()
if today in output:
data['text'] = "" + output.split('\n')[1]
else:
data['text'] = ""
data['tooltip'] = output
print(json.dumps(data))

View file

@ -1,33 +0,0 @@
#!/usr/bin/env python
import datetime
import json
import subprocess
from html import escape
data = {}
today = datetime.date.today().strftime("%Y-%m-%d")
next_week = (datetime.date.today() +
datetime.timedelta(days=10)).strftime("%Y-%m-%d")
output = subprocess.check_output("khal list now " + next_week + " --format \"{start-end-time-style} {title}\"", shell=True).decode("utf-8")
lines = output.split("\n")
new_lines = []
for line in lines:
clean_line = escape(line).split(" ::")[0]
if len(clean_line) and clean_line[0].isalpha():
clean_line = "\n<b>"+clean_line+"</b>"
new_lines.append(clean_line)
output = "\n".join(new_lines).strip()
if today in output:
data['text'] = "" + output.split('\n')[1]
else:
data['text'] = ""
data['tooltip'] = output
print(json.dumps(data))

View file

@ -1,270 +1,326 @@
* {
border: none;
font-family: JetBrains Mono,Ubuntu Nerd Font,Weather Icons,sans-serif;
font-size: 14px;
font-weight: bold;
min-height: 0;
}
font-family: 'Noto Sans Mono', 'Font Awesome 6 Free', 'Font Awesome 6 Brands', monospace;
font-size: 13px;
}
window#waybar {
background-color: transparent;
}
window > box {
background: #181818;
border-radius: 12px;
min-width: 35px;
margin: 3px;
background-clip: border-box;
window#waybar {
background-color: rgba(43, 48, 59, 0.5);
border-bottom: 3px solid rgba(100, 114, 125, 0.5);
color: #ffffff;
transition-property: background-color;
transition-duration: .5s;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 1px 2px 1px rgba(0, 0, 0, 0.18), 0 2px 4px 2px rgba(0, 0, 0, 0.18);
}
}
#disk,
#custom-memory,
#cpu,
#custom-gputmp
#custom-uptime,
#temperature,
#custom-weather,
#cpu, #custom-gputmp {
background-color: #1f1f1f;
padding: 0 7px;
margin: 5px 0px;
}
#disk, #custom-memory {
background-color: #1f1f1f;
padding: 0 7px;
margin: 5px 0px;
}
window#waybar.hidden {
opacity: 0.2;
}
#disk {
color: #5dbbc1;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
#custom-memory {
color: #9841bb;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
}
#cpu {
color: #f5c211;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
#custom-gputmp {
color: #8FBF7F;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
}
#custom-uptime, #temperature, #custom-weather {
background-color: #1f1f1f;
padding: 0px 7px;
margin: 5px 0px;
}
#custom-uptime {
color: #2ec27e;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
#temperature {
color: #9841bb;
}
#pulseaudio {
color: #f5c211;
background-color: #1f1f1f;
padding: 0px 8px;
margin: 5px 5px 5px 4px;
border-radius: 8px;
}
#pulseaudio.muted {
background-color: #e06c75;
}
#custom-kernel {
color: #51a1ff;
background-color: #1f1f1f;
padding: 0px 7px;
margin: 5px 5px 5px 5px;
border-radius: 8px;
}
#custom-weather {
color: #5dbbc1;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
}
#temperature {
color: #9841bb;
}
#temperature.critical {
background-color: #e06c75;
color: #1f1f1f;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
#workspaces{
background-color: #1f1f1f;
border-radius: 8px;
}
#workspaces,
#custom-media,
#custom-fans,
#clock,
#network,
#custom-power,
#mpd,
#custom-gentoo,
#custom-network,
#window,
#memory,
#battery,
#backlight,
#temperature,
#custom-wl-gammarelay-temperature,
#custom-wl-gammarelay-brightness,
#custom-wl-gammarelay-gamma,
#custom-events,
#custom-wvkbd,
#custom-notification,
#tray {
background-color: #1f1f1f;
padding: 0 7px;
margin: 5px 5px 5px 5px;
border-radius: 8px;
background-clip: padding-box;
}
#idle_inhibitor,
#idle_inhibitor.activated,
#workspaces button {
padding: 0 6px;
min-width: 10px;
color: #51a1ff;
}
#custom-network {
color: #e06c75;
background-color: #1f1f1f;
}
#custom-dunst {
color: #9841bb;
}
#custom-dot{
color: #38384d;
font-size: 15px;
/*
window#waybar.empty {
background-color: transparent;
}
}
window#waybar.solo {
background-color: #FFFFFF;
}
*/
#custom-dot2{
color: #38384d;
font-size: 15px;
window#waybar.termite {
background-color: #3F3F3F;
}
window#waybar.chromium {
background-color: #000000;
border: none;
}
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: none;
border-radius: 0;
}
/* 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;
}
/* you can set a style on hover for any module like this */
#pulseaudio:hover {
background-color: #a37800;
}
#workspaces button {
padding: 0 5px;
background-color: transparent;
}
color: #ffffff;
}
#custom-dot3{
color: #38384d;
font-size: 15px;
background-color: transparent;
}
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
}
#workspaces button:hover {
background-color: rgba(0, 0, 0, 0.2);
}
#workspaces button.focused {
background-color: #64727D;
box-shadow: inset 0 -3px #ffffff;
}
#workspaces button.active {
color: #9841bb;
#workspaces button.urgent {
background-color: #eb4d4b;
}
}
#mode {
background-color: #64727D;
box-shadow: inset 0 -3px #ffffff;
}
#workspaces button.focused {
color: #9841bb;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#power-profiles-daemon,
#mpd {
padding: 0 10px;
color: #ffffff;
}
#workspaces button.urgent {
color: #e06c75;
}
#window,
#workspaces {
margin: 0 4px;
}
#memory {
color: #9841bb;
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
#custom-media {
background-color: #9841bb;
color: #1f1f1f;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
#custom-fans {
color: #e06c75;
}
#clock {
background-color: #64727D;
}
#clock {
color: #51a1ff;
}
#battery {
background-color: #ffffff;
color: #000000;
}
#mode {
color: #0fa4bf;
}
#battery.charging, #battery.plugged {
color: #ffffff;
background-color: #26A65B;
}
#window {
color: #c0bfbc;
background-color: transparent;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
#custom-power {
color: #f65866;
background-color: #1f1f1f;
}
/* Using steps() instead of linear as a timing function to limit cpu usage */
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
#custom-gentoo {
font-size: 15px;
color: #9841bb;
background-color: transparent;
}
#power-profiles-daemon {
padding-right: 15px;
}
@keyframes blink {
to {
background-color: #1f1f1f;
color: #e06c75;
}
}
#power-profiles-daemon.performance {
background-color: #f53c3c;
color: #ffffff;
}
#network {
color: #9841bb
}
#power-profiles-daemon.balanced {
background-color: #2980b9;
color: #ffffff;
}
#network.disconnected {
background-color: #e06c75;
color: #1f1f1f;
}
#power-profiles-daemon.power-saver {
background-color: #2ecc71;
color: #000000;
}
label:focus {
background-color: #000000;
}
#cpu {
background-color: #2ecc71;
color: #000000;
}
#memory {
background-color: #9b59b6;
}
#disk {
background-color: #964B00;
}
#backlight {
background-color: #90b1b1;
}
#network {
background-color: #2980b9;
}
#network.disconnected {
background-color: #f53c3c;
}
#pulseaudio {
background-color: #f1c40f;
color: #000000;
}
#pulseaudio.muted {
background-color: #90b1b1;
color: #2a5c45;
}
#wireplumber {
background-color: #fff0f5;
color: #000000;
}
#wireplumber.muted {
background-color: #f53c3c;
}
#custom-media {
background-color: #66cc99;
color: #2a5c45;
min-width: 100px;
}
#custom-media.custom-spotify {
background-color: #66cc99;
}
#custom-media.custom-vlc {
background-color: #ffa000;
}
#temperature {
background-color: #f0932b;
}
#temperature.critical {
background-color: #eb4d4b;
}
#tray {
background-color: #2980b9;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
#idle_inhibitor {
background-color: #2d3436;
}
#idle_inhibitor.activated {
background-color: #ecf0f1;
color: #2d3436;
}
#mpd {
background-color: #66cc99;
color: #2a5c45;
}
#mpd.disconnected {
background-color: #f53c3c;
}
#mpd.stopped {
background-color: #90b1b1;
}
#mpd.paused {
background-color: #51a37a;
}
#language {
background: #00b093;
color: #740864;
padding: 0 5px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state {
background: #97e1ad;
color: #000000;
padding: 0 0px;
margin: 0 5px;
min-width: 16px;
}
#keyboard-state > label {
padding: 0 5px;
}
#keyboard-state > label.locked {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad.empty {
background-color: transparent;
}
#privacy {
padding: 0;
}
#privacy-item {
padding: 0 5px;
color: white;
}
#privacy-item.screenshare {
background-color: #cf5700;
}
#privacy-item.audio-in {
background-color: #1ca000;
}
#privacy-item.audio-out {
background-color: #0069d4;
}

View file

@ -1,102 +0,0 @@
* {
font-family: "Hack Nerd Font";
font-size: 16px;
}
window#waybar {
background-color: #225877;
color: #ffffff;
}
.modules-left {
background-color: #323232;
padding: 0px 0px 0px 0px;
}
.modules-right {
background-color: #323232;
padding: 0px 5px 0px 0px;
}
#custom-scratch {
background-color: #323232;
color: #b8b8b8;
padding: 0px 9px 0px 9px;
}
#workspaces {}
#workspaces button {
padding: 0px 11px 0px 11px;
min-width: 1px;
color: #888888;
}
#workspaces button.focused {
padding: 0px 11px 0px 11px;
background-color: #285577;
color: #ffffff;
}
#mode {
background-color: #900000;
color: #ffffff;
padding: 0px 5px 0px 5px;
border: 1px solid #2f343a;
}
#window {
color: #ffffff;
background-color: #285577;
padding: 0px 10px 0px 10px;
}
window#waybar.empty #window {
background-color: transparent;
color: transparent;
}
window#waybar.empty {
background-color: #323232;
}
#network,
#temperature,
#backlight,
#pulseudio,
#battery {
padding: 0px 15px 0px 15px;
}
#clock {
margin: 0px 15px 0px 15px;
}
#tray {
padding: 0px 8px 0px 5px;
margin: 0px 5px 0px 5px;
}
#battery.critical {
color: #ff5555;
}
#network.disconnected {
color: #ff5555;
}

View file

@ -1,296 +0,0 @@
@keyframes blink-warning {
70% {
color: @light;
}
to {
color: @light;
background-color: @warning;
}
}
@keyframes blink-critical {
70% {
color: @light;
}
to {
color: @light;
background-color: @critical;
}
}
/* -----------------------------------------------------------------------------
* Styles
* -------------------------------------------------------------------------- */
/* COLORS */
/* Nord */
@define-color bg #2E3440;
/*@define-color bg #353C4A;*/
@define-color light #D8DEE9;
/*@define-color dark @nord_dark_font;*/
@define-color warning #ebcb8b;
@define-color critical #BF616A;
@define-color mode #434C5E;
/*@define-color workspaces @bg;*/
/*@define-color workspaces @nord_dark_font;*/
/*@define-color workspacesfocused #434C5E;*/
@define-color workspacesfocused #4C566A;
@define-color tray @workspacesfocused;
@define-color sound #EBCB8B;
@define-color network #5D7096;
@define-color memory #546484;
@define-color cpu #596A8D;
@define-color temp #4D5C78;
@define-color layout #5e81ac;
@define-color battery #88c0d0;
@define-color date #434C5E;
@define-color time #434C5E;
@define-color backlight #434C5E;
@define-color nord_bg #434C5E;
@define-color nord_bg_blue #546484;
@define-color nord_light #D8DEE9;
@define-color nord_light_font #D8DEE9;
@define-color nord_dark_font #434C5E;
/* Reset all styles */
* {
border: none;
border-radius: 3px;
min-height: 0;
margin: 0.2em 0.3em 0.2em 0.3em;
}
/* The whole bar */
#waybar {
background: @bg;
color: @light;
font-family: "Cantarell", "Font Awesome 5 Pro";
font-size: 12px;
font-weight: bold;
}
/* Each module */
#battery,
#clock,
#cpu,
#custom-layout,
#memory,
#mode,
#network,
#pulseaudio,
#temperature,
#custom-alsa,
#custom-pacman,
#custom-weather,
#custom-gpu,
#tray,
#backlight,
#language,
#custom-cpugovernor {
padding-left: 0.6em;
padding-right: 0.6em;
}
/* Each module that should blink */
#mode,
#memory,
#temperature,
#battery {
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
/* Each critical module */
#memory.critical,
#cpu.critical,
#temperature.critical,
#battery.critical {
color: @critical;
}
/* Each critical that should blink */
#mode,
#memory.critical,
#temperature.critical,
#battery.critical.discharging {
animation-name: blink-critical;
animation-duration: 2s;
}
/* Each warning */
#network.disconnected,
#memory.warning,
#cpu.warning,
#temperature.warning,
#battery.warning {
background: @warning;
color: @nord_dark_font;
}
/* Each warning that should blink */
#battery.warning.discharging {
animation-name: blink-warning;
animation-duration: 3s;
}
/* And now modules themselves in their respective order */
#mode { /* Shown current Sway mode (resize etc.) */
color: @light;
background: @mode;
}
/* Workspaces stuff */
#workspaces {
/* color: #D8DEE9;
margin-right: 10px;*/
}
#workspaces button {
font-weight: bold; /* Somewhy the bar-wide setting is ignored*/
padding: 0;
/*color: #999;*/
opacity: 0.3;
background: none;
font-size: 1em;
}
#workspaces button.focused {
background: @workspacesfocused;
color: #D8DEE9;
opacity: 1;
padding: 0 0.4em;
}
#workspaces button.urgent {
border-color: #c9545d;
color: #c9545d;
opacity: 1;
}
#window {
margin-right: 40px;
margin-left: 40px;
font-weight: normal;
}
#bluetooth {
background: @nord_bg_blue;
font-size: 1.2em;
font-weight: bold;
padding: 0 0.6em;
}
#custom-gpu {
background: @nord_bg;
font-weight: bold;
padding: 0 0.6em;
}
#custom-weather {
background: @mode;
font-weight: bold;
padding: 0 0.6em;
}
#custom-pacman {
background: @nord_light;
color: @nord_dark_font;
font-weight: bold;
padding: 0 0.6em;
}
#custom-scratchpad-indicator {
background: @nord_light;
color: @nord_dark_font;
font-weight: bold;
padding: 0 0.6em;
}
#idle_inhibitor {
background: @mode;
/*font-size: 1.6em;*/
font-weight: bold;
padding: 0 0.6em;
}
#custom-alsa {
background: @sound;
}
#network {
background: @nord_bg_blue;
}
#memory {
background: @memory;
}
#cpu {
background: @nord_bg;
color: #D8DEE9;
}
#cpu.critical {
color: @nord_dark_font;
}
#language {
background: @nord_bg_blue;
color: #D8DEE9;
padding: 0 0.4em;
}
#custom-cpugovernor {
background-color: @nord_light;
color: @nord_dark_font;
}
#custom-cpugovernor.perf {
}
#temperature {
background-color: @nord_bg;
color: #D8DEE9;
}
#temperature.critical {
background: @critical;
}
#custom-layout {
background: @layout;
}
#battery {
background: @battery;
}
#backlight {
background: @backlight;
}
#clock {
background: @nord_bg_blue;
color: #D8DEE9;
}
#clock.date {
background: @date;
}
#clock.time {
background: @mode;
}
#pulseaudio { /* Unsused but kept for those who needs it */
background: @nord_bg_blue;
color: #D8DEE9;
}
#pulseaudio.muted {
background: #BF616A;
color: #BF616A;
/* No styles */
}
#pulseaudio.source-muted {
background: #D08770;
color: #D8DEE9;
/* No styles */
}
#tray {
background: #434C5E;
}

View file

@ -1,298 +0,0 @@
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
}
window#waybar {
background-color: rgba(43, 48, 59, 0.5);
border-bottom: 3px solid rgba(100, 114, 125, 0.5);
color: #ffffff;
transition-property: background-color;
transition-duration: .5s;
}
window#waybar.hidden {
opacity: 0.2;
}
window#waybar.empty {
background-color: transparent;
}
/*
window#waybar.solo {
background-color: #FFFFFF;
}
*/
/*
window#waybar.termite {
background-color: #3F3F3F;
}
*/
window#waybar.chromium {
background-color: #000000;
border: none;
}
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: none;
border-radius: 0;
}
/* 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: 0 5px;
background-color: transparent;
color: #ffffff;
}
#workspaces button:hover {
background: rgba(0, 0, 0, 0.2);
}
#workspaces button.focused {
background-color: #64727D;
box-shadow: inset 0 -3px #ffffff;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#mode {
background-color: #64727D;
border-bottom: 3px solid #ffffff;
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#custom-wl-gammarelay-temperature,
#custom-wl-gammarelay-brightness,
#custom-wl-gammarelay-gamma,
#custom-events,
#custom-wvkbd,
#custom-notification,
#mpd {
padding: 0 10px;
color: #ffffff;
}
#window,
#workspaces {
margin: 0 4px;
}
/* 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;
}
#clock {
background-color: #64727D;
}
#battery {
background-color: #ffffff;
color: #000000;
}
#battery.charging, #battery.plugged {
color: #ffffff;
background-color: #26A65B;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
#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;
}
label:focus {
background-color: #000000;
}
#cpu {
background-color: #2ecc71;
color: #000000;
}
#memory {
background-color: #9b59b6;
}
#disk {
background-color: #964B00;
}
#custom-wl-gammarelay-temperature,
#custom-wl-gammarelay-brightness,
#custom-wl-gammarelay-gamma,
#backlight {
background-color: #90b1b1;
}
#custom-wvkbd,
#custom-notification {
background-color: #2980b9;
}
#network {
background-color: #2980b9;
}
#network.disconnected {
background-color: #f53c3c;
}
#custom-events,
#pulseaudio {
background-color: #f1c40f;
color: #000000;
}
#pulseaudio.muted {
background-color: #90b1b1;
color: #2a5c45;
}
#wireplumber {
background-color: #fff0f5;
color: #000000;
}
#wireplumber.muted {
background-color: #f53c3c;
}
#custom-media {
background-color: #66cc99;
color: #2a5c45;
min-width: 100px;
}
#custom-media.custom-spotify {
background-color: #66cc99;
}
#custom-media.custom-vlc {
background-color: #ffa000;
}
#temperature {
background-color: #f0932b;
}
#temperature.critical {
background-color: #eb4d4b;
}
#tray {
background-color: #2980b9;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
#idle_inhibitor {
background-color: #2d3436;
}
#idle_inhibitor.activated {
background-color: #ecf0f1;
color: #2d3436;
}
#mpd {
background-color: #66cc99;
color: #2a5c45;
}
#mpd.disconnected {
background-color: #f53c3c;
}
#mpd.stopped {
background-color: #90b1b1;
}
#mpd.paused {
background-color: #51a37a;
}
#language {
background: #00b093;
color: #740864;
padding: 0 5px;
margin: 0 0px;
min-width: 16px;
}
#keyboard-state {
background: #97e1ad;
color: #000000;
padding: 0 0px;
margin: 0 0px;
min-width: 16px;
}
#keyboard-state > label {
padding: 0 5px;
}
#keyboard-state > label.locked {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad {
background: rgba(0, 0, 0, 0.2);
}
#scratchpad.empty {
background-color: transparent;
}