laptop stuff, breaks niri I think

This commit is contained in:
elkowar 2024-12-09 13:35:23 +01:00
parent 3b88072585
commit 390049da33
Signed by: ElKowar
GPG key ID: 862BA3D7D7760F13
7 changed files with 740 additions and 80 deletions

View file

@ -11,7 +11,7 @@
(defcfg (defcfg
linux-dev /dev/input/by-path/platform-i8042-serio-0-event-kbd linux-dev /dev/input/by-path/platform-i8042-serio-0-event-kbd
fallthrough true ;; fallthrough true
) )
(defsrc (defsrc
@ -27,9 +27,9 @@
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq slck pause esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq slck pause
grv 1 2 3 4 5 6 7 8 9 0 - = bspc ins home pgup grv 1 2 3 4 5 6 7 8 9 0 - = bspc ins home pgup
@tab q w e r t @cy @cu @ci @co @cp [ + ret del end pgdn @tab q w e r t @cy @cu @ci @co @cp [ + ret del end pgdn
@cps @ca @cs @cd @cf g @ch @cj k @cl scln ' \ @cps @ca @cs @cd @cf g @ch @cj @ck @cl @cscln ' \
lsft 102d z x c v b n m , . / rsft up lsft 102d z x c v b n m , . / rsft up
lctl lmet lalt spc ralt ralt left down rght lctl lmet lalt spc bspc ralt left down rght
) )
(defalias (defalias
@ -44,7 +44,9 @@
ch (chord chords h) ch (chord chords h)
ci (chord chords i) ci (chord chords i)
cj (chord chords j) cj (chord chords j)
ck (chord chords k)
cl (chord chords l) cl (chord chords l)
cscln (chord chords scln)
) )
(defchords chords 100 (defchords chords 100
@ -60,35 +62,52 @@
(u) u (u) u
(o) o (o) o
(p) p (p) p
(y p) (macro = S-.) (k) k
(u i o) @uml-u (scln) scln
(i o p) @uml-o ;;(y p) (macro = S-.)
(i o p) @uml-u
(k l scln) @uml-o
(a s d) @uml-a (a s d) @uml-a
(s d f) @uml-s (s d f) @uml-s
(u i o p) @uml-U
(j k l scln) @uml-O
(a s d f) @uml-A
(h j) (macro S-scln S-scln) (h j) (macro S-scln S-scln)
(j i) (macro - S-.) ;;(j i) (macro - S-.)
(j l) C-bspc) (j l) C-bspc)
(defalias (defalias
tab tab
cps (tap-hold-release 200 200 esc (layer-toggle symbols)) cps (tap-hold-release 200 200 esc (layer-toggle symbols))
tab (tap-hold-release 200 200 tab (layer-toggle umls)) ;;cps (tap-hold-release 200 200 esc lctrl)
s-sft (tap-hold-release 150 150 s lsft) ;;tab (tap-hold-release 200 200 tab (layer-toggle symbols))
l-sft (tap-hold-release 150 150 l lsft) ;;tab (tap-hold-release 200 200 tab (layer-toggle umls))
;;s-sft (tap-hold-release 150 150 s lsft)
;;l-sft (tap-hold-release 150 150 l lsft)
;;uml-a (macro ralt S-apos a)
;;uml-o (macro ralt S-apos o)
;;uml-u (macro ralt S-apos u)
;;uml-s (macro ralt s s)
uml-a (unicode ä)
uml-o (unicode ö)
uml-u (unicode ü)
uml-s (unicode ß)
uml-A (unicode Ä)
uml-O (unicode Ö)
uml-U (unicode Ü)
uml-a (macro ralt S-apos a)
uml-o (macro ralt S-apos o)
uml-u (macro ralt S-apos u)
uml-s (macro ralt s s)
) )
(deflayer symbols (deflayer symbols
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lrld _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ S-1 S-apos / \ _ S-[ [ ] S-] _ S-8 _ _ _ _ _ _ S-1 S-apos / \ _ S-[ [ ] S-] _ S-8 _ _ _ _
_ home S-4 S-9 S-0 end left down up rght S-7 S-5 _ _ home S-4 S-9 S-0 end left down up rght S-7 S-5 _
_ _ S-\ del S-/ S-` _ = S-3 bspc _ _ _ _ _ _ S-\ del S-/ S-` _ = S-3 ralt _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
) )

View file

@ -1,3 +1,4 @@
// vim:set ft=kdl:
input { input {
keyboard { keyboard {
xkb { xkb {
@ -10,13 +11,20 @@ input {
} }
touchpad { touchpad {
dwt dwt
dwtp
tap tap
natural-scroll natural-scroll
// accel-speed 0.2 // accel-speed 0.2
scroll-factor 0.7
} }
mouse { mouse {
accel-speed -0.1 accel-speed -0.1
} }
trackpoint {
accel-speed -0.1
//accel-speed -0.1
}
//warp-mouse-to-focus //warp-mouse-to-focus
focus-follows-mouse max-scroll-amount="20%" focus-follows-mouse max-scroll-amount="20%"
@ -24,38 +32,49 @@ input {
} }
cursor { cursor {
xcursor-size 32
xcursor-theme "phinger-cursors-light" xcursor-theme "phinger-cursors-light"
xcursor-size 12
} }
environment { environment {
DISPLAY ":0" DISPLAY ":0"
XDG_SESSION_TYPE "wayland"
ELECTRON_OZONE_PLATFORM_HINT "auto"
// GDK_BACKEND "x11" // GDK_BACKEND "x11"
} }
output "DP-2" { //output "Philips Consumer Electronics Company PHL 345B1C 0x00008E7C" {
mode "3440x1440@99.982" //mode "3440x1440@60"
//variable-refresh-rate //scale 1
scale 1 //transform "normal"
transform "normal" //position x=0 y=0
position x=2560 y=0 //}
//position x=1440 y=0
}
output "HDMI-A-1" { output "HDMI-A-1" {
mode "2560x1440" mode "1920x1080"
scale 1 scale 1
position x=0 y=0 position x=0 y=0
//transform "270" //off
} }
//output "DP-4" {
//mode "2560x1440"
//scale 1
//position x=0 y=0
//off
//}
output "eDP-1" {
mode "1920x1080@60"
scale 1.0
transform "normal"
position x=0 y=1440
}
layout { layout {
gaps 16 gaps 16
// center-focused-column "always" // - "never", "always" "on-overflow" // center-focused-column "always" // - "never", "always" "on-overflow"
center-focused-column "on-overflow" // - "never", "always" "on-overflow" center-focused-column "on-overflow" // - "never", "always" "on-overflow"
always-center-single-column // always-center-single-column
preset-column-widths { preset-column-widths {
proportion 0.33333 proportion 0.33333
proportion 0.5 proportion 0.5
@ -71,14 +90,21 @@ layout {
} }
spawn-at-startup "bash" "-c" "swayidle -w timeout 601 'niri msg action power-off-monitors' timeout 600 'swaylock -f' before-sleep 'swaylock -f' timeout 3600 'systemctl suspend' timeout 60000 'systemctl hibernate'"
spawn-at-startup "bash" "-c" "eww -c ~/.config/eww-bar open-many bar_1 niri_scroller" spawn-at-startup "bash" "-c" "eww -c ~/.config/eww-bar open-many bar_1 niri_scroller"
spawn-at-startup "xwayland-satellite" spawn-at-startup "xwayland-satellite"
spawn-at-startup "bash" "-c" "ELECTRON_OZONE_PLATFORM_HINT=auto 1password --silent" spawn-at-startup "bash" "-c" "1password --silent"
spawn-at-startup "wl-paste" "--watch" "xclip -in -sel c" spawn-at-startup "wl-paste" "--watch" "xclip -in -sel c"
spawn-at-startup "~/.config/niri/clipboardfix.sh" spawn-at-startup "~/.config/niri/clipboardfix.sh"
spawn-at-startup "clipse" "-listen" spawn-at-startup "clipse -listen"
spawn-at-startup "wl-clip-persist" "--clipboard" "regular" spawn-at-startup "wl-clip-persist" "--clipboard" "regular"
// spawn-at-startup "swaybg" "-m" "fill" "-i" "~/Pictures/wallpapers/green_leaves.jpg" spawn-at-startup "kdeconnect-indicator"
//
spawn-at-startup "bash" "-c" "swaybg -m fill -i ~/wallpapers/green_leaves.jpg"
spawn-at-startup "waybar"
spawn-at-startup "~/.config/niri/clipsync watch with-notifications"
spawn-at-startup
//
prefer-no-csd prefer-no-csd
screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png" screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
@ -125,12 +151,16 @@ window-rule {
default-column-width { proportion 0.3333; } default-column-width { proportion 0.3333; }
} }
layer-rule {
match namespace="^notifications$"
block-out-from "screen-capture"
}
// Example: block out two password managers from screen capture. // Example: block out two password managers from screen capture.
// (This example rule is commented out with a "/-" in front.) // (This example rule is commented out with a "/-" in front.)
window-rule { window-rule {
match app-id=r#"1Password"# match app-id=r#"1Password"#
match title=r#"[gG]mail"# match title=r#"[gG]mail"#
match app-id=r#".*[mM]ako.*"#
match title=r#".*[Ww]hats[aA]pp.*$"# match title=r#".*[Ww]hats[aA]pp.*$"#
// opacity 0.5 // opacity 0.5
@ -157,7 +187,7 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker. // Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+T { spawn "foot"; } Mod+T { spawn "foot"; }
Mod+B { spawn "bash" "-c" "unset DISPLAY && google-chrome --enable-features=TouchpadOverscrollHistoryNavigation --enable-features=UseOzonePlatform --ozone-platform=wayland"; } Mod+B { spawn "bash" "-c" "unset DISPLAY && google-chrome --ozone-platform-hint=auto --enable-features=VaapiVideoDecodeLinuxGL --enable-features=TouchpadOverscrollHistoryNavigation"; }
Mod+Shift+P { spawn "~/.config/rofi/launchers/type-2/launcher.sh"; } Mod+Shift+P { spawn "~/.config/rofi/launchers/type-2/launcher.sh"; }
Mod+Shift+B { spawn "firefox"; } Mod+Shift+B { spawn "firefox"; }
@ -168,6 +198,9 @@ binds {
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; } XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; } XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "set" "5%+"; }
XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "set" "5%-"; }
Mod+Shift+Q { close-window; } Mod+Shift+Q { close-window; }
Mod+H { focus-column-or-monitor-left; } Mod+H { focus-column-or-monitor-left; }
@ -211,10 +244,10 @@ binds {
Mod+Ctrl+U { move-workspace-down; } Mod+Ctrl+U { move-workspace-down; }
Mod+Ctrl+I { move-workspace-up; } Mod+Ctrl+I { move-workspace-up; }
Mod+Shift+WheelScrollDown cooldown-ms=150 { focus-workspace-down; } Mod+Ctrl+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
Mod+Shift+WheelScrollUp cooldown-ms=150 { focus-workspace-up; } Mod+Ctrl+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
Mod+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; } Mod+Ctrl+Shift+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; }
Mod+Ctrl+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; } Mod+Ctrl+Shift+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; }
// Mod+Ctrl+Shift+WheelScrollDown { scroll-viewport-left amount=0.1; } // Mod+Ctrl+Shift+WheelScrollDown { scroll-viewport-left amount=0.1; }
// Mod+Ctrl+Shift+WheelScrollUp { scroll-viewport-right amount=0.1; } // Mod+Ctrl+Shift+WheelScrollUp { scroll-viewport-right amount=0.1; }
@ -225,13 +258,6 @@ binds {
Mod+WheelScrollDown { focus-column-right; } Mod+WheelScrollDown { focus-column-right; }
Mod+WheelScrollUp { focus-column-left; } Mod+WheelScrollUp { focus-column-left; }
// Mod+Shift+WheelScrollDown { scroll-viewport-right-by-column; }
// Mod+Shift+WheelScrollUp { scroll-viewport-left-by-column; }
// Mod+Shift+WheelScrollDown { scroll-viewport-right-by-fraction amount=0.1; }
// Mod+Shift+WheelScrollUp { scroll-viewport-left-by-fraction amount=0.1; }
// Mod+Ctrl+Shift+WheelScrollDown { move-column-right; } // Mod+Ctrl+Shift+WheelScrollDown { move-column-right; }
// Mod+Ctrl+Shift+WheelScrollUp { move-column-left; } // Mod+Ctrl+Shift+WheelScrollUp { move-column-left; }

View file

@ -88,7 +88,7 @@
:less {:validate true} :less {:validate true}
:scss {:validate true}}}) :scss {:validate true}}})
(lsp.tsserver.setup {:root_dir (lsp.util.root_pattern "package.json") (lsp.ts_ls.setup {:root_dir (lsp.util.root_pattern "package.json")
:on_attach (fn [client bufnr] :on_attach (fn [client bufnr]
(set client.resolved_capabilities.document_formatting false) (set client.resolved_capabilities.document_formatting false)
(on_attach client bufnr))}) (on_attach client bufnr))})

View file

@ -126,6 +126,7 @@
(plugin :eraserhd/parinfer-rust {:build "cargo build --release"}) (plugin :eraserhd/parinfer-rust {:build "cargo build --release"})
(plugin :kmonad/kmonad-vim) (plugin :kmonad/kmonad-vim)
(plugin :elkowar/yuck.vim {:ft ["yuck"]}) (plugin :elkowar/yuck.vim {:ft ["yuck"]})
(plugin :rhaiscript/vim-rhai {:ft ["rhai"]})
(plugin :cespare/vim-toml {:ft ["toml"]}) (plugin :cespare/vim-toml {:ft ["toml"]})
(plugin :bduggan/vim-raku {:ft ["raku"]}) (plugin :bduggan/vim-raku {:ft ["raku"]})
(plugin :LnL7/vim-nix {:ft ["nix"]}) (plugin :LnL7/vim-nix {:ft ["nix"]})

View file

@ -0,0 +1,286 @@
// -*- mode: jsonc -*-
{
// "layer": "top", // Waybar at top layer
"position": "top", // Waybar position (top|bottom|left|right)
//"height": 24, // Waybar height (to be removed for auto height)
//"width": 24, // Waybar width
"spacing": 6, // Gaps between modules (4px)
"reload_style_on_change": true,
// Choose the order of the modules
"modules-left": [
"niri/workspaces",
"sway/workspaces",
"sway/mode",
"sway/scratchpad",
"custom/media"
],
"modules-center": [
"sway/window",
"clock",
"clock#date"
],
"modules-right": [
//"mpd",
//"idle_inhibitor",
"privacy",
//"network",
"cpu",
"memory",
"temperature",
"custom/display-scale",
"power-profiles-daemon",
"pulseaudio",
"backlight",
"keyboard-state",
"battery",
//"battery#bat2",
"tray",
"custom/power"
],
"niri/workspaces": {
"format": "{icon}",
"format-icons": {
// Named workspaces
// (you need to configure them in niri)
"browser": "",
"discord": "",
"chat": "<b></b>",
// Icons by state
//"focused": "◈",
"focused": "◆",
"active": "◆",
"default": "◆"
}
},
"privacy": {
"icon-spacing": 4,
"icon-size": 18,
"transition-duration": 250,
"modules": [
{
"type": "screenshare",
"tooltip": true,
"tooltip-icon-size": 24
},
{
"type": "audio-out",
"tooltip": true,
"tooltip-icon-size": 24
},
{
"type": "audio-in",
"tooltip": true,
"tooltip-icon-size": 24
}
]
},
// 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}"
},
"clock#date": {
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%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": "intel_backlight",
"format": "{percent}% {icon}",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"on-scroll-up": "brightnessctl s 2%+",
"on-scroll-down": "brightnessctl s 2%-",
"on-click-right": "brightnessctl s 1%",
"on-click": "brightnessctl s 50%"
},
"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/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"
}
},
"custom/display-scale": {
"format": "",
"on-click": "niri msg output eDP-1 scale 1.0",
"on-click-right": "niri msg output eDP-1 scale 1.25"
}
}

View file

@ -0,0 +1,328 @@
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: Terminus, "Font awesome 6 Free", Helvetica, Arial, sans-serif;
/*font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;*/
font-size: 16px;
}
window.eDP-1 * { font-size: 10px; }
window#waybar {
background-color: #1d2021;
/*border-bottom: 3px solid rgba(100, 114, 125, 0.5);*/
color: #ebdbb2;
/*transition-property: background-color;*/
/*transition-duration: .5s;*/
}
window .modules-right > * > * {
background-color: #282828;
padding: 0 10px;
}
window .modules-left, .modules-right, .modules-center {
margin: 3px 0;
}
window.eDP-1 .modules-left, window.eDP-1 .modules-right, window.eDP-1 .modules-center {
margin: 0px 0;
}
window#waybar.hidden {
opacity: 0.2;
}
#workspaces button * {
padding: 0px 0px;
color: #ebdbb2;
font-size: 24px;
padding-top: 0px;
}
#workspaces button.empty * {
color: #928374
}
#workspaces button.active * {
color: #8ec07c;
}
#window, #workspaces {
/*margin: 0 4px;*/
}
#workspaces * {
color: #ebdbb2;
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
.modules-right > widget:last-child > * {
/*padding-right: 4px;*/
margin-right: 4px;
}
#battery.charging, #battery.plugged {
color: #b8bb26;
/*background-color: #26A65B;*/
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
/* Using steps() instead of linear as a timing function to limit cpu usage */
#battery.critical:not(.charging) {
/*background-color: #f53c3c;*/
color: #fb4934;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
#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;
}
#power-profiles-daemon {
min-width: 20px;
}
#power-profiles-daemon.performance {
background-color: #3c2525;
}
#power-profiles-daemon.balanced {
}
#power-profiles-daemon.power-saver {
background-color: #253125;
}
/*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;*/
/*}*/
/*#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;*/
/*box-shadow: inset 0 -3px #ffffff;*/
/*}*/
/*#clock,*/
/*#battery,*/
/*#cpu,*/
/*#memory,*/
/*#disk,*/
/*#temperature,*/
/*#backlight,*/
/*#network,*/
/*#pulseaudio,*/
/*#wireplumber,*/
/*#custom-media,*/
/*#tray,*/
/*#mode,*/
/*#idle_inhibitor,*/
/*#scratchpad,*/
/*#power-profiles-daemon,*/
/*#mpd {*/
/*padding: 0 5px;*/
/*color: #ebdbb2;*/
/*}*/
/*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;*/
/*}*/