diff --git a/Wallpapers/aesthetic-cyberpunk-street-cars-desktop-wallpaper.jpg b/Wallpapers/aesthetic-cyberpunk-street-cars-desktop-wallpaper.jpg new file mode 100644 index 0000000..5cd6d85 Binary files /dev/null and b/Wallpapers/aesthetic-cyberpunk-street-cars-desktop-wallpaper.jpg differ diff --git a/Wallpapers/aesthetic-purple-cityscape-desktop-wallpaper.jpg b/Wallpapers/aesthetic-purple-cityscape-desktop-wallpaper.jpg new file mode 100644 index 0000000..62e12ea Binary files /dev/null and b/Wallpapers/aesthetic-purple-cityscape-desktop-wallpaper.jpg differ diff --git a/Wallpapers/aesthetic-purple-landscape-desktop-wallpaper-4k.jpg b/Wallpapers/aesthetic-purple-landscape-desktop-wallpaper-4k.jpg new file mode 100644 index 0000000..cd8b217 Binary files /dev/null and b/Wallpapers/aesthetic-purple-landscape-desktop-wallpaper-4k.jpg differ diff --git a/Wallpapers/anime-girl-pink-eyes-city-desktop-wallpaper.jpg b/Wallpapers/anime-girl-pink-eyes-city-desktop-wallpaper.jpg new file mode 100644 index 0000000..035c143 Binary files /dev/null and b/Wallpapers/anime-girl-pink-eyes-city-desktop-wallpaper.jpg differ diff --git a/Wallpapers/anime-girl-with-beautiful-blue-eyes-desktop-wallpaper.jpg b/Wallpapers/anime-girl-with-beautiful-blue-eyes-desktop-wallpaper.jpg new file mode 100644 index 0000000..a3f7c74 Binary files /dev/null and b/Wallpapers/anime-girl-with-beautiful-blue-eyes-desktop-wallpaper.jpg differ diff --git a/Wallpapers/asteroid-explosion-on-earth-desktop-wallpaper.jpg b/Wallpapers/asteroid-explosion-on-earth-desktop-wallpaper.jpg new file mode 100644 index 0000000..d6b7d95 Binary files /dev/null and b/Wallpapers/asteroid-explosion-on-earth-desktop-wallpaper.jpg differ diff --git a/Wallpapers/beautiful-drawn-starry-sky-desktop-wallpaper-4k.jpg b/Wallpapers/beautiful-drawn-starry-sky-desktop-wallpaper-4k.jpg new file mode 100644 index 0000000..86d20e9 Binary files /dev/null and b/Wallpapers/beautiful-drawn-starry-sky-desktop-wallpaper-4k.jpg differ diff --git a/Wallpapers/beautiful-fantasy-landscape-desktop-wallpaper.jpg b/Wallpapers/beautiful-fantasy-landscape-desktop-wallpaper.jpg new file mode 100644 index 0000000..8444f3a Binary files /dev/null and b/Wallpapers/beautiful-fantasy-landscape-desktop-wallpaper.jpg differ diff --git a/Wallpapers/beautiful-purple-forest-aesthetic-desktop-wallpaper-4k.jpg b/Wallpapers/beautiful-purple-forest-aesthetic-desktop-wallpaper-4k.jpg new file mode 100644 index 0000000..bf11305 Binary files /dev/null and b/Wallpapers/beautiful-purple-forest-aesthetic-desktop-wallpaper-4k.jpg differ diff --git a/Wallpapers/bts-mysterious-blue-aesthetic-desktop-wallpaper-4k.jpg b/Wallpapers/bts-mysterious-blue-aesthetic-desktop-wallpaper-4k.jpg new file mode 100644 index 0000000..37d67b6 Binary files /dev/null and b/Wallpapers/bts-mysterious-blue-aesthetic-desktop-wallpaper-4k.jpg differ diff --git a/Wallpapers/colorful-eye-anime-girl-desktop-wallpaper.jpg b/Wallpapers/colorful-eye-anime-girl-desktop-wallpaper.jpg new file mode 100644 index 0000000..e80f3a1 Binary files /dev/null and b/Wallpapers/colorful-eye-anime-girl-desktop-wallpaper.jpg differ diff --git a/Wallpapers/cute-anime-girl-winter-forest-desktop-wallpaper.jpg b/Wallpapers/cute-anime-girl-winter-forest-desktop-wallpaper.jpg new file mode 100644 index 0000000..4dce577 Binary files /dev/null and b/Wallpapers/cute-anime-girl-winter-forest-desktop-wallpaper.jpg differ diff --git a/Wallpapers/fairy-girl-cyberpunk-style-desktop-wallpaper.jpg b/Wallpapers/fairy-girl-cyberpunk-style-desktop-wallpaper.jpg new file mode 100644 index 0000000..a9b31de Binary files /dev/null and b/Wallpapers/fairy-girl-cyberpunk-style-desktop-wallpaper.jpg differ diff --git a/Wallpapers/ghost-in-the-shell-motoko-kusanagi-art-desktop-wallpaper.jpg b/Wallpapers/ghost-in-the-shell-motoko-kusanagi-art-desktop-wallpaper.jpg new file mode 100644 index 0000000..af3e8c1 Binary files /dev/null and b/Wallpapers/ghost-in-the-shell-motoko-kusanagi-art-desktop-wallpaper.jpg differ diff --git a/Wallpapers/japanese-pagoda-green-mountains-desktop-wallpaper.jpg b/Wallpapers/japanese-pagoda-green-mountains-desktop-wallpaper.jpg new file mode 100644 index 0000000..cf883c7 Binary files /dev/null and b/Wallpapers/japanese-pagoda-green-mountains-desktop-wallpaper.jpg differ diff --git a/Wallpapers/lockscreen.jpg b/Wallpapers/lockscreen.jpg new file mode 100644 index 0000000..95a446e Binary files /dev/null and b/Wallpapers/lockscreen.jpg differ diff --git a/Wallpapers/motoko-kusanagi-rain-desktop-wallpaper.jpg b/Wallpapers/motoko-kusanagi-rain-desktop-wallpaper.jpg new file mode 100644 index 0000000..ea7b45e Binary files /dev/null and b/Wallpapers/motoko-kusanagi-rain-desktop-wallpaper.jpg differ diff --git a/Wallpapers/neon-purple-cityscape-desktop-wallpaper.jpg b/Wallpapers/neon-purple-cityscape-desktop-wallpaper.jpg new file mode 100644 index 0000000..a25469e Binary files /dev/null and b/Wallpapers/neon-purple-cityscape-desktop-wallpaper.jpg differ diff --git a/Wallpapers/night-city-landscape-desktop-wallpaper.jpg b/Wallpapers/night-city-landscape-desktop-wallpaper.jpg new file mode 100644 index 0000000..a5c0541 Binary files /dev/null and b/Wallpapers/night-city-landscape-desktop-wallpaper.jpg differ diff --git a/Wallpapers/old-witcher-geralt-desktop-wallpaper.jpg b/Wallpapers/old-witcher-geralt-desktop-wallpaper.jpg new file mode 100644 index 0000000..8996b08 Binary files /dev/null and b/Wallpapers/old-witcher-geralt-desktop-wallpaper.jpg differ diff --git a/Wallpapers/pokemon-eevee-aesthetic-night-desktop-wallpaper-4k.jpg b/Wallpapers/pokemon-eevee-aesthetic-night-desktop-wallpaper-4k.jpg new file mode 100644 index 0000000..52547d2 Binary files /dev/null and b/Wallpapers/pokemon-eevee-aesthetic-night-desktop-wallpaper-4k.jpg differ diff --git a/Wallpapers/scary-black-wolf-in-magic-forest-desktop-wallpaper.jpg b/Wallpapers/scary-black-wolf-in-magic-forest-desktop-wallpaper.jpg new file mode 100644 index 0000000..dd678e1 Binary files /dev/null and b/Wallpapers/scary-black-wolf-in-magic-forest-desktop-wallpaper.jpg differ diff --git a/Wallpapers/spy-x-family-anya-forger-anime-desktop-wallpaper.jpg b/Wallpapers/spy-x-family-anya-forger-anime-desktop-wallpaper.jpg new file mode 100644 index 0000000..3ffc263 Binary files /dev/null and b/Wallpapers/spy-x-family-anya-forger-anime-desktop-wallpaper.jpg differ diff --git a/Wallpapers/witcher-3-pink-sunset-landscape-aesthetic-desktop-wallpaper-4k.jpg b/Wallpapers/witcher-3-pink-sunset-landscape-aesthetic-desktop-wallpaper-4k.jpg new file mode 100644 index 0000000..d65c367 Binary files /dev/null and b/Wallpapers/witcher-3-pink-sunset-landscape-aesthetic-desktop-wallpaper-4k.jpg differ diff --git a/Wallpapers/wolf-in-purple-night-forest-desktop-wallpaper.jpg b/Wallpapers/wolf-in-purple-night-forest-desktop-wallpaper.jpg new file mode 100644 index 0000000..2adb1b0 Binary files /dev/null and b/Wallpapers/wolf-in-purple-night-forest-desktop-wallpaper.jpg differ diff --git a/Wallpapers/zelda-link-sword-aesthetic-desktop-wallpaper.jpg b/Wallpapers/zelda-link-sword-aesthetic-desktop-wallpaper.jpg new file mode 100644 index 0000000..85e6c2b Binary files /dev/null and b/Wallpapers/zelda-link-sword-aesthetic-desktop-wallpaper.jpg differ diff --git a/config b/config index f679a18..31e67b8 100644 --- a/config +++ b/config @@ -56,9 +56,11 @@ exec $term --class autostart2 ### Output configuration #display configuration exec swaymsg focus output eDP-1 -output eDP-1 pos 0 360 res 3840x2160 +output eDP-1 pos 0 0 res 3840x2160 #output DP-1 pos 3840 0 res 3440x1440 -#output DP-2 pos 1920 0 +#output DP-2 pos 3840 0 res 3440x1440 +#output DP-3 pos 3840 0 res 3440x1440 +#output DP-4 pos 3840 0 res 3440x1440 # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) #output * bg /usr/share/backgrounds/sway/vaporwave-Sun-mountains-1408599-2364227326.jpg fill @@ -98,9 +100,11 @@ input "1739:30383:DELL07E6:00_06CB:76AF_Touchpad" { natural_scroll enabled middle_emulation enabled } -input * { - xkb_layout "no" - #xkb_variant "" +input type:keyboard { + xkb_layout no,us + xkb_variant winkeys,intl + xkb_options grp:ctrl_space_toggle + xkb_numlock enabled # enable numlock when logging in } @@ -282,42 +286,6 @@ bindsym $mod+r mode "resize" bindsym $mod+Shift+w exec wdisplays - - -# -# Status Bar: -# -# Read `man 5 sway-bar` for more information about this section. -#bar { -# position top -# -# # When the status_command prints a new line to stdout, swaybar updates. -# # The default just shows the current date and time. -# status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done -# -# colors { -# statusline #ffffff -# background #323232 -# inactive_workspace #32323200 #32323200 #5c5c5c -# } -#} - - -#bar { -# position top -# -# # When the status_command prints a new line to stdout, swaybar updates. -# # The default just shows the current date and time. -# status_command while ~/.config/sway/status.sh ; do sleep 1; done -# -# colors { -# statusline #ffffff -# background #323232 -# inactive_workspace #32323200 #32323200 #5c5c5c -# } -#} - - include /etc/sway/config.d/* #using waybar instead of swaybar. diff --git a/wallpaper.sh b/wallpaper.sh index 72a8834..05c4be3 100755 --- a/wallpaper.sh +++ b/wallpaper.sh @@ -1,11 +1,19 @@ #!/bin/sh - -dir=/home/gunalx/.config/sway/Wallpapers -swaybg -i $(find $dir -type f | shuf -n 1) -m fill && - +dir=/home/gunalx/.config/sway/Wallpapers/. +#swaybg -i $(find $dir -type f | shuf -n 1) -m fill && +#OLD_PID=$! +#while true; do +# sleep 10 +# swaybg -i $(find $dir -type f | shuf -n 1) -m fill && +# NEXT_PID=$! +# sleep 5 +# kill $OLD_PID +# OLD_PID=$NEXT_PID +#done +swaybg -i $(find $dir -type f | shuf -n1) -m fill & OLD_PID=$! while true; do - sleep 10 + sleep 60 swaybg -i $(find $dir -type f | shuf -n1) -m fill & NEXT_PID=$! sleep 5 diff --git a/waybar.d/config b/waybar.d/config index 986e0e4..54c9b83 100644 --- a/waybar.d/config +++ b/waybar.d/config @@ -5,25 +5,19 @@ // "width": 1280, // Waybar width "spacing": 4, // Gaps between modules (4px) // Choose the order of the modules - "modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad", "custom/media"], + "modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad"], "modules-center": ["sway/window"], - "modules-right": ["mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "battery#bat2", "clock", "tray"], - // Modules configuration - // "sway/workspaces": { - // "disable-scroll": true, - // "all-outputs": true, - // "format": "{name}: {icon}", - // "format-icons": { - // "1": "", - // "2": "", - // "3": "", - // "4": "", - // "5": "", - // "urgent": "", - // "focused": "", - // "default": "" - // } - // }, + "modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "clock", "tray"], + "sway/workspaces": { + "disable-scroll": true, + "all-outputs": false, + "format": "{name}: {icon}", + "format-icons": { + "urgent": "", + "focused": "", + "default": "" + } + }, "keyboard-state": { "numlock": true, "capslock": false, @@ -43,32 +37,7 @@ "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": " ", - "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": { @@ -110,7 +79,6 @@ }, "battery": { "states": { - //"good": 95, "warning": 30, "critical": 15 }, @@ -118,13 +86,8 @@ "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}%) ", @@ -152,18 +115,7 @@ "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 } + } diff --git a/waybar.d/style.css b/waybar.d/style.css index f2bbe06..cf5c5fb 100644 --- a/waybar.d/style.css +++ b/waybar.d/style.css @@ -1,191 +1,280 @@ -@define-color base #1e242f ; -@define-color urgent #b02c36 ; -@define-color primary_orange #fe9000 ; -@define-color primary_yellow #ffdd4a ; -@define-color primary_red #da1b2b ; -@define-color primary_blue #afd2e9 ; -@define-color primary_blue_2 #6fadd6 ; - -@keyframes blink-warning { - 70% { - color: white; - } - - to { - color: white; - background-color: orange; - } -} - -@keyframes blink-critical { - 70% { - color: white; - } - - to { - color: white; - background-color: red; - } -} - -/* ----------------------------------------------------------------------------- - * Base styles - * -------------------------------------------------------------------------- */ - -/* Reset all styles */ * { - border: none; - border-radius: 0; - min-height: 0; - margin: 1px; - padding: 0; -} - -/* The whole bar */ -#waybar { - background: transparent; - color: @primary_blue; - background-color: @base; - font-family: "Overpass Nerd Font"; - font-size: 16px; - border-radius: 15px; -} - -/* Every modules */ -#battery, -#clock, -#backlight, -#cpu, -#custom-keyboard-layout, -#memory, -#mode, -#custom-weather, -#network, -#pulseaudio, -#temperature, -#tray, -#idle_inhibitor, -#custom-PBPbattery { - padding:0.5rem 0.6rem; - margin: 1px 0px; -} - -/* ----------------------------------------------------------------------------- - * Modules styles - * -------------------------------------------------------------------------- */ - -#battery { - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; -} - -#battery.warning { - color: @primary_orange; -} - -#battery.critical { - color: @primary_red; -} - -#battery.warning.discharging { - animation-name: blink-warning; - animation-duration: 3s; -} - -#battery.critical.discharging { - animation-name: blink-critical; - animation-duration: 2s; -} - -#cpu.warning { - color: @primary_orange; -} - -#cpu.critical { - color: @primary_red; -} - -#memory { - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; -} - -#memory.warning { - color: @primary_orange; - } - -#memory.critical { - color: red; - animation-name: blink-critical; - animation-duration: 2s; - padding-left:5px; - padding-right:5px; -} - -#mode { - background: @primary_yellow; - border-bottom: 3px @primary_blue; - color: @base; - margin-left: 5px; - padding: 7px; -} - -#network.disconnected { - color: @primary_orange; -} - -#pulseaudio { - padding-top:6px; -} - -#pulseaudio.muted { - color: @primary_yellow; -} - -#temperature.critical { - color: red; -} - -#window { - font-weight: bold; -} - -#workspaces { - font-size:13px; -} - -#workspaces button { - border-bottom: 3px solid @primary_blue_2; - margin-bottom: 0px; - padding:0px; -} - -#workspaces button.focused { - border-bottom: 3px solid @primary_yellow; - margin-bottom: 0px; - padding-left:0; -} - -#workspaces button.urgent { - border-color: @primary_red; - color: @primary_red; -} - -#custom-power { - margin-left:15px; - margin-right:15px; - font-size:15px; -} - -#custom-launcher { - font-size:15px; - margin-left:15px; - margin-right:10px; -} - -#backlight.icon { - padding-right:1px; + /* `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, +#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; +} + +#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; +} diff --git a/waybar.d/style.css.bac3 b/waybar.d/style.css.bac3 new file mode 100644 index 0000000..7363dfb --- /dev/null +++ b/waybar.d/style.css.bac3 @@ -0,0 +1,190 @@ +@define-color base #1e242f ; +@define-color urgent #b02c36 ; +@define-color primary_orange #fe9000 ; +@define-color primary_yellow #ffdd4a ; +@define-color primary_red #da1b2b ; +@define-color primary_blue #afd2e9 ; +@define-color primary_blue_2 #6fadd6 ; + +@keyframes blink-warning { + 70% { + color: white; + } + + to { + color: white; + background-color: orange; + } +} + +@keyframes blink-critical { + 70% { + color: white; + } + + to { + color: white; + background-color: red; + } +} + +/* ----------------------------------------------------------------------------- + * Base styles + * -------------------------------------------------------------------------- */ + +/* Reset all styles */ +* { + border: none; + border-radius: 0; + min-height: 0; + margin: 1px; + padding: 0; +} + +/* The whole bar */ +#waybar { + background: transparent; + color: @primary_blue; + background-color: @base; + font-family: "Overpass Nerd Font"; + font-size: 16px; + border-radius-bottom: 0px 0px 15px 15px; +} + +/* Every modules */ +#battery, +#clock, +#backlight, +#cpu, +#custom-keyboard-layout, +#memory, +#mode, +#network, +#pulseaudio, +#temperature, +#tray, +#idle_inhibitor, +#custom-PBPbattery { + padding:0.5rem 0.6rem; + margin: 1px 0px; +} + +/* ----------------------------------------------------------------------------- + * Modules styles + * -------------------------------------------------------------------------- */ + +#battery { + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; +} + +#battery.warning { + color: @primary_orange; +} + +#battery.critical { + color: @primary_red; +} + +#battery.warning.discharging { + animation-name: blink-warning; + animation-duration: 3s; +} + +#battery.critical.discharging { + animation-name: blink-critical; + animation-duration: 2s; +} + +#cpu.warning { + color: @primary_orange; +} + +#cpu.critical { + color: @primary_red; +} + +#memory { + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; +} + +#memory.warning { + color: @primary_orange; + } + +#memory.critical { + color: red; + animation-name: blink-critical; + animation-duration: 2s; + padding-left:5px; + padding-right:5px; +} + +#mode { + background: @primary_yellow; + border-bottom: 3px @primary_blue; + color: @base; + margin-left: 5px; + padding: 7px; +} + +#network.disconnected { + color: @primary_orange; +} + +#pulseaudio { + padding-top:6px; +} + +#pulseaudio.muted { + color: @primary_yellow; +} + +#temperature.critical { + color: red; +} + +#window { + font-weight: bold; +} + +#workspaces { + font-size:13px; +} + +#workspaces button { + border-bottom: 3px solid @primary_blue_2; + margin-bottom: 0px; + padding:0px; +} + +#workspaces button.focused { + border-bottom: 3px solid @primary_yellow; + margin-bottom: 0px; + padding-left:0; +} + +#workspaces button.urgent { + border-color: @primary_red; + color: @primary_red; +} + +#custom-power { + margin-left:15px; + margin-right:15px; + font-size:15px; +} + +#custom-launcher { + font-size:15px; + margin-left:15px; + margin-right:10px; +} + +#backlight.icon { + padding-right:1px; + font-size: 13px; +}