Waybar touchup, remove Gnome Keyring

This commit is contained in:
Bun 2025-05-06 08:47:36 -04:00
parent 51a7429775
commit 4fd8327291
5 changed files with 6 additions and 34 deletions

View file

@ -2,7 +2,6 @@
{ {
imports = [ imports = [
./easyeffects ./easyeffects
./gnome-keyring
./impermanence ./impermanence
./mpd ./mpd
./playerctl ./playerctl

View file

@ -1,7 +0,0 @@
{ config, lib, ... }:
{
config = lib.mkIf config.home.desktop.enable {
services.gnome-keyring.enable = true;
home.persistence."/persist${config.home.homeDirectory}".directories = [ ".local/share/keyrings" ];
};
}

View file

@ -1,12 +1,12 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
programs.waybar = let programs.waybar = let
swayWorkspaceModule = { workspaceModule = {
format = "{name}"; format = "{name}";
sort-by-number = true;
enable-bar-scroll = true; enable-bar-scroll = true;
warp-on-scroll = false;
disable-scroll-wraparound = true; disable-scroll-wraparound = true;
numeric-first = true;
warp-on-scroll = false;
}; };
windowModule = { windowModule = {
@ -36,10 +36,7 @@
on-click = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; on-click = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
on-click-middle = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 100%"; on-click-middle = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 100%";
on-click-right = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 60%"; on-click-right = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 60%";
ignored-sinks = [ ignored-sinks = [ "Easy Effects Sink" ];
"Easy Effects Sink"
"USB FS AUDIO Analog Stereo"
];
}; };
# Monitoring # Monitoring
@ -228,10 +225,6 @@
modules-left = [ modules-left = [
"sway/workspaces" "sway/workspaces"
"sway/window" "sway/window"
"niri/workspaces"
"niri/window"
"hyprland/workspaces"
"hyprland/window"
]; ];
modules-right = [ modules-right = [
"pulseaudio" "pulseaudio"
@ -251,10 +244,8 @@
"bluetooth" "bluetooth"
"network" "network"
]; ];
"sway/workspaces" = swayWorkspaceModule; "sway/workspaces" = workspaceModule;
"sway/window" = windowModule; "sway/window" = windowModule;
"niri/window" = windowModule;
"hyprland/window" = windowModule;
"pulseaudio" = pulseModule; "pulseaudio" = pulseModule;
"mpd" = mpdModule; "mpd" = mpdModule;
"custom/notifs" = notificationModule; "custom/notifs" = notificationModule;
@ -284,10 +275,6 @@
modules-left = [ modules-left = [
"sway/workspaces" "sway/workspaces"
"sway/window" "sway/window"
"niri/workspaces"
"niri/window"
"hyprland/workspaces"
"hyprland/window"
]; ];
modules-right = [ modules-right = [
"pulseaudio" "pulseaudio"
@ -296,10 +283,8 @@
"custom/vram" "custom/vram"
"clock" "clock"
]; ];
"sway/workspaces" = swayWorkspaceModule; "sway/workspaces" = workspaceModule;
"sway/window" = windowModule; "sway/window" = windowModule;
"niri/window" = windowModule;
"hyprland/window" = windowModule;
"pulseaudio" = pulseModule; "pulseaudio" = pulseModule;
"mpd" = mpdModule; "mpd" = mpdModule;
"custom/notifs" = notificationModule; "custom/notifs" = notificationModule;

View file

@ -2,7 +2,6 @@
{ {
imports = [ imports = [
./displaymanager ./displaymanager
./gnome-keyring
./keyd ./keyd
./libvirtd ./libvirtd
./portals ./portals

View file

@ -1,4 +0,0 @@
{ config, ... }:
{
services.gnome.gnome-keyring.enable = config.system.desktop.enable;
}