Compare commits

...

3 Commits

Author SHA1 Message Date
mandlm 650dbbe607
feat: add joplin 2024-01-21 21:49:48 +01:00
mandlm 048bb5e776
feat: use swayosd and function keys to toggle volume 2024-01-21 21:48:15 +01:00
mandlm 07c10ecd20
feat: reload kanshi on mod-shift-m 2024-01-21 21:47:34 +01:00
2 changed files with 12 additions and 1 deletions

View File

@ -58,6 +58,8 @@ in
]; ];
}; };
services.swayosd.enable = true;
wayland.windowManager.sway = { wayland.windowManager.sway = {
enable = true; enable = true;
@ -117,7 +119,14 @@ in
"${modifier}+Shift+o" = "exec xdg-open \"zoommtg://zoom.us/join?action=join&confno=4861587170&pwd=ZVk3aHphcWppY21ONjZOMVh6STN6dz09\""; "${modifier}+Shift+o" = "exec xdg-open \"zoommtg://zoom.us/join?action=join&confno=4861587170&pwd=ZVk3aHphcWppY21ONjZOMVh6STN6dz09\"";
"${modifier}+Shift+s" = "exec shotman --capture region --copy"; "${modifier}+Shift+s" = "exec shotman --capture region --copy";
"${modifier}+l" = "exec ${lock_command}"; "${modifier}+l" = "exec ${lock_command}";
"${modifier}+Shift+m" = "output DP-2 power off, output DP-3 power off, output DP-2 power on, output DP-3 power on"; "${modifier}+Shift+m" = "output '*' power off, output '*' power on, exec ${pkgs.kanshi}/bin/kanshictl reload";
"--release Caps_Lock" = "exec swayosd --caps-lock";
"XF86AudioRaiseVolume" = "exec swayosd --output-volume raise";
"XF86AudioLowerVolume" = "exec swayosd --output-volume lower";
"XF86AudioMute" = "exec swayosd --output-volume mute-toggle";
"XF86AudioMicMute" = "exec swayosd --input-volume mute-toggle";
}; };
assigns = { assigns = {

View File

@ -33,6 +33,8 @@
libreoffice libreoffice
gthumb gthumb
gimp gimp
joplin
joplin-desktop
]; ];
stateVersion = "22.05"; stateVersion = "22.05";