Update to Latest
This commit is contained in:
parent
d1bbbcbb15
commit
71d6a8ab3b
157 changed files with 3467 additions and 5151 deletions
168
waybar/config
Normal file
168
waybar/config
Normal file
|
@ -0,0 +1,168 @@
|
|||
{
|
||||
"layer": "top",
|
||||
// "position": "bottom",
|
||||
"margin-left": 8,
|
||||
"margin-right": 8,
|
||||
"margin-top": 2,
|
||||
"margin-bottom": 0,
|
||||
"modules-left": ["hyprland/workspaces", "cpu", "memory", "network#speed"],
|
||||
"modules-center": [
|
||||
"clock"
|
||||
],
|
||||
"modules-right": [
|
||||
"temperature#gpu",
|
||||
"custom/transparency",
|
||||
"custom/wallpaper",
|
||||
"pulseaudio",
|
||||
"backlight",
|
||||
"network",
|
||||
// "bluetooth",
|
||||
"battery"
|
||||
],
|
||||
"temperature#gpu": {
|
||||
"thermal-zone": 5,
|
||||
"critical-threshold": 80,
|
||||
"format-critical": "{temperatureC}°C ",
|
||||
"format": "{temperatureC}°C ",
|
||||
"tooltip": false
|
||||
},
|
||||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"scroll-step": 5,
|
||||
"format": "{icon}",
|
||||
"format-icons": [" ", " ", " ", " "],
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{percent}%"
|
||||
},
|
||||
"network#speed": {
|
||||
"interval": 1,
|
||||
"format": "{ifname}%%",
|
||||
"format-wifi": " {bandwidthDownBytes} {bandwidthUpBytes}",
|
||||
"format-ethernet": " {bandwidthDownBytes} {bandwidthUpBytes} ",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format": "{ipaddr}",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"tooltip-format-wifi": "{essid} {icon} {signalStrength}%",
|
||||
"tooltip-format-ethernet": "{ifname} ",
|
||||
"tooltip-format-disconnected": " Disconnected",
|
||||
"max-length": 22,
|
||||
"min-length": 20,
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"keyboard-state": {
|
||||
"numlock": true,
|
||||
"capslock": true,
|
||||
"scrolllock": false,
|
||||
"format": "{name} {icon}",
|
||||
"format-icons": {
|
||||
"locked": "\uf023",
|
||||
"unlocked": "\uf3c1"
|
||||
}
|
||||
},
|
||||
"custom/launcher": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"on-click": "~/.config/rofi/launcher/launcher.sh"
|
||||
},
|
||||
"custom/transparency": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "~/.config/waybar/scripts/toggle-trans.sh",
|
||||
"format-alt": " "
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": "{usage}% <span font='Font Awesome 6 Free-Solid'>\uf2db</span>",
|
||||
"on-click": "kitty btop"
|
||||
},
|
||||
"memory": {
|
||||
"interval": 1,
|
||||
"format": "{percentage}% <span font='Font Awesome 5 Free'>\uf538</span>",
|
||||
"on-click": "kitty btop",
|
||||
"tooltip-format": "{used}/{total} GiB"
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"all-outputs": true,
|
||||
"warp-on-scroll": true,
|
||||
"enable-bar-scroll": true,
|
||||
"disable-scroll-wraparound": false,
|
||||
"format": " {icon} ",
|
||||
"format-icons": {
|
||||
"active": "●",
|
||||
"default": "○"
|
||||
},
|
||||
"persistent-workspaces": {
|
||||
"*": 3
|
||||
},
|
||||
"on-click": "activate",
|
||||
"on-scroll-up": "hyprctl dispatch workspace e-1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e+1"
|
||||
},
|
||||
"custom/weather": {
|
||||
"format": "{}°C",
|
||||
"tooltip": false,
|
||||
"interval": 3600,
|
||||
"exec": "wttrbar --location 'Ahmedabad'",
|
||||
"return-type": "json"
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{:%I:%M %p • %a %d/%m}",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "<tt>{calendar}</tt>"
|
||||
},
|
||||
"custom/wallpaper": {
|
||||
"format": "\uf03e",
|
||||
"on-click": "~/.config/waybar/scripts/change-wallpaper.sh && hyprpaper",
|
||||
"tooltip": false
|
||||
},
|
||||
"network": {
|
||||
"format-wifi": " {icon}",
|
||||
"format-ethernet": "",
|
||||
"format-icons": [" ", " ", " ", " ", " "],
|
||||
"format-disconnected": "",
|
||||
"interval": 5,
|
||||
"tooltip-format-wifi": " {bandwidthDownBytes} | {bandwidthUpBytes} | {essid}",
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"on-click": "exec ~/.config/rofi/wifi/wifi.sh",
|
||||
"on-click-right": "alacritty -e nmtui"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": " {capacity}% {icon} ",
|
||||
"format-full": "{icon}",
|
||||
"format-plugged": " {capacity}% <span font='Font Awesome 5 Free'>\uf0e7</span> ",
|
||||
"format-alt": "{icon}",
|
||||
"tooltip-format": "{capacity}%, about {time} left",
|
||||
"format-icons": [" ", " ", " ", " "]
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "<span font='Font Awesome 5 Free'>{icon}</span>",
|
||||
"format-muted": "<span font='Font Awesome 5 Free'>\uf6a9</span>",
|
||||
"format-icons": {
|
||||
"headphone": "\uf025",
|
||||
"default": ["\uf028"]
|
||||
},
|
||||
"tooltip-format": "{volume}% {desc}",
|
||||
"on-click": "pamixer -t"
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "{icon}",
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
|
||||
"tooltip-format-off": "Bluetooth is off",
|
||||
"tooltip-format-on": "Bluetooth is on",
|
||||
|
||||
"format-connected": "{icon} {num_connections}",
|
||||
"format-connected-battery": "{icon} {device_battery_percentage}%",
|
||||
|
||||
"tooltip-format-connected": "{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": "{device_alias}\t{device_battery_percentage}%",
|
||||
|
||||
"on-click": "blueman-manager"
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"layer": "top",
|
||||
r "layer": "top",
|
||||
"margin-left": 8,
|
||||
"margin-right": 8,
|
||||
"margin-top": 2,
|
||||
|
@ -7,13 +7,30 @@
|
|||
"modules-left": ["hyprland/workspaces", "cpu", "memory", "network#speed"],
|
||||
"modules-center": ["clock", "custom/weather"],
|
||||
"modules-right": [
|
||||
"temperature#gpu",
|
||||
"custom/transparency",
|
||||
"custom/wallpaper",
|
||||
"wireplumber",
|
||||
"pulseaudio",
|
||||
"backlight",
|
||||
"network",
|
||||
"bluetooth",
|
||||
"battery"
|
||||
],
|
||||
"temperature#gpu": {
|
||||
"thermal-zone": 5,
|
||||
"critical-threshold": 80,
|
||||
"format-critical": "{temperatureC}°C ",
|
||||
"format": "{temperatureC}°C ",
|
||||
"tooltip": false
|
||||
},
|
||||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"scroll-step": 5,
|
||||
"format": "{icon}",
|
||||
"format-icons": [" ", " ", " ", " "],
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{percent}%"
|
||||
},
|
||||
"network#speed": {
|
||||
"interval": 1,
|
||||
"format": "{ifname}%%",
|
||||
|
@ -29,11 +46,27 @@
|
|||
"min-length": 20,
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"keyboard-state": {
|
||||
"numlock": true,
|
||||
"capslock": true,
|
||||
"scrolllock": false,
|
||||
"format": "{name} {icon}",
|
||||
"format-icons": {
|
||||
"locked": "\uf023",
|
||||
"unlocked": "\uf3c1"
|
||||
}
|
||||
},
|
||||
"custom/launcher": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"on-click": "~/.config/rofi/launcher/launcher.sh"
|
||||
},
|
||||
"custom/transparency": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "~/.local/bin/toggleTrans.sh",
|
||||
"format-alt": " "
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": "{usage}% <span font='Font Awesome 6 Free-Solid'>\uf2db</span>",
|
||||
|
@ -70,13 +103,6 @@
|
|||
"tooltip": true,
|
||||
"tooltip-format": "<tt>{calendar}</tt>"
|
||||
},
|
||||
"backlight": {
|
||||
"scroll-step": 5,
|
||||
"format": "{icon}",
|
||||
"format-icons": [" ", " ", " ", " "],
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{percent}%"
|
||||
},
|
||||
"custom/wallpaper": {
|
||||
"format": "\uf03e",
|
||||
"on-click": "~/.config/waybar/scripts/change-wallpaper.sh && hyprpaper",
|
||||
|
@ -102,21 +128,19 @@
|
|||
"format": " {capacity}% {icon} ",
|
||||
"format-full": "{icon}",
|
||||
"format-plugged": " {capacity}% <span font='Font Awesome 5 Free'>\uf0e7</span> ",
|
||||
"format-alt": "{icon} {time}",
|
||||
"format-alt": "{icon}",
|
||||
"tooltip-format": "{capacity}%, about {time} left",
|
||||
"format-icons": [" ", " ", " ", " "]
|
||||
},
|
||||
"wireplumber": {
|
||||
"max-volume": 200,
|
||||
"scroll-step": 5,
|
||||
"format": "{icon}",
|
||||
"format-bluetooth": "{icon}",
|
||||
"format-icons": [" ", " ", " "],
|
||||
"format-muted": " ",
|
||||
"on-click-middle": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||
"on-click": "pamixer -t",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{desc}"
|
||||
"pulseaudio": {
|
||||
"format": "<span font='Font Awesome 5 Free'>{icon}</span>",
|
||||
"format-muted": "<span font='Font Awesome 5 Free'>\uf6a9</span>",
|
||||
"format-icons": {
|
||||
"headphone": "\uf025",
|
||||
"default": ["\uf028"]
|
||||
},
|
||||
"tooltip-format": "{volume}% {desc}",
|
||||
"on-click": "pamixer -t"
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "{icon}",
|
|
@ -6,7 +6,7 @@
|
|||
@define-color antiflash #F1F2F6;
|
||||
/* black */
|
||||
@define-color onyx #313638;
|
||||
@define-color raisin-black #1e1e2e;
|
||||
@define-color raisin-black rgba(30, 30, 46,0.9);
|
||||
@define-color gunmetal #333745;
|
||||
@define-color charcoal #424651;
|
||||
/* blue */
|
||||
|
@ -26,4 +26,3 @@
|
|||
@define-color arylide-yellow #E3C567;
|
||||
@define-color amber #FFBD00;
|
||||
@define-color sunglow #FFC857;
|
||||
|
15
waybar/scripts/change-wallpaper.sh
Executable file
15
waybar/scripts/change-wallpaper.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
if [ $(pgrep -c hyprpaper) -ne 0 ]; then
|
||||
hyprctl hyprpaper unload all
|
||||
killall hyprpaper
|
||||
fi
|
||||
|
||||
TARGET="$HOME/Downloads/Wallpaper"
|
||||
WALLPAPER=$(find "$TARGET" -type f -regex '.*\.\(jpg\|jpeg\|png\|webp\)' | shuf -n 1)
|
||||
|
||||
CONFIG_PATH="$HOME/.config/hypr/hyprpaper.conf"
|
||||
echo "preload = $WALLPAPER" > "$CONFIG_PATH"
|
||||
echo "wallpaper = eDP-1, $WALLPAPER" >> "$CONFIG_PATH"
|
||||
echo "splash = off" >> "$CONFIG_PATH"
|
||||
echo "ipc = off" >> "$CONFIG_PATH"
|
15
waybar/scripts/change-wallpaper.sync-conflict-20250221-164456-GYVEYUJ.sh
Executable file
15
waybar/scripts/change-wallpaper.sync-conflict-20250221-164456-GYVEYUJ.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
if [ $(pgrep -c hyprpaper) -ne 0 ]; then
|
||||
hyprctl hyprpaper unload all
|
||||
killall hyprpaper
|
||||
fi
|
||||
|
||||
TARGET="$HOME/Downloads/wallpaper"
|
||||
WALLPAPER=$(find "$TARGET" -type f -regex '.*\.\(jpg\|jpeg\|png\|webp\)' | shuf -n 1)
|
||||
|
||||
CONFIG_PATH="$HOME/.config/hypr/hyprpaper.conf"
|
||||
echo "preload = $WALLPAPER" > "$CONFIG_PATH"
|
||||
echo "wallpaper = eDP-1, $WALLPAPER" >> "$CONFIG_PATH"
|
||||
echo "splash = off" >> "$CONFIG_PATH"
|
||||
echo "ipc = off" >> "$CONFIG_PATH"
|
0
waybar/.config/waybar/scripts/network.sh → waybar/scripts/network.sh
Normal file → Executable file
0
waybar/.config/waybar/scripts/network.sh → waybar/scripts/network.sh
Normal file → Executable file
28
waybar/scripts/toggle-trans.sh
Executable file
28
waybar/scripts/toggle-trans.sh
Executable file
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash
|
||||
|
||||
CONFIG_FILE="$HOME/.config/hypr/hyprland.conf"
|
||||
|
||||
# Check if config file exists
|
||||
if [[ ! -f "$CONFIG_FILE" ]]; then
|
||||
echo "Hyprland config file not found at $CONFIG_FILE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Get the current opacity value
|
||||
CURRENT_OPACITY=$(grep -E "^\s*active_opacity\s*=\s*" "$CONFIG_FILE" | awk -F'=' '{print $2}' | tr -d ' ')
|
||||
|
||||
# Determine the new opacity value
|
||||
if [[ "$CURRENT_OPACITY" == "1" ]]; then
|
||||
NEW_OPACITY="0.95"
|
||||
else
|
||||
NEW_OPACITY="1"
|
||||
fi
|
||||
|
||||
# Update the config file
|
||||
sed -i "s/^\s*active_opacity\s*=\s*[0-9.]*/active_opacity = $NEW_OPACITY/" "$CONFIG_FILE"
|
||||
|
||||
echo "Toggled active_opacity to $NEW_OPACITY"
|
||||
|
||||
# Reload Hyprland config
|
||||
hyprctl reload
|
||||
|
|
@ -4,39 +4,52 @@
|
|||
* {
|
||||
font-family: JetBrains Mono Nerd Font;
|
||||
min-height: 18px;
|
||||
font-size: 14px;
|
||||
font-size: 12px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
/* border-radius: 2px; */
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
background-color: transparent;
|
||||
/*color: @beige; */
|
||||
}
|
||||
|
||||
#custom-weather {
|
||||
margin-left: 6px;
|
||||
/* margin-left: 6px; */
|
||||
padding: 0px 8px;
|
||||
background: @raisin-black;
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
#keyboard-state {
|
||||
background: @raisin-black;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
color: @beige;
|
||||
padding: 0px 8px 0px 15px;
|
||||
border-radius: 0px;
|
||||
border-top-left-radius: 6px;
|
||||
border-bottom-left-radius: 6px;
|
||||
/* border-radius: 0px; */
|
||||
/* border-top-left-radius: 6px; */
|
||||
/* border-bottom-left-radius: 6px; */
|
||||
background: @raisin-black;
|
||||
margin-left: 6px;
|
||||
/* margin-left: 6px; */
|
||||
}
|
||||
|
||||
#memory {
|
||||
color: @beige;
|
||||
padding: 0px 15px 0px 8px;
|
||||
border-radius: 0px;
|
||||
border-top-right-radius: 6px;
|
||||
border-bottom-right-radius: 6px;
|
||||
/* border-radius: 0px; */
|
||||
/* border-top-right-radius: 6px; */
|
||||
/* border-bottom-right-radius: 6px; */
|
||||
background: @raisin-black;
|
||||
/* margin-right: 2px; */
|
||||
}
|
||||
|
||||
#temperature.gpu {
|
||||
padding: 0px 12px;
|
||||
/* margin-right: 6px; */
|
||||
color: @celadon;
|
||||
background: @raisin-black;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
/* general */
|
||||
|
@ -45,7 +58,7 @@ tooltip,
|
|||
menu,
|
||||
#workspaces,
|
||||
#clock,
|
||||
#wireplumber,
|
||||
#pulseaudio,
|
||||
#backlight,
|
||||
#bluetooth,
|
||||
#network,
|
||||
|
@ -71,7 +84,7 @@ tooltip {
|
|||
font-size: 20px;
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
padding: 0px 8px;
|
||||
margin-right: 4px;
|
||||
/* margin-right: 4px; */
|
||||
color: #f38ba8;
|
||||
background: @raisin-black;
|
||||
}
|
||||
|
@ -88,10 +101,11 @@ tooltip {
|
|||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0px 5px;
|
||||
margin: 5px;
|
||||
border-radius: 6px;
|
||||
/* padding: 0px 3px; */
|
||||
/* margin: 5px; */
|
||||
border-radius: 0px;
|
||||
border: none;
|
||||
min-width: 30px;
|
||||
color: #f5e0dc;
|
||||
background-color: #1e1e2e;
|
||||
transition: all 0.3s ease-in-out;
|
||||
|
@ -100,8 +114,8 @@ tooltip {
|
|||
|
||||
#workspaces button.active {
|
||||
color: #1e1e2e;
|
||||
background: #a6e3a1;
|
||||
min-width: 40px;
|
||||
background: #cba6f7;
|
||||
min-width: 30px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
@ -113,21 +127,31 @@ tooltip {
|
|||
}
|
||||
#clock {
|
||||
padding: 0 15px;
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
#custom-launcher {
|
||||
font-size: 18px;
|
||||
transition: none;
|
||||
padding: 0px 10px;
|
||||
margin-right: 6px;
|
||||
/* margin-right: 6px; */
|
||||
background: @raisin-black;
|
||||
color: rgba(137, 220, 235, 1);
|
||||
}
|
||||
|
||||
#wireplumber,
|
||||
#custom-transparency {
|
||||
font-size: 18px;
|
||||
background: @raisin-black;
|
||||
color: #94e2d5;
|
||||
padding: 0px 14px;
|
||||
/* margin-right: 6px; */
|
||||
}
|
||||
|
||||
#pulseaudio,
|
||||
#backlight {
|
||||
padding: 0 8px;
|
||||
margin: 0 2px;
|
||||
/* margin: 0 2px; */
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
#bluetooth,
|
||||
|
@ -139,24 +163,24 @@ tooltip {
|
|||
background: @raisin-black;
|
||||
padding: 0px 6px;
|
||||
min-width: 10px;
|
||||
color: white;
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
#bluetooth {
|
||||
min-width: 20px;
|
||||
padding: 0 10px;
|
||||
margin: 0 2px;
|
||||
/* margin: 0 2px; */
|
||||
}
|
||||
#network {
|
||||
min-width: 30px;
|
||||
padding: 0 7px 0 2px;
|
||||
margin: 0 2px;
|
||||
/* margin: 0 2px; */
|
||||
}
|
||||
#battery {
|
||||
color: @mint;
|
||||
min-width: 30px;
|
||||
padding-left: 5px;
|
||||
margin: 0 2px;
|
||||
/* margin: 0 2px; */
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
128
waybar/style-4.css
Normal file
128
waybar/style-4.css
Normal file
|
@ -0,0 +1,128 @@
|
|||
@import 'mocha.css';
|
||||
|
||||
#waybar.top {
|
||||
background: none;
|
||||
}
|
||||
#waybar.top > box.horizontal {
|
||||
background: @raisin-black;
|
||||
border-radius: 6pt;
|
||||
margin: 0pt;
|
||||
padding: 2pt;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
margin-left: 6pt;
|
||||
}
|
||||
#workspaces button {
|
||||
color: #585b70;
|
||||
}
|
||||
#workspaces button:not(:first-child) {
|
||||
margin-left: 2pt;
|
||||
}
|
||||
#workspaces button.visible {
|
||||
color: #89b4fa;
|
||||
}
|
||||
#workspaces button.active {
|
||||
color: @vista-blue;
|
||||
}
|
||||
#workspaces button:hover,
|
||||
#workspaces button:focus {
|
||||
background: none;
|
||||
border-color: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: rgba(30, 34, 42, 0.5);
|
||||
color: #cdd6f4;
|
||||
}
|
||||
}
|
||||
|
||||
#battery {
|
||||
color: #f9e2af;
|
||||
margin-right: 6pt;
|
||||
}
|
||||
|
||||
#battery.full,
|
||||
#battery.good,
|
||||
#battery.charging,
|
||||
#battery.plugged {
|
||||
color: #a6e3a1;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
color: #f38ba8;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
* {
|
||||
font-family: JetBrains Mono Nerd Font;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 8.5pt;
|
||||
font-weight: 400;
|
||||
transition-property: background;
|
||||
transition-duration: 0.5s;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
color: @beige;
|
||||
padding: 0px 8px 0px 15px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
#memory {
|
||||
color: @beige;
|
||||
padding: 0px 15px 0px 8px;
|
||||
}
|
||||
|
||||
#temperature.gpu {
|
||||
padding: 0px 6px;
|
||||
color: @celadon;
|
||||
}
|
||||
|
||||
#clock {
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
#custom-transparency {
|
||||
font-size: 18px;
|
||||
color: @periwinkle;
|
||||
padding: 0px 6px;
|
||||
}
|
||||
|
||||
#custom-wallpaper {
|
||||
font-size: 20px;
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
padding: 0px 6px;
|
||||
color: @vista-blue;
|
||||
}
|
||||
|
||||
#network.speed {
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
#bluetooth,
|
||||
#network {
|
||||
color: #cba6f7;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
color: @beige;
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: #11111b;
|
||||
color: #cdd6f4;
|
||||
border-radius: 5pt;
|
||||
}
|
234
waybar/style.css
Normal file
234
waybar/style.css
Normal file
|
@ -0,0 +1,234 @@
|
|||
@import 'mocha.css';
|
||||
|
||||
* {
|
||||
font-family: JetBrains Mono Nerd Font;
|
||||
min-height: 14px;
|
||||
font-size: 12px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#custom-weather {
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
padding: 0px 8px;
|
||||
background: @raisin-black;
|
||||
color: @beige;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
color: @beige;
|
||||
padding: 0px 8px 0px 15px;
|
||||
background: @raisin-black;
|
||||
margin-left: 2px;
|
||||
border-radius: 6px 0 0 6px;
|
||||
}
|
||||
|
||||
#memory {
|
||||
color: @beige;
|
||||
padding: 0px 15px 0px 8px;
|
||||
background: @raisin-black;
|
||||
margin-right: 2px;
|
||||
border-radius: 0 6px 6px 0;
|
||||
}
|
||||
|
||||
#temperature.gpu {
|
||||
padding: 0px 12px;
|
||||
margin-right: 2px;
|
||||
color: @celadon;
|
||||
background: @raisin-black;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
/* General Styling */
|
||||
tooltip,
|
||||
menu,
|
||||
#workspaces,
|
||||
#clock,
|
||||
#pulseaudio,
|
||||
#backlight,
|
||||
#bluetooth,
|
||||
#network,
|
||||
#battery,
|
||||
#custom-power {
|
||||
background: @raisin-black;
|
||||
padding: 7px 8px;
|
||||
margin: 0;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
border: 1px solid @beige;
|
||||
}
|
||||
|
||||
.modules-right,
|
||||
.modules-center,
|
||||
.modules-left {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
background: #1e1e2e;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
opacity: 1;
|
||||
font-size: 16px;
|
||||
color: #1e1;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0px 5px;
|
||||
margin: 3px;
|
||||
border-radius: 6px;
|
||||
border: none;
|
||||
color: #f5e0dc;
|
||||
background-color: #1e1e2e;
|
||||
transition: all 0.3s ease-in-out;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: #1e1e2e;
|
||||
background: #cba6f7;
|
||||
min-width: 20px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
color: #c3dee5;
|
||||
background: #1e1e2e;
|
||||
opacity: 1;
|
||||
animation: none;
|
||||
}
|
||||
|
||||
#clock {
|
||||
padding: 0 15px;
|
||||
color: @beige;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#custom-launcher {
|
||||
font-size: 18px;
|
||||
transition: none;
|
||||
padding: 0px 10px;
|
||||
margin-right: 2px;
|
||||
background: @raisin-black;
|
||||
color: rgba(137, 220, 235, 1);
|
||||
border-radius: 0 6px 6px 0;
|
||||
}
|
||||
|
||||
#custom-transparency {
|
||||
font-size: 18px;
|
||||
background: @raisin-black;
|
||||
color: #94e2d5;
|
||||
padding: 0px 14px;
|
||||
/* margin-right: 2px; */
|
||||
border-radius: 6px 0 0 6px;
|
||||
/* border-radius: 0 6px 6px 0; */
|
||||
}
|
||||
|
||||
#custom-wallpaper {
|
||||
font-size: 20px;
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
padding: 0px 8px;
|
||||
margin-right: 2px;
|
||||
color: #f38ba8;
|
||||
background: @raisin-black;
|
||||
border-radius: 0 6px 6px 0;
|
||||
}
|
||||
|
||||
#pulseaudio,
|
||||
#backlight {
|
||||
padding: 0 8px;
|
||||
/* margin: 0 2px; */
|
||||
color: @beige;
|
||||
border-radius: 6px 0 0 6px;
|
||||
}
|
||||
|
||||
#bluetooth,
|
||||
#network {
|
||||
color: #cba6f7;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#network.speed {
|
||||
background: @raisin-black;
|
||||
padding: 0px 6px;
|
||||
min-width: 10px;
|
||||
color: @beige;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#bluetooth {
|
||||
min-width: 20px;
|
||||
padding: 0 10px;
|
||||
margin: 0 2px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#network {
|
||||
min-width: 30px;
|
||||
padding: 0 7px 0 2px;
|
||||
/* margin: 0 2px; */
|
||||
border-radius: 0 6px 6px 0;
|
||||
}
|
||||
|
||||
#battery {
|
||||
color: @mint;
|
||||
min-width: 30px;
|
||||
padding-left: 5px;
|
||||
margin: 0 2px;
|
||||
padding-right: 5px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
color: #eff1f5; /* Text */
|
||||
background: #40a02b; /* Green */
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#battery.good:not(.charging) {
|
||||
color: #f9e2af; /* Peach */
|
||||
background: #1e1e2e; /* Base */
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
color: #eff1f5; /* Text */
|
||||
background: #df8e1d; /* Yellow */
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#battery.low:not(.charging) {
|
||||
color: #eff1f5; /* Text */
|
||||
background: #d20f39; /* Red */
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
color: #eff1f5; /* Text */
|
||||
background: #d20f39; /* Red */
|
||||
animation-name: blink;
|
||||
animation-duration: 0.75s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
color: #d20f39; /* Red */
|
||||
background: #eff1f5; /* Text */
|
||||
}
|
||||
}
|
222
waybar/style_backup.css
Executable file
222
waybar/style_backup.css
Executable file
|
@ -0,0 +1,222 @@
|
|||
@import 'mocha.css';
|
||||
|
||||
/* reset all styles */
|
||||
* {
|
||||
font-family: JetBrains Mono Nerd Font;
|
||||
min-height: 18px;
|
||||
font-size: 12px;
|
||||
border: none;
|
||||
/* border-radius: 2px; */
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#custom-weather {
|
||||
/* margin-left: 6px; */
|
||||
padding: 0px 8px;
|
||||
background: @raisin-black;
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
#keyboard-state {
|
||||
background: @raisin-black;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
color: @beige;
|
||||
padding: 0px 8px 0px 15px;
|
||||
/* border-radius: 0px; */
|
||||
/* border-top-left-radius: 6px; */
|
||||
/* border-bottom-left-radius: 6px; */
|
||||
background: @raisin-black;
|
||||
/* margin-left: 6px; */
|
||||
}
|
||||
|
||||
#memory {
|
||||
color: @beige;
|
||||
padding: 0px 15px 0px 8px;
|
||||
/* border-radius: 0px; */
|
||||
/* border-top-right-radius: 6px; */
|
||||
/* border-bottom-right-radius: 6px; */
|
||||
background: @raisin-black;
|
||||
/* margin-right: 2px; */
|
||||
}
|
||||
|
||||
#temperature.gpu {
|
||||
padding: 0px 12px;
|
||||
/* margin-right: 6px; */
|
||||
color: @celadon;
|
||||
background: @raisin-black;
|
||||
}
|
||||
|
||||
/* general */
|
||||
|
||||
tooltip,
|
||||
menu,
|
||||
#workspaces,
|
||||
#clock,
|
||||
#pulseaudio,
|
||||
#backlight,
|
||||
#bluetooth,
|
||||
#network,
|
||||
#battery,
|
||||
#custom-power {
|
||||
background: @raisin-black;
|
||||
padding-bottom: 7px;
|
||||
padding-top: 7px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
border: 1px solid @beige;
|
||||
}
|
||||
|
||||
.modules-right,
|
||||
.modules-center,
|
||||
.modules-left {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
#custom-wallpaper {
|
||||
font-size: 20px;
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
padding: 0px 8px;
|
||||
/* margin-right: 4px; */
|
||||
color: #f38ba8;
|
||||
background: @raisin-black;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
background: #1e1e2e;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
opacity: 1;
|
||||
font-size: 16px;
|
||||
color: #1e1;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
/* padding: 0px 3px; */
|
||||
/* margin: 5px; */
|
||||
border-radius: 0px;
|
||||
border: none;
|
||||
min-width: 30px;
|
||||
color: #f5e0dc;
|
||||
background-color: #1e1e2e;
|
||||
transition: all 0.3s ease-in-out;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: #1e1e2e;
|
||||
background: #cba6f7;
|
||||
min-width: 30px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
color: #c3dee5;
|
||||
background: #1e1e2e;
|
||||
opacity: 1;
|
||||
animation: none;
|
||||
}
|
||||
#clock {
|
||||
padding: 0 15px;
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
#custom-launcher {
|
||||
font-size: 18px;
|
||||
transition: none;
|
||||
padding: 0px 10px;
|
||||
/* margin-right: 6px; */
|
||||
background: @raisin-black;
|
||||
color: rgba(137, 220, 235, 1);
|
||||
}
|
||||
|
||||
#custom-transparency {
|
||||
font-size: 18px;
|
||||
background: @raisin-black;
|
||||
color: #94e2d5;
|
||||
padding: 0px 14px;
|
||||
/* margin-right: 6px; */
|
||||
}
|
||||
|
||||
#pulseaudio,
|
||||
#backlight {
|
||||
padding: 0 8px;
|
||||
/* margin: 0 2px; */
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
#bluetooth,
|
||||
#network {
|
||||
color: #cba6f7;
|
||||
}
|
||||
|
||||
#network.speed {
|
||||
background: @raisin-black;
|
||||
padding: 0px 6px;
|
||||
min-width: 10px;
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
#bluetooth {
|
||||
min-width: 20px;
|
||||
padding: 0 10px;
|
||||
/* margin: 0 2px; */
|
||||
}
|
||||
#network {
|
||||
min-width: 30px;
|
||||
padding: 0 7px 0 2px;
|
||||
/* margin: 0 2px; */
|
||||
}
|
||||
#battery {
|
||||
color: @mint;
|
||||
min-width: 30px;
|
||||
padding-left: 5px;
|
||||
/* margin: 0 2px; */
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
color: #eff1f5; /* Text */
|
||||
background: #40a02b; /* Green */
|
||||
}
|
||||
|
||||
#battery.good:not(.charging) {
|
||||
color: #f9e2af; /* Peach */
|
||||
background: #1e1e2e; /* Base */
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
color: #eff1f5; /* Text */
|
||||
background: #df8e1d; /* Yellow */
|
||||
}
|
||||
|
||||
#battery.low:not(.charging) {
|
||||
color: #eff1f5; /* Text */
|
||||
background: #d20f39; /* Red */
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
color: #eff1f5; /* Text */
|
||||
background: #d20f39; /* Red */
|
||||
animation-name: blink;
|
||||
animation-duration: 0.75s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
color: #d20f39; /* Red */
|
||||
background: #eff1f5; /* Text */
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue