fixes cava in waybar
This commit is contained in:
@@ -1,19 +1,19 @@
|
|||||||
$wallpaper = /usr/share/wallpapers/downloaded/pexels-jplenio-1102912.jpg
|
$wallpaper = /usr/share/wallpapers/downloaded/pexels-alex-montes-892479-1820563.jpg
|
||||||
$background = rgb(0E0E11)
|
$background = rgb(232525)
|
||||||
$foreground = rgb(FDF2DE)
|
$foreground = rgb(F8FBFB)
|
||||||
$color0 = rgb(38393C)
|
$color0 = rgb(4E5052)
|
||||||
$color1 = rgb(424652)
|
$color1 = rgb(DE6D49)
|
||||||
$color2 = rgb(6A3E40)
|
$color2 = rgb(978E7D)
|
||||||
$color3 = rgb(736956)
|
$color3 = rgb(49A2B8)
|
||||||
$color4 = rgb(897C88)
|
$color4 = rgb(EEAFA6)
|
||||||
$color5 = rgb(9B8166)
|
$color5 = rgb(F6CE70)
|
||||||
$color6 = rgb(F9D9A2)
|
$color6 = rgb(EBF3F4)
|
||||||
$color7 = rgb(F4E4C8)
|
$color7 = rgb(EDF1F1)
|
||||||
$color8 = rgb(AA9F8C)
|
$color8 = rgb(A6A8A9)
|
||||||
$color9 = rgb(424652)
|
$color9 = rgb(DE6D49)
|
||||||
$color10 = rgb(6A3E40)
|
$color10 = rgb(978E7D)
|
||||||
$color11 = rgb(736956)
|
$color11 = rgb(49A2B8)
|
||||||
$color12 = rgb(897C88)
|
$color12 = rgb(EEAFA6)
|
||||||
$color13 = rgb(9B8166)
|
$color13 = rgb(F6CE70)
|
||||||
$color14 = rgb(F9D9A2)
|
$color14 = rgb(EBF3F4)
|
||||||
$color15 = rgb(F4E4C8)
|
$color15 = rgb(EDF1F1)
|
||||||
@@ -163,6 +163,7 @@ binds {
|
|||||||
|
|
||||||
# Toggle Waybar
|
# Toggle Waybar
|
||||||
bind = $mainMod, W, exec, killall -SIGUSR1 waybar
|
bind = $mainMod, W, exec, killall -SIGUSR1 waybar
|
||||||
|
bind = $mainMod SHIFT, W, exec, killall -SIGUSR2 waybar # restart
|
||||||
|
|
||||||
# ======= Monitors =======
|
# ======= Monitors =======
|
||||||
# Toggle Monitor Flip
|
# Toggle Monitor Flip
|
||||||
|
|||||||
@@ -289,4 +289,18 @@ windowrule {
|
|||||||
match:class = ^(waypaper)$
|
match:class = ^(waypaper)$
|
||||||
float = on
|
float = on
|
||||||
center = on
|
center = on
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = calcure
|
||||||
|
match:title = ^(calcure)$
|
||||||
|
float = on
|
||||||
|
center = on
|
||||||
|
}
|
||||||
|
|
||||||
|
windowrule {
|
||||||
|
name = gnome-calculator-fix
|
||||||
|
match:class = ^(org.gnome.Calculator)$
|
||||||
|
float = on
|
||||||
|
center = on
|
||||||
}
|
}
|
||||||
@@ -5,20 +5,20 @@ general {
|
|||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 150 # 2.5min.
|
timeout = 7200 # 2.5min.
|
||||||
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
|
||||||
on-resume = brightnessctl -r # monitor backlight restore.
|
on-resume = brightnessctl -r # monitor backlight restore.
|
||||||
}
|
}
|
||||||
|
|
||||||
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
|
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
|
||||||
listener {
|
listener {
|
||||||
timeout = 150 # 2.5min.
|
timeout = 7200 # 2.5min.
|
||||||
on-timeout = brightnessctl -sd asus::kbd_backlight set 0 # turn off keyboard backlight.
|
on-timeout = brightnessctl -sd asus::kbd_backlight set 0 # turn off keyboard backlight.
|
||||||
on-resume = brightnessctl -rd asus::kbd_backlight # turn on keyboard backlight.
|
on-resume = brightnessctl -rd asus::kbd_backlight # turn on keyboard backlight.
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 300 # 5min
|
timeout = 7200 # 5min
|
||||||
on-timeout = ~/.config/swaylock/lockscript.sh # lock screen when timeout has passed
|
on-timeout = ~/.config/swaylock/lockscript.sh # lock screen when timeout has passed
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,8 @@ source = ~/.config/hypr/config/monitor.conf
|
|||||||
source = ~/.config/hypr/config/variables.conf
|
source = ~/.config/hypr/config/variables.conf
|
||||||
source = ~/.config/hypr/config/windowrules.conf
|
source = ~/.config/hypr/config/windowrules.conf
|
||||||
source = ~/.config/hypr/config/workspaces.conf
|
source = ~/.config/hypr/config/workspaces.conf
|
||||||
|
source = ~/.config/hypr/config/plugins.conf
|
||||||
|
|
||||||
# Modifying these configs can be done by creating a user defined config in the home directory, e.g.
|
# Modifying these configs can be done by creating a user defined config in the home directory, e.g.
|
||||||
## ~/.config/hypr/config/user-config.conf
|
## ~/.config/hypr/config/user-config.conf
|
||||||
# source ~/.config/hypr/config/user-config.conf
|
# source ~/.config/hypr/config/user-config.conf
|
||||||
@@ -1,19 +1,19 @@
|
|||||||
@define-color cursor #9D7C73;
|
@define-color cursor #C2BEB5;
|
||||||
@define-color background #0E0E11;
|
@define-color background #232525;
|
||||||
@define-color foreground #FDF2DE;
|
@define-color foreground #F8FBFB;
|
||||||
@define-color color0 #38393C;
|
@define-color color0 #4E5052;
|
||||||
@define-color color1 #424652;
|
@define-color color1 #DE6D49;
|
||||||
@define-color color2 #6A3E40;
|
@define-color color2 #978E7D;
|
||||||
@define-color color3 #736956;
|
@define-color color3 #49A2B8;
|
||||||
@define-color color4 #897C88;
|
@define-color color4 #EEAFA6;
|
||||||
@define-color color5 #9B8166;
|
@define-color color5 #F6CE70;
|
||||||
@define-color color6 #F9D9A2;
|
@define-color color6 #EBF3F4;
|
||||||
@define-color color7 #F4E4C8;
|
@define-color color7 #EDF1F1;
|
||||||
@define-color color8 #AA9F8C;
|
@define-color color8 #A6A8A9;
|
||||||
@define-color color9 #424652;
|
@define-color color9 #DE6D49;
|
||||||
@define-color color10 #6A3E40;
|
@define-color color10 #978E7D;
|
||||||
@define-color color11 #736956;
|
@define-color color11 #49A2B8;
|
||||||
@define-color color12 #897C88;
|
@define-color color12 #EEAFA6;
|
||||||
@define-color color13 #9B8166;
|
@define-color color13 #F6CE70;
|
||||||
@define-color color14 #F9D9A2;
|
@define-color color14 #EBF3F4;
|
||||||
@define-color color15 #F4E4C8;
|
@define-color color15 #EDF1F1;
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
"modules-left": [
|
"modules-left": [
|
||||||
"clock",
|
"clock",
|
||||||
"custom/weather",
|
"custom/weather",
|
||||||
|
"tray",
|
||||||
//"custom/rofi",
|
//"custom/rofi",
|
||||||
"hyprland/workspaces",
|
"hyprland/workspaces",
|
||||||
//"hyprland/submap",
|
//"hyprland/submap",
|
||||||
@@ -30,20 +31,20 @@
|
|||||||
// //"custom/gammastep"
|
// //"custom/gammastep"
|
||||||
// ],
|
// ],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
|
"cava",
|
||||||
|
"wireplumber",
|
||||||
//"wlr/taskbar",
|
//"wlr/taskbar",
|
||||||
//"custom/storage",
|
//"custom/storage",
|
||||||
"memory",
|
"memory",
|
||||||
"cpu",
|
"cpu",
|
||||||
"temperature",
|
"temperature",
|
||||||
"battery",
|
"battery",
|
||||||
|
|
||||||
//"pulseaudio",
|
//"pulseaudio",
|
||||||
"wireplumber",
|
|
||||||
"cava",
|
|
||||||
//"backlight",
|
//"backlight",
|
||||||
"bluetooth",
|
"bluetooth",
|
||||||
//"custom/screenshot_t",
|
//"custom/screenshot_t",
|
||||||
"custom/power_profiles",
|
"custom/power_profiles",
|
||||||
//"tray",
|
|
||||||
"custom/power",
|
"custom/power",
|
||||||
],
|
],
|
||||||
|
|
||||||
@@ -84,17 +85,17 @@
|
|||||||
"clock#1": {
|
"clock#1": {
|
||||||
"format": " {:%a}",
|
"format": " {:%a}",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"on-click": "gnome-calendar",
|
"on-click": "kitty -e calcure --class=\"float\" -T calcure",
|
||||||
},
|
},
|
||||||
"clock#2": {
|
"clock#2": {
|
||||||
"format": " {:%d-%h-%Y}",
|
"format": " {:%d-%h-%Y}",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"on-click": "gnome-calendar",
|
"on-click": "kitty -e calcure --class=\"float\" -T calcure",
|
||||||
},
|
},
|
||||||
"clock#3": {
|
"clock#3": {
|
||||||
"format": " {:%H:%M:%S %p}",
|
"format": " {:%H:%M:%S %p}",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"on-click": "gnome-calendar",
|
"on-click": "kitty -e calcure --class=\"float\" -T calcure",
|
||||||
},
|
},
|
||||||
|
|
||||||
"bluetooth": {
|
"bluetooth": {
|
||||||
@@ -227,7 +228,7 @@
|
|||||||
"format": " {:%H:%M %e %b}",
|
"format": " {:%H:%M %e %b}",
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
"today-format": "<b>{}</b>",
|
"today-format": "<b>{}</b>",
|
||||||
"on-click": "gnome-calendar",
|
"on-click": "kitty -e calcure --class=\"float\" -T calcure",
|
||||||
},
|
},
|
||||||
|
|
||||||
"clock#date": {
|
"clock#date": {
|
||||||
@@ -380,8 +381,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 15,
|
"icon-size": 11,
|
||||||
"spacing": 5,
|
"spacing": 5,
|
||||||
|
"show-passive-items": true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/power_profiles": {
|
"custom/power_profiles": {
|
||||||
@@ -413,25 +415,28 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"cava": {
|
"cava": {
|
||||||
|
"on-click": "pavucontrol",
|
||||||
// "cava_config": "$XDG_CONFIG_HOME/cava/cava.conf",
|
// "cava_config": "$XDG_CONFIG_HOME/cava/cava.conf",
|
||||||
"framerate": 30,
|
"framerate": 30,
|
||||||
|
"sensitivity": 3,
|
||||||
"autosens": 1,
|
"autosens": 1,
|
||||||
"sensitivity": 100,
|
"bars": 12,
|
||||||
"bars": 14,
|
"lower_cutoff_freq": 10,
|
||||||
"lower_cutoff_freq": 50,
|
|
||||||
"higher_cutoff_freq": 10000,
|
"higher_cutoff_freq": 10000,
|
||||||
"hide_on_silence": false,
|
"hide_on_silence": false,
|
||||||
// "format_silent": "quiet",
|
"format_silent": "quiet",
|
||||||
"method": "pulse",
|
"method": "pipewire",
|
||||||
"source": "auto",
|
"source": "auto",
|
||||||
"stereo": true,
|
"stereo": false,
|
||||||
"reverse": false,
|
"reverse": false,
|
||||||
"bar_delimiter": 0,
|
"bar_delimiter": 0,
|
||||||
"monstercat": false,
|
"bar_spacing": 1,
|
||||||
"waves": false,
|
"monstercat": true,
|
||||||
|
"waves": true,
|
||||||
"noise_reduction": 0.77,
|
"noise_reduction": 0.77,
|
||||||
"input_delay": 2,
|
"input_delay": 2,
|
||||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
|
"eq": { "1": 1.8, "2": 1.4, "3": 1.1, "4": 1.0, "5": 1.0 },
|
||||||
|
"format-icons": ["", "▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
|
||||||
"actions": {
|
"actions": {
|
||||||
"on-click-right": "mode",
|
"on-click-right": "mode",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -18,9 +18,8 @@
|
|||||||
|
|
||||||
.modules-left,
|
.modules-left,
|
||||||
.modules-right {
|
.modules-right {
|
||||||
background-color: rgba(17, 24, 39, 0.5);
|
background-color: rgba(17, 24, 39, 0.1);
|
||||||
margin-top: 2px;
|
margin: 4px;
|
||||||
border-radius: 3px;
|
|
||||||
padding: 3px 6px;
|
padding: 3px 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -40,20 +39,15 @@ window#waybar.empty #window {
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --- Workspaces --- */
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 3px 2px;
|
padding: 3px 2px;
|
||||||
margin: 3px 2px;
|
margin: 3px 2px;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
color: @foreground;
|
color: @foreground;
|
||||||
background-color: @color0;
|
background-color: alpha(@foreground, 0.15);
|
||||||
transition: all 0.3s ease-in-out;
|
transition: all 0.3s ease-in-out;
|
||||||
font-size: 9px; /* Slightly smaller font size */
|
font-size: 9px;
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces {
|
|
||||||
background-color: transparent;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
@@ -69,15 +63,44 @@ window#waybar.empty #window {
|
|||||||
background-color: @color9;
|
background-color: @color9;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#workspaces {
|
||||||
|
background-color: transparent;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* --- Tray --- */
|
||||||
|
#tray {
|
||||||
|
margin: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray > * {
|
||||||
|
background-color: alpha(@foreground, 0.15);
|
||||||
|
margin: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray > * > image,
|
||||||
|
#tray > * image {
|
||||||
|
padding: 0px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray > *:hover {
|
||||||
|
background: @color2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray > .needs-attention {
|
||||||
|
background-color: @color9;
|
||||||
|
}
|
||||||
|
|
||||||
#window {
|
#window {
|
||||||
background-color: alpha(@background, 0.1);
|
background-color: alpha(@background, 0.1);
|
||||||
color: @foreground;
|
color: @foreground;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
padding: 1px 10px; /* Reduced padding */
|
padding: 1px 10px;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Shared module styling */
|
/* --- Shared module styling --- */
|
||||||
#clock,
|
#clock,
|
||||||
#battery,
|
#battery,
|
||||||
#cpu,
|
#cpu,
|
||||||
@@ -91,8 +114,9 @@ window#waybar.empty #window {
|
|||||||
#temperature,
|
#temperature,
|
||||||
#backlight,
|
#backlight,
|
||||||
#network,
|
#network,
|
||||||
|
#pulseaudio,
|
||||||
#wireplumber,
|
#wireplumber,
|
||||||
#pulseaudio {
|
#cava {
|
||||||
background-color: alpha(@foreground, 0.15);
|
background-color: alpha(@foreground, 0.15);
|
||||||
color: @foreground;
|
color: @foreground;
|
||||||
padding: 0px 10px;
|
padding: 0px 10px;
|
||||||
@@ -113,18 +137,41 @@ window#waybar.empty #window {
|
|||||||
#backlight:hover,
|
#backlight:hover,
|
||||||
#network:hover,
|
#network:hover,
|
||||||
#wireplumber:hover,
|
#wireplumber:hover,
|
||||||
#pulseaudio:hover {
|
#pulseaudio:hover,
|
||||||
|
#cava:hover {
|
||||||
background: @color2;
|
background: @color2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#wireplumber {
|
||||||
|
border-radius: 0px 3px 3px 0px;
|
||||||
|
margin-left: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#cava {
|
||||||
|
border-radius: 3px 0px 0px 3px;
|
||||||
|
margin-right: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
#bluetooth {
|
#bluetooth {
|
||||||
background-color: alpha(@color3, 0.3);
|
background-color: alpha(@color3, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
#bluetooth.disabled {
|
#bluetooth.disabled {
|
||||||
|
}
|
||||||
|
|
||||||
|
#bluetooth.on {
|
||||||
background-color: alpha(@color2, 1);
|
background-color: alpha(@color2, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#bluetooth.connected {
|
||||||
|
background-color: alpha(@color4, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
#bluetooth.connected:hover,
|
||||||
|
#bluetooth.on:hover {
|
||||||
|
background-color: alpha(@color3, 0.3);
|
||||||
|
}
|
||||||
|
|
||||||
#battery.critical:not(.charging) {
|
#battery.critical:not(.charging) {
|
||||||
color: @color1;
|
color: @color1;
|
||||||
background-color: alpha(@color2, 1);
|
background-color: alpha(@color2, 1);
|
||||||
@@ -134,15 +181,6 @@ window#waybar.empty #window {
|
|||||||
background-color: alpha(@color2, 1);
|
background-color: alpha(@color2, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray > .passive {
|
|
||||||
-gtk-icon-effect: dim;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray > .needs-attention {
|
|
||||||
-gtk-icon-effect: highlight;
|
|
||||||
background-color: rgba(253, 77, 75, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
#idle_inhibitor {
|
#idle_inhibitor {
|
||||||
background-color: rgba(45, 52, 54, 0.5);
|
background-color: rgba(45, 52, 54, 0.5);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user