hyprland: add audio workspace, fix keybinds

This commit is contained in:
Charlie Root 2024-09-22 19:21:53 +02:00
commit 966b9f9942
5 changed files with 9 additions and 5 deletions

View file

@ -49,6 +49,7 @@ in {
# Toggle the three different special workspaces. # Toggle the three different special workspaces.
"$mainMod, N, togglespecialworkspace, nixos" "$mainMod, N, togglespecialworkspace, nixos"
"$mainMod, X, togglespecialworkspace, keepassxc" "$mainMod, X, togglespecialworkspace, keepassxc"
"$mainMod, V, togglespecialworkspace, audio"
# Reload hyprland # Reload hyprland
"$mainMod, R, exec, ${cfg.package}/bin/hyprctl reload" "$mainMod, R, exec, ${cfg.package}/bin/hyprctl reload"

View file

@ -20,7 +20,10 @@ in {
"[workspace special:nixos; silent;tile] ${pkgs.foot}/bin/foot -D ~/projects/nichts" "[workspace special:nixos; silent;tile] ${pkgs.foot}/bin/foot -D ~/projects/nichts"
"[workspace special:keepassxc; silent;tile] ${pkgs.keepassxc}/bin/keepassxc" "[workspace special:keepassxc; silent;tile] ${pkgs.keepassxc}/bin/keepassxc"
"[workspace special:audio; silent;tile] ${pkgs.pavucontrol}/bin/pavucontrol"
"[workspace special:audio; silent;tile] ${pkgs.pwvucontrol}/bin/pwvucontrol"
"${pkgs.swww}/bin/swww-daemon" "${pkgs.swww}/bin/swww-daemon"
"${pkgs.wlsunset}/bin/wlsunset -S 06:00 -s 20:00" "${pkgs.wlsunset}/bin/wlsunset -S 06:00 -s 20:00"

View file

@ -6,7 +6,7 @@
... ...
}: let }: let
cfg = config.modules.usrEnv.desktops.hyprland; cfg = config.modules.usrEnv.desktops.hyprland;
inherit (config.modules.other.system) username; inherit (config.meta.mainUser) username;
inherit inherit
(inputs'.split-monitor-workspaces.packages) (inputs'.split-monitor-workspaces.packages)
split-monitor-workspaces split-monitor-workspaces
@ -39,7 +39,7 @@ in {
cfg.portalPackage cfg.portalPackage
]; ];
config = { config = {
common.default = ["hyprland"]; common.default = ["gtk" "hyprland"];
}; };
}; };

View file

@ -51,8 +51,7 @@ in {
gaps_out = 0; gaps_out = 0;
border_size = 2; border_size = 2;
"col.active_border" = "0xff${colors.base07}";
"col.active_border" = "0xff${colors.base07}";
no_border_on_floating = true; no_border_on_floating = true;
}; };

View file

@ -3,7 +3,7 @@
lib, lib,
... ...
}: let }: let
inherit (config.modules.other.system) username; inherit (config.meta.mainUser) username;
inherit (config.modules.system.hardware) monitors; inherit (config.modules.system.hardware) monitors;
inherit (lib) imap0 flatten optionalString; inherit (lib) imap0 flatten optionalString;
inherit (builtins) map genList attrNames toString; inherit (builtins) map genList attrNames toString;
@ -50,6 +50,7 @@ in {
++ [ ++ [
"special:nixos, decorate:false" "special:nixos, decorate:false"
"special:keepassxc, decorate:false" "special:keepassxc, decorate:false"
"special:audio, decorate:false"
]; ];
}; };
}; };