From 012e00112cfbeee75473c62c8e2b7b266d0a1eab Mon Sep 17 00:00:00 2001 From: Alexander Kassouni Date: Fri, 9 Oct 2026 22:35:08 -0700 Subject: drop x11 config --- users/kassouni/desktop/xmonad/xbindkeys.nix | 32 ----------------------------- 1 file changed, 32 deletions(-) delete mode 100644 users/kassouni/desktop/xmonad/xbindkeys.nix (limited to 'users/kassouni/desktop/xmonad/xbindkeys.nix') diff --git a/users/kassouni/desktop/xmonad/xbindkeys.nix b/users/kassouni/desktop/xmonad/xbindkeys.nix deleted file mode 100644 index 41ef7ed..0000000 --- a/users/kassouni/desktop/xmonad/xbindkeys.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ pkgs, ... }: -let - wpctl = "${pkgs.wireplumber}/bin/wpctl"; - - xbindkeysrc = pkgs.writeText "xbindkeysrc" '' - "${wpctl} set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+" - XF86AudioRaiseVolume - - "${wpctl} set-volume @DEFAULT_AUDIO_SINK@ 5%-" - XF86AudioLowerVolume - - "${wpctl} set-mute @DEFAULT_AUDIO_SINK@ toggle" - XF86AudioMute - ''; -in -{ - systemd.user.services.xbindkeys = { - Unit = { - Description = "xbindkeys"; - PartOf = [ "graphical-session.target" ]; - After = [ "graphical-session.target" ]; - }; - - Service = { - # -n keeps it in the foreground so systemd can supervise it - ExecStart = "${pkgs.xbindkeys}/bin/xbindkeys -n -f ${xbindkeysrc}"; - Restart = "on-failure"; - }; - - Install.WantedBy = [ "graphical-session.target" ]; - }; -} -- cgit v1.3.1