From 3bcf9aeb696d28a0e464cecf888c6efe6ed2f8f8 Mon Sep 17 00:00:00 2001 From: Sense T Date: Wed, 28 Jun 2023 06:17:14 +0800 Subject: [PATCH] little update --- home/user/config/waybar.nix | 13 +++++++------ home/user/files/hyprland.conf | 1 - home/user/home.nix | 1 - 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/home/user/config/waybar.nix b/home/user/config/waybar.nix index 31a692b..4ce2dfd 100644 --- a/home/user/config/waybar.nix +++ b/home/user/config/waybar.nix @@ -13,6 +13,7 @@ # "cpu" # "memory" "battery" + "network" "tray" "clock" ]; @@ -20,8 +21,8 @@ wireplumber = { tooltip = false; scroll-step = 5; - format = "{icon} {volume}%"; - format-muted = "{icon} {volume}%"; + format = "{icon} {volume}%"; + format-muted = "{icon} --"; on-click ="wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; # wpctl? format-icons = { default = ["" "" ""]; @@ -51,13 +52,13 @@ network = { tooltip = false; - format-wifi = " {essid}"; + format-wifi = " {essid}"; format-ethernet = ""; }; backlight = { tooltip = false; - format = " {}%"; + format = " {}%"; interval = 1; on-scroll-up = "light -A 5"; on-scroll-down = "light -U 5"; @@ -72,7 +73,7 @@ format = "{icon} {capacity}%"; format-charging = " {capacity}%"; format-plugged = " {capacity}%"; - format-alt = "{time} {icon}"; + format-alt = "{time} {icon}"; format-icons = ["" "" "" "" ""]; }; @@ -82,7 +83,7 @@ }; clock = { - format = " {:%H:%M}"; + format = " {:%H:%M}"; tooltip-format = "\n{calendar}"; calendar = { mode = "month"; diff --git a/home/user/files/hyprland.conf b/home/user/files/hyprland.conf index a30c902..87955fc 100644 --- a/home/user/files/hyprland.conf +++ b/home/user/files/hyprland.conf @@ -16,7 +16,6 @@ monitor=,preferred,auto,1,transform,3 # Execute your favorite apps at launch # exec-once = waybar & hyprpaper & firefox exec-once = waybar -exec-once = nm-applet --sm-disable exec-once = systemctl --user start dunst exec-once = systemctl --user start fcitx5-daemon diff --git a/home/user/home.nix b/home/user/home.nix index 469f4d0..b1e163c 100644 --- a/home/user/home.nix +++ b/home/user/home.nix @@ -16,7 +16,6 @@ #rofi-rbw nwg-launchers iconpack-obsidian # icon theme - networkmanagerapplet ]; sessionPath = [