Sync
This commit is contained in:
parent
31a4c4060a
commit
aeb8f52d6d
23 changed files with 569 additions and 304 deletions
|
@ -31,6 +31,12 @@ Host subgit.ugent.be
|
|||
CanonicalizeHostname yes # Ignore capitalization
|
||||
|
||||
# HomeLab
|
||||
Host Gitea
|
||||
User admin
|
||||
HostName 192.168.0.24
|
||||
IdentitiesOnly yes
|
||||
IdentityFile /run/secrets/HomeLab/Gitea/ssh
|
||||
|
||||
Host Hugo
|
||||
User admin
|
||||
HostName 192.168.0.11
|
||||
|
|
|
@ -7,40 +7,49 @@ set $default "default"
|
|||
# Resizing
|
||||
set $mode_resize "Resize"
|
||||
bindsym $flag+r mode $mode_resize
|
||||
mode $mode_resize bindsym {
|
||||
$right resize grow width 10 px or 10 ppt
|
||||
$up resize grow height 10 px or 10 ppt
|
||||
$left resize shrink width 10 px or 10 ppt
|
||||
$down resize shrink height 10 px or 10 ppt
|
||||
mode $mode_resize {
|
||||
bindsym {
|
||||
$right resize grow width 10 px or 10 ppt
|
||||
$up resize grow height 10 px or 10 ppt
|
||||
$left resize shrink width 10 px or 10 ppt
|
||||
$down resize shrink height 10 px or 10 ppt
|
||||
|
||||
Right resize grow width 10 px or 10 ppt
|
||||
Up resize grow height 10 px or 10 ppt
|
||||
Left resize shrink width 10 px or 10 ppt
|
||||
Down resize shrink height 10 px or 10 ppt
|
||||
Right resize grow width 10 px or 10 ppt
|
||||
Up resize grow height 10 px or 10 ppt
|
||||
Left resize shrink width 10 px or 10 ppt
|
||||
Down resize shrink height 10 px or 10 ppt
|
||||
|
||||
Shift+$right resize grow width 50 px or 50 ppt
|
||||
Shift+$up resize grow height 50 px or 50 ppt
|
||||
Shift+$left resize shrink width 50 px or 50 ppt
|
||||
Shift+$down resize shrink height 50 px or 50 ppt
|
||||
Shift+$right resize grow width 50 px or 50 ppt
|
||||
Shift+$up resize grow height 50 px or 50 ppt
|
||||
Shift+$left resize shrink width 50 px or 50 ppt
|
||||
Shift+$down resize shrink height 50 px or 50 ppt
|
||||
|
||||
Shift+Right resize grow width 50 px or 50 ppt
|
||||
Shift+Up resize grow height 50 px or 50 ppt
|
||||
Shift+Left resize shrink width 50 px or 50 ppt
|
||||
Shift+Down resize shrink height 50 px or 50 ppt
|
||||
Shift+Right resize grow width 50 px or 50 ppt
|
||||
Shift+Up resize grow height 50 px or 50 ppt
|
||||
Shift+Left resize shrink width 50 px or 50 ppt
|
||||
Shift+Down resize shrink height 50 px or 50 ppt
|
||||
|
||||
$flag+$right move right
|
||||
$flag+$up move up
|
||||
$flag+$left move left
|
||||
$flag+$down move down
|
||||
$flag+$right move right
|
||||
$flag+$up move up
|
||||
$flag+$left move left
|
||||
$flag+$down move down
|
||||
|
||||
$flag+Right move right
|
||||
$flag+Up move up
|
||||
$flag+Left move left
|
||||
$flag+Down move down
|
||||
$flag+Right move right
|
||||
$flag+Up move up
|
||||
$flag+Left move left
|
||||
$flag+Down move down
|
||||
|
||||
$flag+r mode $default
|
||||
Escape mode $default
|
||||
Return mode $default
|
||||
$flag+r mode $default
|
||||
Escape mode $default
|
||||
Return mode $default
|
||||
}
|
||||
|
||||
bindgesture {
|
||||
swipe:2:right resize grow width 10 px or 10 ppt
|
||||
swipe:2:down resize grow height 10 px or 10 ppt
|
||||
swipe:2:left resize shrink width 10 px or 10 ppt
|
||||
swipe:2:up resize shrink height 10 px or 10 ppt
|
||||
}
|
||||
}
|
||||
|
||||
# System actions
|
||||
|
@ -94,8 +103,8 @@ mode $mode_screenshot bindsym {
|
|||
set $mode_launcher "Launch (f)irefox, (s)potify or (t)hunderbird."
|
||||
bindsym $flag+o mode $mode_launcher
|
||||
mode $mode_launcher bindsym {
|
||||
f exec firefox
|
||||
t exec thunderbird
|
||||
f exec firefox, mode $default
|
||||
t exec thunderbird, mode $default
|
||||
|
||||
$flag+o mode $default
|
||||
Escape mode $default
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
|
||||
"include": [
|
||||
// Import modules (!)
|
||||
"~/.config/waybar/modules.json",
|
||||
// "~/.config/waybar/default.json"
|
||||
"~/.config/waybar/left.json"
|
||||
"./modules.json",
|
||||
// "./default.json"
|
||||
"./left.json"
|
||||
],
|
||||
|
||||
},
|
||||
|
@ -36,7 +36,7 @@
|
|||
|
||||
"include": [
|
||||
// Import modules (!)
|
||||
"~/.config/waybar/modules.json"
|
||||
"./modules.json"
|
||||
],
|
||||
}]
|
||||
|
||||
|
|
|
@ -2,16 +2,15 @@
|
|||
"modules-left": [
|
||||
"sway/workspaces",
|
||||
"custom/scratchpad-indicator",
|
||||
"mpris",
|
||||
"group/system"
|
||||
],
|
||||
"modules-right": [
|
||||
"group/hardware",
|
||||
"tray",
|
||||
"sway/language",
|
||||
"bluetooth",
|
||||
"network",
|
||||
"pulseaudio",
|
||||
"group/battery",
|
||||
"custom/sep",
|
||||
"tray"
|
||||
"mpris"
|
||||
]
|
||||
}
|
||||
|
|
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;
|
||||
}
|
||||
|
|
@ -20,13 +20,14 @@
|
|||
},
|
||||
|
||||
"bluetooth": {
|
||||
/* bluetooth-b */
|
||||
"format-disabled": "<big>\uf294</big>",
|
||||
"format-off": "\uf294",
|
||||
"format-on": "<big>\uf294</big>",
|
||||
"format-connected": "<big>\uf294</big>c",
|
||||
"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-right": "kitty -e bluetoothctl",
|
||||
"on-click-right": "foot -e bluetoothctl",
|
||||
"tooltip-format": "{status}",
|
||||
"tooltip-format-on": "{status}, no devices connected",
|
||||
"tooltip-format-connected": "{status} ({num_connections}):\n{device_enumerate}",
|
||||
|
@ -36,9 +37,20 @@
|
|||
|
||||
"clock": {
|
||||
"format": "{:%H:%M}",
|
||||
"format-alt": "{:%d/%m/%Y %H:%M}",
|
||||
"format-alt": "{:%a %b %d, %Y %R}",
|
||||
"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-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/browser": {
|
||||
|
@ -47,39 +59,11 @@
|
|||
"tooltip-format": "Launch an application"
|
||||
},
|
||||
|
||||
"custom/light-dark-toggle": {
|
||||
"exec": "bash ${SCRIPT_DIR}/toggle-light-dark.sh -g",
|
||||
"exec-on-event": true,
|
||||
"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": {
|
||||
"format": "\uf11c",
|
||||
"on-click": "swaymsg input type:keyboard xkb_switch_layout next",
|
||||
"tooltip-format": "Toggle keyboard layouts",
|
||||
"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": {
|
||||
"interval": 3,
|
||||
"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'",
|
||||
"format": "{} \uf2d2",
|
||||
"format": "\uf2d2 {}",
|
||||
"on-click": "exec swaymsg 'scratchpad show'",
|
||||
"on-click-right": "exec swaymsg 'move scratchpad'"
|
||||
},
|
||||
|
@ -119,6 +103,23 @@
|
|||
"on-click": "systemctl poweroff -i"
|
||||
},
|
||||
|
||||
"custom/toggle-light-dark": {
|
||||
"exec": "bash ${SCRIPT_DIR}/toggle-light-dark.sh -g",
|
||||
"signal": 13,
|
||||
"return-type": "json",
|
||||
"on-click": "bash ${SCRIPT_DIR}/toggle-light-dark.sh",
|
||||
// "format": "\uf042 ",
|
||||
"format": "{}",
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/toggle-night-light": {
|
||||
"on-click": "bash ${SCRIPT_DIR}/sunset.sh",
|
||||
"format": "\uf0eb ",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Toggle night-light on or off"
|
||||
},
|
||||
|
||||
"custom/toggle-notifications": {
|
||||
"on-click": "bash ${SCRIPT_DIR}/do-not-disturb.sh",
|
||||
"tooltip-format": "Toggle notifications",
|
||||
|
@ -127,8 +128,9 @@
|
|||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": "{usage}% \uf2db",
|
||||
"on-click": "foot -e htop",
|
||||
"on-click": "foot -e top",
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
|
@ -136,6 +138,11 @@
|
|||
"orientation": "inherit",
|
||||
"modules": [
|
||||
"battery",
|
||||
"custom/sep",
|
||||
"memory",
|
||||
"cpu",
|
||||
"temperature",
|
||||
"custom/sep",
|
||||
"custom/system-shutdown",
|
||||
"custom/system-reboot",
|
||||
"custom/system-hibernate",
|
||||
|
@ -143,22 +150,6 @@
|
|||
"custom/system-lock",
|
||||
"custom/sep",
|
||||
"power-profiles-daemon",
|
||||
"custom/sep"
|
||||
],
|
||||
"drawer": {
|
||||
"transition-duration": 500,
|
||||
"transition-left-to-right": false,
|
||||
"children-class": "drawer-child"
|
||||
}
|
||||
},
|
||||
|
||||
"group/hardware": {
|
||||
"orientation": "inherit",
|
||||
"modules": [
|
||||
"custom/sep",
|
||||
"memory",
|
||||
"cpu",
|
||||
"temperature"
|
||||
],
|
||||
"drawer": {
|
||||
"transition-duration": 500,
|
||||
|
@ -173,7 +164,6 @@
|
|||
"idle_inhibitor",
|
||||
"custom/light-dark-toggle",
|
||||
"custom/night-light-toggle",
|
||||
"custom/keyboard-switch",
|
||||
"custom/toggle-notifications"
|
||||
],
|
||||
"drawer": {
|
||||
|
@ -227,20 +217,27 @@
|
|||
"title",
|
||||
"artist"
|
||||
],
|
||||
"dynamic-len": 40,
|
||||
"dynamic-len": 40
|
||||
},
|
||||
|
||||
"network": {
|
||||
"format-disconnected": "\uf127",
|
||||
"format-ethernet": "\uf6ff {ifname}: {ipadds}/{cidr}",
|
||||
"format-wifi": "\uf1eb",
|
||||
"format-ethernet": "\uf6ff {ifname}: {ipadds}/{cidr}", /* network-wired */
|
||||
"format-wifi": "\uf1eb", /* wifi */
|
||||
"interval": 5,
|
||||
"on-click-right": "kitty -e nmtui",
|
||||
"on-click-right": "foot -e nmtui",
|
||||
"tooltip-format": "{ifname}: {ipaddr}",
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"tooltip-format-wifi": "{essid} ({signalStrength}%)\n{ifname}: {ipaddr}"
|
||||
},
|
||||
|
||||
"sway/language": {
|
||||
"format": "{short}",
|
||||
"on-click": "swaymsg input type:keyboard xkb_switch_layout next",
|
||||
"tooltip-format": "Switch keyboard layouts",
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"sway/window": {
|
||||
"max-length": 85
|
||||
},
|
||||
|
@ -250,7 +247,9 @@
|
|||
"disable-scroll": true,
|
||||
"format": "{icon}{name}",
|
||||
"format-icons": {
|
||||
"default": "", // Prevent showing workspace name literal.
|
||||
//"default": "\uf111",
|
||||
"default": "",
|
||||
//"focused": "\uf192",
|
||||
"urgent": "\uf071 "
|
||||
},
|
||||
// "persistent_workspaces": {
|
||||
|
@ -264,9 +263,9 @@
|
|||
"tooltip": true,
|
||||
"format-icons": {
|
||||
"default": "",
|
||||
"performance": "",
|
||||
"performance": "\uf135",
|
||||
"balanced": "",
|
||||
"power-saver": ""
|
||||
"power-saver": "\uf06c"
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -290,19 +289,23 @@
|
|||
|
||||
"pulseaudio": {
|
||||
"format": "{volume}% {icon}{format_source}",
|
||||
"format-muted": "\uf6a9{format_source}",
|
||||
"format-muted": "\uf6a9{format_source}", /* volume-xmark */
|
||||
"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 "]
|
||||
"headphone": "\uf58f", /* headphones-simple */
|
||||
"hands-free": "\uf590", /* headset */
|
||||
"headset": "\uf590", /* headset */
|
||||
"phone": "\uf3ce", /* mobile */
|
||||
"portable": "\uf3ce", /* mobile */
|
||||
"car": "\uf1b9", /* car */
|
||||
"default": [
|
||||
"\uf026", /* volume-off */
|
||||
"\uf027", /* volume-low */
|
||||
"\uf028" /* volume-high */
|
||||
]
|
||||
},
|
||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||
"on-click-right": "pavucontrol",
|
||||
|
@ -310,12 +313,19 @@
|
|||
},
|
||||
|
||||
"temperature": {
|
||||
"critical-threshold": 70,
|
||||
"critical-threshold": 75,
|
||||
"format": "{temperatureC}°C {icon}",
|
||||
"format-icons": ["\uf2cb", "\uf2c9", "\uf2c7"]
|
||||
"format-icons": [
|
||||
"\uf2cb", /* temperature-empty */
|
||||
"\uf2ca", /* temperature-quarter */
|
||||
"\uf2c9", /* temperature-half */
|
||||
"\uf2c8", /* temperature-three-quarters */
|
||||
"\uf2c7" /* temperature-full */
|
||||
]
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"show-passive-items": true,
|
||||
"spacing": 10
|
||||
}
|
||||
}
|
||||
|
|
10
stow/waybar/.config/waybar/style-dark.css
Normal file
10
stow/waybar/.config/waybar/style-dark.css
Normal file
|
@ -0,0 +1,10 @@
|
|||
@define-color foreground rgb( 3, 3, 3);
|
||||
@define-color background rgb(202, 202, 202);
|
||||
|
||||
@define-color highlight-background alpha(@foreground, 0.4);
|
||||
|
||||
* {
|
||||
color: @foreground;
|
||||
font-family: letter, "Font Awesome 6 Free", font-awesome, monospace;
|
||||
}
|
||||
|
10
stow/waybar/.config/waybar/style-light.css
Normal file
10
stow/waybar/.config/waybar/style-light.css
Normal file
|
@ -0,0 +1,10 @@
|
|||
@define-color foreground rgb(202, 202, 202);
|
||||
@define-color background rgb( 3, 3, 3);
|
||||
|
||||
@define-color highlight-background alpha(@foreground, 0.4);
|
||||
|
||||
* {
|
||||
color: @foreground;
|
||||
background-color: red;
|
||||
}
|
||||
|
|
@ -9,72 +9,41 @@
|
|||
* - round.css
|
||||
*/
|
||||
|
||||
@define-color transparent-black rgba(23, 23, 23, 0.9);
|
||||
@define-color white #ecf0f1;
|
||||
@define-color warning-red #eb4d4b;
|
||||
@define-color accent #00897b;
|
||||
@import "modern.css";
|
||||
|
||||
window#waybar {
|
||||
font-family: letter, "Font Awesome 6 Free", font-awesome, monospace;
|
||||
font-size: 13px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
transition-property: background-color;
|
||||
transition-duration: .5s;
|
||||
}
|
||||
|
||||
#window, #workspaces {
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
#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,
|
||||
#disk,
|
||||
#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-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,
|
||||
#disk,
|
||||
#group-hardware,
|
||||
#group-system,
|
||||
#cpu,
|
||||
#idle_inhibitor,
|
||||
#keyboard-state,
|
||||
#memory,
|
||||
#mode,
|
||||
#mpd,
|
||||
#mpris,
|
||||
#network,
|
||||
#sway-language,
|
||||
#sway-window,
|
||||
#power-profiles-daemon,
|
||||
#privacy-item.audio-in, #privacy-item.audio-out, #privacy-item.screenshare,
|
||||
#privacy,
|
||||
#pulseaudio,
|
||||
#temperature,
|
||||
#tray {
|
||||
padding: 0 5px;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
/* FIXME */
|
||||
#battery {
|
||||
padding: 0 0 0 4px;
|
||||
}
|
||||
|
||||
#window,
|
||||
#workspaces {
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
/* If workspaces is the leftmost module, omit left margin */
|
||||
|
@ -87,19 +56,6 @@ window#waybar {
|
|||
margin-right: 0;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
|
||||
label:focus {
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
/* Module specific colours */
|
||||
|
||||
#battery.charging, #battery.plugged {
|
||||
color: #ffffff;
|
||||
background-color: #26A65B;
|
||||
|
@ -122,27 +78,32 @@ label:focus {
|
|||
opacity: 0.6;
|
||||
}
|
||||
|
||||
#idle_inhibitor.activated {
|
||||
background-color: #ecf0f1;
|
||||
color: #2d3436;
|
||||
}
|
||||
|
||||
#mpris {
|
||||
color: #2a5c45;
|
||||
color: #ecf0f1;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
#mpris.spotify {
|
||||
background-color: #66cc99;
|
||||
color: #2a5c45;
|
||||
}
|
||||
|
||||
#mpris.vlc {
|
||||
background-color: #ffa000;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
background-color: #eb4d4b;
|
||||
#mpris.Feishin {
|
||||
background: rgb(170,92,195);
|
||||
background: linear-gradient(90deg, rgba(170,92,195,1) 0%, rgba(0,164,220,1) 100%);
|
||||
}
|
||||
|
||||
#custom_light-dark-toggle.activated,
|
||||
#idle_inhibitor.activated {
|
||||
background-color: #ecf0f1;
|
||||
color: #2d3436;
|
||||
#temperature.critical {
|
||||
background-color: @warning-red;
|
||||
}
|
||||
|
||||
#tray > .passive {
|
||||
|
@ -151,15 +112,34 @@ label:focus {
|
|||
|
||||
#tray > .needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
background-color: #eb4d4b;
|
||||
background-color: @warning-red;
|
||||
}
|
||||
|
||||
#privacy-item.audio-in,
|
||||
#privacy-item.audio-out,
|
||||
#privacy-item.screenshare {
|
||||
background-color: #ffaa01;
|
||||
color: #2d3436;
|
||||
#workspaces button.focused {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@import "sharp.css";
|
||||
button {
|
||||
/* Avoid rounded borders under each button name */
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||
button:hover {
|
||||
background: inherit;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
label:focus {
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue