feat: add new waybar top configuration with separate config and style files;
feat: add waybar colors.css for centralized color definitions; experiment: change cava visual style to solid blue foreground and disable gradient; chore: remove nwg-dock-hyprland from hyprland autostart and toggle scripts; refactor: update waybar launch commands to use new config_top.jsonc and style_top.css; refactor: simplify gamemode.sh by removing STATUSBAR variable and updating waybar commands; chore: add placeholder config_bottom.jsonc and style_bottom.css for future dual-bar setup
This commit is contained in:
@@ -217,7 +217,7 @@ bar_width = 1
|
|||||||
# a terminal that can change color definitions such as Gnome-terminal or rxvt.
|
# a terminal that can change color definitions such as Gnome-terminal or rxvt.
|
||||||
# default is to keep current terminal color
|
# default is to keep current terminal color
|
||||||
; background = default
|
; background = default
|
||||||
; foreground = default
|
foreground = blue
|
||||||
|
|
||||||
# SDL and sdl_glsl only support hex code colors, these are the default:
|
# SDL and sdl_glsl only support hex code colors, these are the default:
|
||||||
; background = '#111111'
|
; background = '#111111'
|
||||||
@@ -227,7 +227,7 @@ bar_width = 1
|
|||||||
# Gradient mode, only hex defined colors are supported,
|
# Gradient mode, only hex defined colors are supported,
|
||||||
# background must also be defined in hex or remain commented out. 1 = on, 0 = off.
|
# background must also be defined in hex or remain commented out. 1 = on, 0 = off.
|
||||||
# You can define as many as 8 different colors. They range from bottom to top of screen
|
# You can define as many as 8 different colors. They range from bottom to top of screen
|
||||||
gradient = 1
|
gradient = 0
|
||||||
gradient_count = 2
|
gradient_count = 2
|
||||||
gradient_color_1 = '#9E2238'
|
gradient_color_1 = '#9E2238'
|
||||||
gradient_color_2 = '#9E2238'
|
gradient_color_2 = '#9E2238'
|
||||||
|
|||||||
@@ -23,10 +23,9 @@ $powermodemenu = $HOME/.config/rofi/scripts/dmenu_powermodemenu.sh
|
|||||||
$browser = env GTK_THEME=Adwaita:light zen-browser
|
$browser = env GTK_THEME=Adwaita:light zen-browser
|
||||||
$privateBrowser = env GTK_THEME=Adwaita:light zen-browser --private-window
|
$privateBrowser = env GTK_THEME=Adwaita:light zen-browser --private-window
|
||||||
$notificationCenter = pkill rofi & swaync-client -t -sw || notify-send --hint int:transient:1 "Error SwayNC is down"
|
$notificationCenter = pkill rofi & swaync-client -t -sw || notify-send --hint int:transient:1 "Error SwayNC is down"
|
||||||
$waybar = GTK_THEME="Simply_Circles_Dark" waybar
|
$waybar = GTK_THEME="Simply_Circles_Dark" waybar -c "$HOME/.config/waybar/config_top.jsonc" -s "$HOME/.config/waybar/style_top.css" &
|
||||||
|
|
||||||
$mpdpass = kapuchinamusica
|
$mpdpass = kapuchinamusica
|
||||||
$dock = nwg-dock-hyprland -i 25 -w 12 -hi -x -ico view_icon -c "$HOME/.config/rofi/launchers/type-1/launcher.sh"
|
|
||||||
|
|
||||||
#################
|
#################
|
||||||
### AUTOSTART ###
|
### AUTOSTART ###
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
STATUSBAR="waybar"
|
|
||||||
|
|
||||||
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
|
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
|
||||||
if [ "$HYPRGAMEMODE" = 1 ] ; then
|
if [ "$HYPRGAMEMODE" = 1 ] ; then
|
||||||
hyprctl --batch "\
|
hyprctl --batch "\
|
||||||
@@ -13,16 +11,17 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then
|
|||||||
keyword decoration:active_opacity 1;\
|
keyword decoration:active_opacity 1;\
|
||||||
keyword plugin:hyprfocus:fade_opacity 1"
|
keyword plugin:hyprfocus:fade_opacity 1"
|
||||||
|
|
||||||
if pgrep $STATUSBAR > /dev/null; then
|
if pgrep waybar > /dev/null; then
|
||||||
pkill $STATUSBAR
|
pkill waybar
|
||||||
waybar -c "$HOME/.config/waybar/config_minimal.jsonc" &
|
# TODO: lite waybar version
|
||||||
|
waybar -c "$HOME/.config/waybar/config_top.jsonc" -s "$HOME/.config/waybar/style_top.css" &
|
||||||
fi
|
fi
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if pgrep $STATUSBAR > /dev/null; then
|
if pgrep waybar > /dev/null; then
|
||||||
pkill $STATUSBAR
|
pkill waybar
|
||||||
waybar -c "$HOME/.config/waybar/config.jsonc" &
|
waybar -c "$HOME/.config/waybar/config_top.jsonc" -s "$HOME/.config/waybar/style_top.css" &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
hyprctl reload
|
hyprctl reload
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
if pgrep -x waybar > /dev/null; then
|
if pgrep -x waybar > /dev/null; then
|
||||||
pkill -x waybar
|
pkill -x waybar
|
||||||
pkill -x nwg-dock-hyprla
|
|
||||||
else
|
else
|
||||||
GTK_THEME="Simply_Circles_Dark" waybar &
|
GTK_THEME="Simply_Circles_Dark" waybar -c "$HOME/.config/waybar/config_top.jsonc" -s "$HOME/.config/waybar/style_top.css" &
|
||||||
nwg-dock-hyprland -i 25 -w 12 -hi -x -ico view_icon -c "$HOME/.config/rofi/launchers/type-1/launcher.sh" &
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
[window]
|
|
||||||
width=500
|
|
||||||
height=400
|
|
||||||
sinkInputType=1
|
|
||||||
sourceOutputType=1
|
|
||||||
sinkType=0
|
|
||||||
sourceType=1
|
|
||||||
showVolumeMeters=1
|
|
||||||
12
waybar/colors.css
Normal file
12
waybar/colors.css
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
@define-color bg-panel rgba(28, 28, 28, 0.81);
|
||||||
|
@define-color text-secondary rgba(86, 86, 86, 0.81);
|
||||||
|
@define-color bg-opaque rgba(23, 28, 39, 0.8);
|
||||||
|
@define-color border-color-section rgba(0,0,0,0);
|
||||||
|
@define-color border-color rgba(90, 104, 115, 0.8); /* Matches --noti-border-color */
|
||||||
|
@define-color text-primary #ffffff;
|
||||||
|
@define-color text-secondary alpha(@text-primary,.2);
|
||||||
|
@define-color accent-color #D58399;
|
||||||
|
@define-color attention #FFFF00;
|
||||||
|
@define-color warning #FFAA00;
|
||||||
|
@define-color danger #FF0000;
|
||||||
|
@define-color success #00FF00;
|
||||||
0
waybar/config_bottom.jsonc
Normal file
0
waybar/config_bottom.jsonc
Normal file
@@ -1,193 +0,0 @@
|
|||||||
// -*- mode: jsonc -*-
|
|
||||||
{
|
|
||||||
//"output": "eDP-1",
|
|
||||||
"output": [
|
|
||||||
"eDP-1",
|
|
||||||
"HDMI-A-1"
|
|
||||||
],
|
|
||||||
// "layer": "top", // Waybar at top layer
|
|
||||||
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
|
||||||
"height": 30, // Waybar height (to be removed for auto height)
|
|
||||||
// "width": 1280, // Waybar width
|
|
||||||
"spacing": 0, // Gaps between modules (4px)
|
|
||||||
// Choose the order of the modules
|
|
||||||
"modules-left": [
|
|
||||||
"hyprland/workspaces"
|
|
||||||
// "custom/submap"
|
|
||||||
],
|
|
||||||
"modules-center": [
|
|
||||||
"mpd"
|
|
||||||
],
|
|
||||||
"modules-right": [
|
|
||||||
"pulseaudio",
|
|
||||||
"battery",
|
|
||||||
"network",
|
|
||||||
"tray",
|
|
||||||
"clock"
|
|
||||||
],
|
|
||||||
// Modules configuration
|
|
||||||
"hyprland/workspaces": {
|
|
||||||
"disable-scroll": true,
|
|
||||||
"all-outputs": false,
|
|
||||||
"active-only": true,
|
|
||||||
"warp-on-scroll": false,
|
|
||||||
"persistent-workspaces": {
|
|
||||||
// "1": [],
|
|
||||||
// "2": [],
|
|
||||||
// "3": [],
|
|
||||||
// "4": [],
|
|
||||||
// "5": [],
|
|
||||||
// "6": [],
|
|
||||||
// "7": [],
|
|
||||||
// "8": [],
|
|
||||||
// "9": [],
|
|
||||||
// "10": [],
|
|
||||||
// "11": [],
|
|
||||||
// "12": []
|
|
||||||
"eDP-1": [1,2,3,4,5,6,7,8,9],
|
|
||||||
"HDMI-A-1": [10,11,12],
|
|
||||||
"FUCKOFF": [13,14]
|
|
||||||
},
|
|
||||||
"ignore-workspaces": [
|
|
||||||
"*13",
|
|
||||||
"*14"
|
|
||||||
],
|
|
||||||
"format": "{icon}",
|
|
||||||
"format-icons": {
|
|
||||||
"1": "",
|
|
||||||
"2": "",
|
|
||||||
"3": "",
|
|
||||||
"4": "",
|
|
||||||
// "5": "5",
|
|
||||||
// "6": "6",
|
|
||||||
"7": "",
|
|
||||||
"8": "",
|
|
||||||
"9": "",
|
|
||||||
"10": "0",
|
|
||||||
"11": "-",
|
|
||||||
"12": "+",
|
|
||||||
"default": "",
|
|
||||||
"empty": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mpd": {
|
|
||||||
"password": "kapuchinamusica",
|
|
||||||
"artist-len": 30,
|
|
||||||
"title-len": 65,
|
|
||||||
"unknown-tag": "n/a",
|
|
||||||
"format": "{stateIcon} {titleSmart}",
|
|
||||||
"interval": 1,
|
|
||||||
"single-icons": {
|
|
||||||
"on": "1 "
|
|
||||||
},
|
|
||||||
"state-icons": {
|
|
||||||
"paused": "",
|
|
||||||
"playing": ""
|
|
||||||
},
|
|
||||||
"tooltip-format": "MPD (connected)",
|
|
||||||
"tooltip-format-disconnected": "MPD (disconnected)",
|
|
||||||
"format-stopped": " Stopping player...",
|
|
||||||
"on-click": "mpc toggle --password kapuchinamusica"
|
|
||||||
},
|
|
||||||
"tray": {
|
|
||||||
// "icon-size": 21,
|
|
||||||
"spacing": 10,
|
|
||||||
"icons": {
|
|
||||||
"blueman": "bluetooth",
|
|
||||||
"*": "folder-symbolic"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"clock": {
|
|
||||||
// "timezone": "America/New_York",
|
|
||||||
"interval": 5,
|
|
||||||
"tooltip-format": "<big>{:%A ( %B %d )}</big>\n<tt><small>{calendar}</small></tt>",
|
|
||||||
"format": "{:%H:%M:%S}",
|
|
||||||
"format-alt": "{:%Y-%m-%d}",
|
|
||||||
"calendar": {
|
|
||||||
"mode": "year",
|
|
||||||
"mode-mon-col": 3,
|
|
||||||
"weeks-pos": "right",
|
|
||||||
"format": {
|
|
||||||
"months": "<span color='#ffead3'><b>{}</b></span>",
|
|
||||||
"days": "<span color='#ac8699'><b>{}</b></span>",
|
|
||||||
"weeks": "<span color='#BC4056'><b>W{}</b></span>",
|
|
||||||
"weekdays": "<span color='#F8B5CE'><b>{}</b></span>",
|
|
||||||
"today": "<span color='#00FFFF'><b><u>{}</u></b></span>"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"actions": {
|
|
||||||
"on-click-right": "mode"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"cpu": {
|
|
||||||
"format": "{max_frequency:1.2f}GHz {usage}%",
|
|
||||||
"tooltip": false,
|
|
||||||
"interval": 15,
|
|
||||||
"format-icons": [
|
|
||||||
"", "", "", "", "", "", "", "", ""
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"memory": {
|
|
||||||
"format": " {percentage}% {swapPercentage}%",
|
|
||||||
"interval": 10
|
|
||||||
},
|
|
||||||
"battery": {
|
|
||||||
"full-at": 98,
|
|
||||||
"states": {
|
|
||||||
"good": 85,
|
|
||||||
"warning": 30,
|
|
||||||
"critical": 18
|
|
||||||
},
|
|
||||||
"format": "{icon} {capacity}%",
|
|
||||||
"format-full": "{icon} {capacity}%",
|
|
||||||
"format-charging": "{icon}{capacity}%",
|
|
||||||
"format-plugged": "{icon} {capacity}%",
|
|
||||||
"format-alt": "{time} {icon}",
|
|
||||||
// "format-good": "", // An empty format will hide the module
|
|
||||||
"format-full": "",
|
|
||||||
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
|
|
||||||
"tooltip-format": "{capacity}%, draws {power:2.1f}W, time is {time}"
|
|
||||||
},
|
|
||||||
"network": {
|
|
||||||
"format-wifi": "{icon}",
|
|
||||||
"format-ethernet": "{ipaddr}/{cidr} ",
|
|
||||||
"tooltip-format": "{essid} {ifname} via {gwaddr} ",
|
|
||||||
"format-linked": "{ifname} (No IP) ",
|
|
||||||
"format-disconnected": "",
|
|
||||||
"format-icons": [
|
|
||||||
"", "", "", "", ""
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"pulseaudio": {
|
|
||||||
// "scroll-step": 1, // %, can be a float
|
|
||||||
"format": "{format_source} {volume}%",
|
|
||||||
"format-bluetooth": "{format_source} {volume}%",
|
|
||||||
"format-bluetooth-muted": "{format_source} ",
|
|
||||||
"format-muted": "",
|
|
||||||
"format-source": "",
|
|
||||||
"format-source-muted": " ",
|
|
||||||
"on-click": "pwvucontrol"
|
|
||||||
},
|
|
||||||
"custom/submap": {
|
|
||||||
"format": "{icon} {text}",
|
|
||||||
"max-length": 10,
|
|
||||||
"format-icons": {
|
|
||||||
"default": ""
|
|
||||||
},
|
|
||||||
"interval": 1,
|
|
||||||
"exec": "state=$(hyprctl submap) && [[ $state != 'default' ]] && echo $state",
|
|
||||||
"on-click": "hyprctl dispatch submap reset"
|
|
||||||
},
|
|
||||||
"custom/pomodoro": {
|
|
||||||
"format": "{}",
|
|
||||||
"return-type": "json",
|
|
||||||
"exec": "~/.local/bin/waybar-module-pomodoro --persist -w 20 -s 5 -l 20 -i 3 --autob",
|
|
||||||
"on-click": "~/.local/bin/waybar-module-pomodoro toggle",
|
|
||||||
"on-click-right": "~/.local/bin/waybar-module-pomodoro reset"
|
|
||||||
},
|
|
||||||
"custom/goal": {
|
|
||||||
"exec": "cat $HOME/.config/waybar/goal.txt",
|
|
||||||
"format": " {}",
|
|
||||||
"interval": 60
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -8,26 +8,25 @@
|
|||||||
// "layer": "top", // Waybar at top layer
|
// "layer": "top", // Waybar at top layer
|
||||||
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
||||||
"height": 30, // Waybar height (to be removed for auto height)
|
"height": 30, // Waybar height (to be removed for auto height)
|
||||||
// "width": 1280, // Waybar width
|
"width": 1900, // Waybar width
|
||||||
"spacing": 0, // Gaps between modules (4px)
|
"spacing": 0, // Gaps between modules (4px)
|
||||||
|
"reload_style_on_change": true,
|
||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"hyprland/workspaces",
|
"custom/separator_invisible",
|
||||||
|
"mpd",
|
||||||
"custom/pomodoro"
|
"custom/pomodoro"
|
||||||
// "custom/submap"
|
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"mpd"
|
"hyprland/workspaces"
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"cpu",
|
|
||||||
"memory",
|
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
|
"pulseaudio/slider",
|
||||||
"battery",
|
"battery",
|
||||||
"network",
|
"network",
|
||||||
"tray",
|
|
||||||
"clock",
|
"clock",
|
||||||
"custom/panel"
|
"custom/separator_invisible"
|
||||||
],
|
],
|
||||||
// Modules configuration
|
// Modules configuration
|
||||||
"hyprland/workspaces": {
|
"hyprland/workspaces": {
|
||||||
@@ -58,18 +57,18 @@
|
|||||||
],
|
],
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"1": "",
|
"1": "",
|
||||||
"2": "",
|
"2": "",
|
||||||
"3": "",
|
"3": "",
|
||||||
"4": "",
|
"4": "",
|
||||||
// "5": "5",
|
"5": "",
|
||||||
// "6": "6",
|
"6": "",
|
||||||
"7": "",
|
"7": "",
|
||||||
"8": "",
|
"8": "",
|
||||||
"9": "",
|
"9": "",
|
||||||
"10": "0",
|
"10": "",
|
||||||
"11": "-",
|
"11": "",
|
||||||
"12": "+",
|
"12": "",
|
||||||
"default": "",
|
"default": "",
|
||||||
"empty": ""
|
"empty": ""
|
||||||
}
|
}
|
||||||
@@ -77,7 +76,7 @@
|
|||||||
"mpd": {
|
"mpd": {
|
||||||
"password": "kapuchinamusica",
|
"password": "kapuchinamusica",
|
||||||
"artist-len": 30,
|
"artist-len": 30,
|
||||||
"title-len": 65,
|
"title-len": 30,
|
||||||
"unknown-tag": "n/a",
|
"unknown-tag": "n/a",
|
||||||
"format": "{stateIcon} {titleSmart}",
|
"format": "{stateIcon} {titleSmart}",
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
@@ -90,7 +89,7 @@
|
|||||||
},
|
},
|
||||||
"tooltip-format": "MPD (connected)",
|
"tooltip-format": "MPD (connected)",
|
||||||
"tooltip-format-disconnected": "MPD (disconnected)",
|
"tooltip-format-disconnected": "MPD (disconnected)",
|
||||||
"format-stopped": " Stopping player...",
|
"format-stopped": "",
|
||||||
"on-click": "mpc toggle --password kapuchinamusica"
|
"on-click": "mpc toggle --password kapuchinamusica"
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
@@ -105,8 +104,8 @@
|
|||||||
// "timezone": "America/New_York",
|
// "timezone": "America/New_York",
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"tooltip-format": "<big>{:%A ( %B %d )}</big>\n<tt><small>{calendar}</small></tt>",
|
"tooltip-format": "<big>{:%A ( %B %d )}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
"format": "{:%H:%M:%S}",
|
"format": "{:%H:%M}",
|
||||||
"format-alt": "{:%Y-%m-%d}",
|
"format-alt": "{:%H:%M %d.%m.%Y}",
|
||||||
"calendar": {
|
"calendar": {
|
||||||
"mode": "year",
|
"mode": "year",
|
||||||
"mode-mon-col": 3,
|
"mode-mon-col": 3,
|
||||||
@@ -124,7 +123,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"format": "{max_frequency:1.2f}GHz {usage}%",
|
"format": " {usage}%",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"interval": 15,
|
"interval": 15,
|
||||||
"format-icons": [
|
"format-icons": [
|
||||||
@@ -142,13 +141,12 @@
|
|||||||
"warning": 30,
|
"warning": 30,
|
||||||
"critical": 18
|
"critical": 18
|
||||||
},
|
},
|
||||||
"format": "{icon} {capacity}%",
|
"format": "{icon}",
|
||||||
"format-full": "{icon} {capacity}%",
|
"format-full": "",
|
||||||
"format-charging": "{icon}{capacity}%",
|
"format-charging": "{icon}",
|
||||||
"format-plugged": "{icon} {capacity}%",
|
"format-plugged": "{icon}",
|
||||||
"format-alt": "{time} {icon}",
|
"format-alt": "{time} {icon}",
|
||||||
// "format-good": "", // An empty format will hide the module
|
// "format-good": "", // An empty format will hide the module
|
||||||
"format-full": "",
|
|
||||||
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
|
"format-icons": ["", "", "", "", "", "", "", "", "", ""],
|
||||||
"tooltip-format": "{capacity}%, draws {power:2.1f}W, time is {time}"
|
"tooltip-format": "{capacity}%, draws {power:2.1f}W, time is {time}"
|
||||||
},
|
},
|
||||||
@@ -164,28 +162,49 @@
|
|||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
// "scroll-step": 1, // %, can be a float
|
// "scroll-step": 1, // %, can be a float
|
||||||
"format": "{format_source} {volume}%",
|
"format": "{format_source} ",
|
||||||
"format-bluetooth": "{format_source} {volume}%",
|
"format-muted": "{format_source} ",
|
||||||
|
"format-bluetooth": "{format_source} ",
|
||||||
"format-bluetooth-muted": "{format_source} ",
|
"format-bluetooth-muted": "{format_source} ",
|
||||||
"format-muted": "",
|
|
||||||
"format-source": "",
|
"format-source": "",
|
||||||
"format-source-muted": " ",
|
"format-source-muted": "",
|
||||||
"on-click": "pwvucontrol"
|
"on-click": "pwvucontrol"
|
||||||
},
|
},
|
||||||
|
"pulseaudio/slider": {
|
||||||
|
"min": 0,
|
||||||
|
"max": 100,
|
||||||
|
"orientation": "horizontal"
|
||||||
|
},
|
||||||
|
"custom/logo": {
|
||||||
|
"format": "",
|
||||||
|
"on-click": "swaync-client -t -sw",
|
||||||
|
"interval": "once",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"custom/separator": {
|
||||||
|
"format": "",
|
||||||
|
"interval": "once",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"custom/separator_invisible": {
|
||||||
|
"format": " ",
|
||||||
|
"interval": "once",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
"custom/submap": {
|
"custom/submap": {
|
||||||
"format": "{icon} {text}",
|
"format": " {icon} {text}",
|
||||||
"max-length": 10,
|
"max-length": 10,
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"default": ""
|
"default": ""
|
||||||
},
|
},
|
||||||
"interval": 1,
|
"interval": 2,
|
||||||
"exec": "state=$(hyprctl submap) && [[ $state != 'default' ]] && echo $state",
|
"exec": "state=$(hyprctl submap) && [[ $state != 'default' ]] && echo $state",
|
||||||
"on-click": "hyprctl dispatch submap reset"
|
"on-click": "hyprctl dispatch submap reset"
|
||||||
},
|
},
|
||||||
"custom/pomodoro": {
|
"custom/pomodoro": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "~/.local/bin/waybar-module-pomodoro --persist -w 20 -s 5 -l 20 -i 3 --autob",
|
"exec": "~/.local/bin/waybar-module-pomodoro --persist -w 20 -s 5 -l 20 -i 3 -p '' -a '' --autob",
|
||||||
"on-click": "~/.local/bin/waybar-module-pomodoro toggle",
|
"on-click": "~/.local/bin/waybar-module-pomodoro toggle",
|
||||||
"on-click-right": "~/.local/bin/waybar-module-pomodoro reset"
|
"on-click-right": "~/.local/bin/waybar-module-pomodoro reset"
|
||||||
},
|
},
|
||||||
0
waybar/style_bottom.css
Normal file
0
waybar/style_bottom.css
Normal file
@@ -1,29 +1,15 @@
|
|||||||
/* GTK Color Definitions */
|
/* Colors Definitions */
|
||||||
@define-color bg-primary rgba(28, 28, 28, 0.81);
|
@import "colors.css";
|
||||||
@define-color bg-secondary rgba(28, 28, 28, 0.81);
|
|
||||||
@define-color bg-opaque rgba(23, 28, 39, 0.8);
|
|
||||||
@define-color border-color rgba(90, 104, 115, 1);
|
|
||||||
@define-color text-primary #ffffff;
|
|
||||||
@define-color text-secondary #888888;
|
|
||||||
@define-color accent-color #E96375;
|
|
||||||
@define-color accent-alt #faa7b3;
|
|
||||||
@define-color attention #FFFF00;
|
|
||||||
@define-color warning #FFAA00;
|
|
||||||
@define-color warning-alt #FFDDAA;
|
|
||||||
@define-color danger #FF0000;
|
|
||||||
@define-color success #00FF00;
|
|
||||||
@define-color success-alt #AAFFAA;
|
|
||||||
@define-color info #CCEEFF;
|
|
||||||
|
|
||||||
* {
|
|
||||||
font-family: "Iosevka Nerd Font Propo";
|
|
||||||
font-size: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Window */
|
/* Window */
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background-color: transparent;
|
font-family: "Iosevka Nerd Font Propo";
|
||||||
|
font-size: 15px;
|
||||||
|
background-color: @bg-panel;
|
||||||
color: @text-primary;
|
color: @text-primary;
|
||||||
|
border-radius: 0 0 10px 10px;
|
||||||
|
border: 1px solid @border-color;
|
||||||
|
border-top: none;
|
||||||
transition-property: background-color;
|
transition-property: background-color;
|
||||||
transition-duration: 0.5s;
|
transition-duration: 0.5s;
|
||||||
}
|
}
|
||||||
@@ -55,64 +41,62 @@ window#waybar.chromium {
|
|||||||
#backlight,
|
#backlight,
|
||||||
#network,
|
#network,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
|
#pulseaudio-slider,
|
||||||
#wireplumber,
|
#wireplumber,
|
||||||
|
#custom-logo,
|
||||||
#custom-media,
|
#custom-media,
|
||||||
#custom-panel,
|
#custom-panel,
|
||||||
|
#custom-separator,
|
||||||
#tray,
|
#tray,
|
||||||
#mode,
|
#mode,
|
||||||
#idle_inhibitor,
|
#idle_inhibitor,
|
||||||
#scratchpad {
|
#scratchpad {
|
||||||
background: linear-gradient(to bottom, @bg-primary, @bg-secondary);
|
|
||||||
border: 1px solid @border-color;
|
|
||||||
border-top: none;
|
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
color: @text-primary;
|
color: @text-primary;
|
||||||
transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
|
transition: color 0.3s ease, text-shadow 0.3s ease, background 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Workspaces */
|
/* Workspaces */
|
||||||
#workspaces {
|
#workspaces {
|
||||||
background: linear-gradient(to bottom, @bg-primary, @bg-secondary);
|
font-size: 18px;
|
||||||
border-right: 1px solid @border-color;
|
background-color: transparent;
|
||||||
border-bottom: 1px solid @border-color;
|
|
||||||
border-radius: 0 0 10px 0;
|
|
||||||
margin-right: 10px;
|
|
||||||
padding-right: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0 5px;
|
padding: 0 6px;
|
||||||
|
min-width: 20px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: @text-primary;
|
color: alpha(@accent-color,.5);
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
box-shadow: inset 0 -3px transparent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.empty {
|
#workspaces button.empty {
|
||||||
color: @text-secondary;
|
color: @text-secondary;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:hover {
|
|
||||||
background: rgba(0, 0, 0, 0.2);
|
|
||||||
box-shadow: inset 0 -3px @text-primary;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.active.hosting-monitor {
|
#workspaces button.active.hosting-monitor {
|
||||||
background-color: rgba(0, 0, 0, 0.32);
|
/* background-color: rgba(0, 0, 0, 0.32); */
|
||||||
box-shadow: inset 0 -3px @accent-color;
|
/* box-shadow: inset 0 -3px @accent-color; */
|
||||||
color: @accent-color;
|
color: @accent-color;
|
||||||
|
text-shadow: 0px 0px 8px @accent-color;
|
||||||
animation: hover 0.8s 1;
|
animation: hover 0.8s 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.urgent {
|
#workspaces button.urgent {
|
||||||
color: @bg-opaque;
|
color: @bg-opaque;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
background-color: @attention;
|
color: @attention;
|
||||||
box-shadow: inset 0 -13px @attention;
|
text-shadow: 0px 0px 8px @attention;
|
||||||
transition: color 0.5s, box-shadow 0.5s, background 0.5s;
|
transition: color 0.5s, box-shadow 0.5s, background 0.5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
color: @foreground;
|
||||||
|
background-color: transparent;
|
||||||
|
text-shadow: 0px 0px 2px rgba(233, 99, 117, 1);
|
||||||
|
}
|
||||||
|
|
||||||
/* Side Module Groups */
|
/* Side Module Groups */
|
||||||
.modules-left {
|
.modules-left {
|
||||||
border-left: none;
|
border-left: none;
|
||||||
@@ -132,21 +116,17 @@ window#waybar.chromium {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#cpu {
|
#cpu {
|
||||||
margin-left: 20px;
|
|
||||||
border-right: none;
|
border-right: none;
|
||||||
border-radius: 0 0 0 10px;
|
border-radius: 0 0 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#memory {
|
#memory {
|
||||||
border-left: none;
|
border-left: none;
|
||||||
border-radius: 0 0 10px 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Custom Modules */
|
/* Custom Modules */
|
||||||
#custom-pomodoro,
|
#custom-pomodoro {
|
||||||
#custom-goal {
|
color: @text-secondary;
|
||||||
color: @warning-alt;
|
|
||||||
margin: 0 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-pomodoro {
|
#custom-pomodoro {
|
||||||
@@ -160,19 +140,22 @@ window#waybar.chromium {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#custom-submap {
|
#custom-submap {
|
||||||
color: @accent-color;
|
color: @text-primary;
|
||||||
border-radius: 0 0 10px 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Pomodoro States */
|
/* Pomodoro States */
|
||||||
|
#custom-pomodoro.work {
|
||||||
|
color: @accent-color;
|
||||||
|
}
|
||||||
|
|
||||||
#custom-pomodoro.break {
|
#custom-pomodoro.break {
|
||||||
color: @success;
|
color: @success;
|
||||||
box-shadow: inset 0 -3px @success;
|
text-shadow: 0px 0px 4px rgba(0, 255, 0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-pomodoro.pause {
|
#custom-pomodoro.pause {
|
||||||
color: @warning;
|
color: @attention;
|
||||||
box-shadow: inset 0 -3px @warning;
|
text-shadow: 0px 0px 4px @attention;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-pomodoro.break + #custom-goal,
|
#custom-pomodoro.break + #custom-goal,
|
||||||
@@ -186,52 +169,58 @@ window#waybar.chromium {
|
|||||||
#memory,
|
#memory,
|
||||||
#memory.swap,
|
#memory.swap,
|
||||||
#disk {
|
#disk {
|
||||||
color: @info;
|
color: @text-primary;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Standard Modules - border adjustments */
|
#pulseaudio {
|
||||||
#clock,
|
padding-right: 0;
|
||||||
#battery,
|
}
|
||||||
#temperature,
|
|
||||||
#backlight,
|
#pulseaudio-slider slider {
|
||||||
#network,
|
min-height: 0px;
|
||||||
#wireplumber,
|
min-width: 0px;
|
||||||
#custom-media,
|
opacity: 0;
|
||||||
#custom-panel,
|
background-image: none;
|
||||||
#tray,
|
border: none;
|
||||||
#mode,
|
box-shadow: none;
|
||||||
#idle_inhibitor,
|
}
|
||||||
#scratchpad {
|
|
||||||
border-left: none;
|
#pulseaudio-slider trough {
|
||||||
border-right: none;
|
min-height: 10px;
|
||||||
}
|
min-width: 25px;
|
||||||
|
border-radius: 5px;
|
||||||
#custom-panel {
|
background: alpha(@text-primary,.2);
|
||||||
padding: 0;
|
}
|
||||||
padding-right: 10px;
|
|
||||||
|
#pulseaudio-slider highlight {
|
||||||
|
min-width: 10px;
|
||||||
|
border-radius: 5px;
|
||||||
|
background: @text-primary;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
border-left: 1px solid @border-color;
|
|
||||||
border-right: none;
|
border-right: none;
|
||||||
border-radius: 0 0 0 10px;
|
|
||||||
margin-left: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* MPD specific styles */
|
/* MPD specific styles */
|
||||||
#mpd {
|
#mpd {
|
||||||
border-radius: 0 0 10px 10px;
|
font-weight: 700;
|
||||||
transition: color 2s, border-color 2s, background 2s;
|
transition: color 2s, background 2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mpd.playing {
|
#mpd.playing {
|
||||||
color: @accent-alt;
|
color: @accent-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mpd.stopped {
|
#mpd.stopped {
|
||||||
border-color: transparent;
|
/* color: rgba(255,255,255,0.5); */
|
||||||
background: transparent;
|
|
||||||
color: transparent;
|
color: transparent;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mpd.paused {
|
||||||
|
font-weight: normal;
|
||||||
|
color: @text-secondary;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hover Effects */
|
/* Hover Effects */
|
||||||
@@ -244,7 +233,11 @@ window#waybar.chromium {
|
|||||||
#backlight:hover,
|
#backlight:hover,
|
||||||
#network:hover,
|
#network:hover,
|
||||||
#pulseaudio:hover,
|
#pulseaudio:hover,
|
||||||
|
#cpu:hover,
|
||||||
|
#memory:hover,
|
||||||
#wireplumber:hover,
|
#wireplumber:hover,
|
||||||
|
#custom-logo:hover,
|
||||||
|
#custom-pomodoro:hover,
|
||||||
#custom-media:hover,
|
#custom-media:hover,
|
||||||
#custom-panel:hover,
|
#custom-panel:hover,
|
||||||
#mode:hover,
|
#mode:hover,
|
||||||
@@ -252,37 +245,34 @@ window#waybar.chromium {
|
|||||||
#scratchpad:hover,
|
#scratchpad:hover,
|
||||||
#power-profiles-daemon:hover {
|
#power-profiles-daemon:hover {
|
||||||
color: @accent-color;
|
color: @accent-color;
|
||||||
|
text-shadow: 0px 0px 8px @accent-color;
|
||||||
|
transition: color 0.3s, box-shadow 0.3s, background 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio-slider:hover highlight {
|
||||||
|
background: @accent-color;
|
||||||
|
box-shadow: 0px 0px 8px @accent-color;
|
||||||
transition: color 0.3s, box-shadow 0.3s, background 0.3s;
|
transition: color 0.3s, box-shadow 0.3s, background 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Battery States */
|
/* Battery States */
|
||||||
#battery.charging,
|
#battery.charging,
|
||||||
#battery.plugged {
|
#battery.plugged {
|
||||||
color: @success-alt;
|
color: @success;
|
||||||
box-shadow: inset 0 -3px @success-alt;
|
text-shadow: 0px 0px 8px @success;
|
||||||
|
transition: color 0.3s, box-shadow 0.3s, background 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.warning:not(.charging) {
|
#battery.warning:not(.charging) {
|
||||||
color: @warning;
|
color: @warning;
|
||||||
border-bottom: 3px solid @warning;
|
text-shadow: 0px 0px 8px @warning;
|
||||||
|
transition: color 0.3s, box-shadow 0.3s, background 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.critical:not(.charging) {
|
#battery.critical:not(.charging) {
|
||||||
color: @danger;
|
color: @danger;
|
||||||
border-bottom: 3px solid @danger;
|
text-shadow: 0px 0px 8px @danger;
|
||||||
}
|
transition: color 0.3s, box-shadow 0.3s, background 0.3s;
|
||||||
|
|
||||||
/* Power Profiles */
|
|
||||||
#power-profiles-daemon {
|
|
||||||
color: @text-primary;
|
|
||||||
font-size: 17px;
|
|
||||||
padding: 0 7px 0 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Warning States */
|
|
||||||
#temperature.critical,
|
|
||||||
#idle_inhibitor.activated {
|
|
||||||
animation: blink-warning 2s infinite;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Tray */
|
/* Tray */
|
||||||
Reference in New Issue
Block a user