switch to waybar
This commit is contained in:
parent
94acf3aa56
commit
6f96122b83
2 changed files with 24 additions and 13 deletions
|
@ -666,15 +666,15 @@ in {
|
||||||
height = 15;
|
height = 15;
|
||||||
width = if laptop then 1400 else 3000;
|
width = if laptop then 1400 else 3000;
|
||||||
# Choose the order of the modules "custom/wintitle",
|
# Choose the order of the modules "custom/wintitle",
|
||||||
modules-left = [ "hyprland/window" ];
|
modules-left = [ "hyprland/workspaces" "hyprland/window" ];
|
||||||
modules-center = [ "hyprland/workspaces" ];
|
modules-center = [ "clock" ];
|
||||||
modules-right =
|
modules-right =
|
||||||
[ "pulseaudio" "backlight" "battery" "tray" "clock" ];
|
[ "cpu" "memory" "pulseaudio" "backlight" "battery" "tray" ];
|
||||||
margin-top = if laptop then -5 else 5;
|
margin-top = if laptop then -5 else 5;
|
||||||
margin-bottom = if laptop then 4 else 0;
|
margin-bottom = if laptop then 4 else 0;
|
||||||
margin-left = 6;
|
margin-left = 6;
|
||||||
margin-right = 6;
|
margin-right = 6;
|
||||||
"hyprland/window" = { format = " <span style='italic'>{}</span>"; };
|
"hyprland/window" = { format = "<span style='italic'>{title}</span>"; icon = true; };
|
||||||
workspaces = { format = " {name} "; };
|
workspaces = { format = " {name} "; };
|
||||||
"hyprland/workspaces" = {
|
"hyprland/workspaces" = {
|
||||||
format = "{icon}";
|
format = "{icon}";
|
||||||
|
@ -702,7 +702,7 @@ in {
|
||||||
<big>{:%Y %B}</big>
|
<big>{:%Y %B}</big>
|
||||||
<tt><small>{calendar}</small></tt>'';
|
<tt><small>{calendar}</small></tt>'';
|
||||||
format-alt = "{:%Y-%m-%d}";
|
format-alt = "{:%Y-%m-%d}";
|
||||||
format = "{:%a %b %e, %I:%M %p}";
|
format = "{:%b %e, %I:%M %p}";
|
||||||
};
|
};
|
||||||
cpu = { format = " {usage}%"; on-click = "alacritty --class btop -e btop"; };
|
cpu = { format = " {usage}%"; on-click = "alacritty --class btop -e btop"; };
|
||||||
memory = { format = " {}%"; on-click = "alacritty --class btop -e btop"; };
|
memory = { format = " {}%"; on-click = "alacritty --class btop -e btop"; };
|
||||||
|
@ -723,7 +723,7 @@ in {
|
||||||
};
|
};
|
||||||
backlight = {
|
backlight = {
|
||||||
# "device": "acpi_video1",
|
# "device": "acpi_video1",
|
||||||
format = "{icon} {PERCENT}%";
|
format = "{icon} {PERCENT}%";
|
||||||
format-icons = [ "" "" ];
|
format-icons = [ "" "" ];
|
||||||
};
|
};
|
||||||
disk = {
|
disk = {
|
||||||
|
@ -820,6 +820,17 @@ in {
|
||||||
padding-bottom: 2px;
|
padding-bottom: 2px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
|
margin-right: 50px;
|
||||||
|
background: @backtransparent;
|
||||||
|
box-shadow: 5px 5px 4px 4px #202020;
|
||||||
|
border-radius: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-center {
|
||||||
|
padding-top: 2px;
|
||||||
|
padding-bottom: 2px;
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-right: 2px;
|
||||||
background: @backtransparent;
|
background: @backtransparent;
|
||||||
box-shadow: 5px 5px 4px 4px #202020;
|
box-shadow: 5px 5px 4px 4px #202020;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
|
@ -940,7 +951,7 @@ in {
|
||||||
|
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
padding-right: 5px;
|
padding-right: 0px;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
transition: none;
|
transition: none;
|
||||||
color: @base0A;
|
color: @base0A;
|
||||||
|
@ -975,8 +986,8 @@ in {
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
padding-left: 5px;
|
padding-left: 0px;
|
||||||
padding-right: 5px;
|
padding-right: 0px;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
transition: none;
|
transition: none;
|
||||||
color: @base0D;
|
color: @base0D;
|
||||||
|
|
|
@ -345,7 +345,7 @@ in
|
||||||
"SUPERALT,a,movetoworkspace,special:agenda"
|
"SUPERALT,a,movetoworkspace,special:agenda"
|
||||||
"SUPER,g,togglespecialworkspace,agenda"
|
"SUPER,g,togglespecialworkspace,agenda"
|
||||||
|
|
||||||
# "SUPERSHIFT,g,exec,waybar.sh"
|
"SUPERSHIFT,w,exec,waybar.sh"
|
||||||
"SUPERALT,n,exec,eww update rightside=true"
|
"SUPERALT,n,exec,eww update rightside=true"
|
||||||
"SUPERCTRL,f,exec,forms-fill.sh"
|
"SUPERCTRL,f,exec,forms-fill.sh"
|
||||||
];
|
];
|
||||||
|
@ -386,11 +386,11 @@ in
|
||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"kwalletd6"
|
"kwalletd6"
|
||||||
"eww daemon"
|
# "eww daemon"
|
||||||
"hyprpaper"
|
"hyprpaper"
|
||||||
"eww open ${if laptop then "bar0" else "bar1"}"
|
# "eww open ${if laptop then "bar0" else "bar1"}"
|
||||||
# "dunst"
|
# "dunst"
|
||||||
# "waybar"
|
"waybar.sh"
|
||||||
"swww-daemon"
|
"swww-daemon"
|
||||||
"rbw-agent"
|
"rbw-agent"
|
||||||
"hyprctl dispatch --batch 'splitratio 1; splitration -0.35'"
|
"hyprctl dispatch --batch 'splitratio 1; splitration -0.35'"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue