2026-03-10 21:05:35 +01:00
|
|
|
{ pkgs }:
|
|
|
|
|
let
|
|
|
|
|
swaymsg = "${pkgs.sway}/bin/swaymsg";
|
2026-05-24 17:15:28 +02:00
|
|
|
systemNotify = pkgs.writeShellApplication {
|
|
|
|
|
name = "system-notify";
|
|
|
|
|
runtimeInputs = [
|
|
|
|
|
pkgs.coreutils
|
|
|
|
|
pkgs.libnotify
|
|
|
|
|
pkgs.util-linux
|
|
|
|
|
];
|
|
|
|
|
text = builtins.readFile ../util/system_notify.sh;
|
|
|
|
|
};
|
2026-03-10 21:05:35 +01:00
|
|
|
in
|
|
|
|
|
{
|
|
|
|
|
uwsm = "${pkgs.uwsm}/bin/uwsm-app --";
|
|
|
|
|
inherit swaymsg;
|
|
|
|
|
|
|
|
|
|
lock = "${pkgs.swaylock}/bin/swaylock --daemonize";
|
|
|
|
|
term = "${pkgs.foot}/bin/footclient";
|
|
|
|
|
notify = "${pkgs.libnotify}/bin/notify-send";
|
2026-05-24 17:15:28 +02:00
|
|
|
"system-notify" = "${systemNotify}/bin/system-notify";
|
2026-03-10 21:05:35 +01:00
|
|
|
nag = "${pkgs.sway}/bin/swaynag --edge bottom";
|
|
|
|
|
dmenu = "${pkgs.rofi-unwrapped}/bin/rofi";
|
|
|
|
|
espanso = "${pkgs.espanso-wayland}/bin/espanso cmd";
|
|
|
|
|
|
|
|
|
|
display = status: "${swaymsg} 'output * power ${status}'";
|
2026-03-18 09:49:43 +01:00
|
|
|
|
|
|
|
|
#Keys
|
|
|
|
|
key_mod = "Mod4";
|
|
|
|
|
key_mod_misc = "Alt";
|
|
|
|
|
key_left = "Left";
|
|
|
|
|
key_right = "Right";
|
|
|
|
|
key_up = "Up";
|
|
|
|
|
key_down = "Down";
|
2026-03-10 21:05:35 +01:00
|
|
|
} # end file
|