fix waybar and background
This commit is contained in:
parent
01331f24da
commit
24bf1e7c33
2 changed files with 13 additions and 15 deletions
|
|
@ -177,12 +177,12 @@
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
height = 36;
|
height = 36;
|
||||||
modules-left = [ "wlr/taskbar" "hyprland/window" ];
|
modules-left = [ "hyprland/window" ];
|
||||||
modules-right = [ "mpris" "wireplumber" "clock" "tray" ];
|
modules-right = [ "mpris" "pulseaudio" "clock" "tray" "battery" ];
|
||||||
clock = {
|
clock = {
|
||||||
format = "📅 {:%a %b-%d %I:%M %p}";
|
format = "📅 {:%a %b-%d %I:%M %p}";
|
||||||
};
|
};
|
||||||
wireplumber = {
|
pulseaudio = {
|
||||||
format-muted = "🔇 {volume}%";
|
format-muted = "🔇 {volume}%";
|
||||||
format = "{icon} {volume}";
|
format = "{icon} {volume}";
|
||||||
format-icons.default = ["🔈" "🔉" "🔊"];
|
format-icons.default = ["🔈" "🔉" "🔊"];
|
||||||
|
|
@ -200,6 +200,14 @@
|
||||||
};
|
};
|
||||||
on-click = "~/.local/scripts/play-pause";
|
on-click = "~/.local/scripts/play-pause";
|
||||||
};
|
};
|
||||||
|
battery = {
|
||||||
|
format = "{icon} {capacity}%";
|
||||||
|
format-icons = ["🤏" "🪫" "🔋"];
|
||||||
|
states = {
|
||||||
|
warning = 30;
|
||||||
|
critical = 15;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
programs.waybar.systemd = {
|
programs.waybar.systemd = {
|
||||||
|
|
|
||||||
|
|
@ -28,20 +28,10 @@
|
||||||
primary = true;
|
primary = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.waybar.settings.mainBar = {
|
|
||||||
modules-right = ["battery"];
|
|
||||||
battery = {
|
|
||||||
format = "{icon} {capacity}%";
|
|
||||||
format-icons = ["🤏" "🪫" "🔋"];
|
|
||||||
states = {
|
|
||||||
warning = 30;
|
|
||||||
critical = 15;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
exec-once = swaybg -o eDP-1 -i ~/Pictures/backgrounds/nix-wallpaper-simple-red.png &
|
||||||
|
|
||||||
monitor = ,preferred,auto, 1.2
|
monitor = ,preferred,auto, 1.2
|
||||||
input {
|
input {
|
||||||
kb_variant = dvorak
|
kb_variant = dvorak
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue