hosts/dunamis/users/user/programs.nix: add pueue

modules/home/desktop/niri/default.nix: add wpctl volume limit
modules/home/programs/shell/fish.nix: add aliases

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-03-26 14:00:33 +02:00
parent f5e63bf1ca
commit 453fdd779e
3 changed files with 13 additions and 5 deletions

View File

@ -9,6 +9,7 @@
stylix.targets.fzf.enable = false; stylix.targets.fzf.enable = false;
services.ssh-agent.enable = true; services.ssh-agent.enable = true;
services.pueue.enable = true;
syncthing.enable = true; syncthing.enable = true;

View File

@ -635,8 +635,8 @@ in {
Ctrl+Print { screenshot-screen; } Ctrl+Print { screenshot-screen; }
Shift+Print { screenshot-window; } Shift+Print { screenshot-window; }
XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.05+"; } XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "-l" "1.0" "@DEFAULT_AUDIO_SINK@" "5%+"; }
XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.05-"; } XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "-l" "1.0" "@DEFAULT_AUDIO_SINK@" "5%-"; }
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; } XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; } XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
XF86AudioPlay allow-when-locked=true { spawn "playerctl" "play-pause"; } XF86AudioPlay allow-when-locked=true { spawn "playerctl" "play-pause"; }

View File

@ -32,11 +32,18 @@ in {
fish = { fish = {
enable = true; enable = true;
shellAliases = { shellAliases = {
cd = "z";
# cat = "bat"; # cat = "bat";
la = "ls -a"; cd = "z";
l = "ls -la"; ed = "$EDITOR";
jf = "jj-fzf"; # think of jeff jf = "jj-fzf"; # think of jeff
l = "ls -lah";
la = "ls -ah";
ll = "ls -lh";
s = "systemctl";
p = "pueue";
};
shellAbbrs = {
pa = "pueue add --";
}; };
interactiveShellInit = '' interactiveShellInit = ''
bind \e\[3\;5~ kill-word bind \e\[3\;5~ kill-word