cleanup, swaync, qutebrowser and waybar fix

This commit is contained in:
shinya 2025-01-31 17:16:06 +01:00
parent 39d0b48da0
commit bbaa9686c9
6 changed files with 35 additions and 5 deletions

View File

@ -24,6 +24,7 @@
android-udev-rules
postman
gdb
xh
];
};
}

View File

@ -2,8 +2,6 @@
pkgs,
lib,
config,
inputs,
system,
...
}: {
options = {

View File

@ -42,7 +42,14 @@
# Services for the Hyprland module
services.network-manager-applet.enable = true;
services.dunst.enable = true;
#services.dunst.enable = true;
services.swaync = {
enable = true;
settings = {
fit-to-screen = false;
control-center-height = 200;
};
};
# Home session variables
home.sessionVariables = {

View File

@ -31,7 +31,7 @@
];
modules-left = ["custom/padd" "custom/l_end" "cpu" "memory" "custom/r_end" "custom/l_end" "idle_inhibitor" "clock" "custom/r_end" "" "custom/padd"];
modules-center = ["custom/padd" "" "custom/l_end" "hyprland/workspaces" "hyprland/window" "custom/r_end" "custom/padd"];
modules-right = ["custom/padd" "custom/l_end" "backlight" "network" "bluetooth" "pulseaudio" "pulseaudio#microphone" "custom/r_end" "custom/l_end" "tray" "battery" "custom/r_end" "custom/l_end" "custom/cliphist" "custom/power" "custom/r_end" "custom/padd"];
modules-right = ["custom/padd" "custom/l_end" "backlight" "network" "bluetooth" "pulseaudio" "pulseaudio#microphone" "custom/r_end" "custom/l_end" "tray" "battery" "custom/r_end" "custom/l_end" "custom/notification" "custom/cliphist" "custom/power" "custom/r_end" "custom/padd"];
"hyprland/workspaces" = {
disable-scroll = true;
@ -243,6 +243,27 @@
tooltip = true;
};
"custom/notification" = {
tooltip = false;
format = "{} {icon}";
"format-icons" = {
notification = "󱅫";
none = "";
"dnd-notification" = " ";
"dnd-none" = "󰂛";
"inhibited-notification" = " ";
"inhibited-none" = "";
"dnd-inhibited-notification" = " ";
"dnd-inhibited-none" = " ";
};
"return-type" = "json";
"exec-if" = "which swaync-client";
exec = "swaync-client -swb";
"on-click" = "sleep 0.1 && swaync-client -t -sw";
"on-click-right" = "sleep 0.1 && swaync-client -d -sw";
escape = true;
};
"custom/l_end" = {
format = " ";
interval = "once";
@ -404,7 +425,7 @@
#memory,
#mpris,
#network,
#custom-notifications,
#custom-notification,
#custom-power,
#pulseaudio,
#custom-spotify,

View File

@ -208,6 +208,7 @@ in
config.set('content.javascript.enabled', True, 'qute://*/*')
c.editor.command = ['${pkgs.kitty}/bin/kitty', '-e', 'nvim', '{}']
c.tabs.favicons.scale = 1.0
c.tabs.last_close = 'close'
c.tabs.position = 'top'

View File

@ -19,6 +19,7 @@
bat.enable = lib.mkDefault true;
btop.enable = lib.mkDefault true;
fzf.enable = lib.mkDefault true;
swaync.enable = true;
tmux.enable =
if config.program.tmux.enable
@ -32,6 +33,7 @@
kde.enable = true;
gtk.enable = true;
waybar = {
enable = true;
enableCenterBackColors = false;