diff --git a/home/gui/sway.nix b/home/gui/sway.nix index 1f0ba3b..bdcac7c 100644 --- a/home/gui/sway.nix +++ b/home/gui/sway.nix @@ -14,8 +14,7 @@ set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo set $lock /home/don/bin/lock.sh - exec_always sway-audio-idle-inhibit - exec swayidle -w \ + exec ${pkgs.swayidle}/bin/swayidle -w \ timeout 300 $lock \ timeout 360 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' \ @@ -67,16 +66,16 @@ bindsym $mod+Shift+q kill # start dmenu (a program launcher) - set $menu_command fuzzel + set $menu_command ${pkgs.fuzzel}/bin/fuzzel set $bemenu_options -i --nb "#3f3f3f" --nf "#dcdccc" -fn "pango:JetBrains Mono 8" - set $menu dmenu-wl_path | bemenu $bemenu_options| xargs swaymsg exec -- + set $menu ${pkgs.dmenu-wayland}/bin/dmenu-wl_path | ${pkgs.bemenu}/bin/bemenu $bemenu_options| xargs swaymsg exec -- bindsym $mod+Shift+d exec $menu # Screenshots: - bindsym Mod4+p exec grimshot --notify save active # Current window - bindsym Mod4+Shift+p exec grimshot --notify save area # Select area - bindsym Mod4+Mod1+p exec grimshot --notify save output # Current output - bindsym Mod4+Ctrl+p exec grimshot --notify save window # Select a window + bindsym Mod4+p exec ${pkgs.sway-contrib.grimshot}/bin/grimshot --notify save active # Current window + bindsym Mod4+Shift+p exec ${pkgs.sway-contrib.grimshot}/bin/grimshot --notify save area # Select area + bindsym Mod4+Mod1+p exec ${pkgs.sway-contrib.grimshot}/bin/grimshot --notify save output # Current output + bindsym Mod4+Ctrl+p exec ${pkgs.sway-contrib.grimshot}/bin/grimshot --notify save window # Select a window # rofi app and window launchers bindsym $mod+p exec --no-startup-id $menu @@ -305,24 +304,24 @@ client.background #F8F8F2 exec ${pkgs.pasystray}/bin/pasystray - exec_always keyctl link @u @s + exec_always ${pkgs.keyutils}/bin/keyctl link @u @s exec ${pkgs.shikane}/bin/shikane exec ${pkgs.wayland-pipewire-idle-inhibit}/bin/wayland-pipewire-idle-inhibit - exec_always shikanectl reload - exec kitty -o initial_window_width=40c -o initial_window_height=30c --title ttmenu -e ttmenu-loop + exec_always ${pkgs.shikane}/bin/shikanectl reload + exec ${pkgs.kitty}/bin/kitty -o initial_window_width=40c -o initial_window_height=30c --title ttmenu -e ttmenu-loop seat * hide_cursor 8000 - exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK - exec dbus-update-activation-environment --all 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK - exec --no-startup-id udiskie - exec wl-paste -t text --watch clipman store - exec configure-gtk - exec dovideo.sh - exec auto-start - exec swaync - exec nm-applet + exec ${pkgs.systemd}/bin/systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK + exec ${pkgs.dbus}/bin/dbus-update-activation-environment --all 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK + exec ${pkgs.udiskie}/bin/udiskie + exec ${pkgs.wl-clipboard}/bin/wl-paste -t text --watch clipman store + exec ~/bin/configure-gtk + exec ~/bin/dovideo.sh + exec ~/bin/auto-start + exec ${pkgs.swaynotificationcenter}/bin/swaync + exec ${pkgs.networkmanagerapplet}/bin/nm-applet exec ${pkgs.kdePackages.kdeconnect-kde}/bin/kdeconnect-indicator - exec myweb - exec myterm + exec ~/bin/myweb + exec ~/bin/myterm exec ${pkgs.headset-charge-indicator}/bin/headset-charge-indicator.py exec ${pkgs.wlsunset}/bin/wlsunset -l 29.7 -L -95.8 exec ${pkgs.blueberry}/bin/blueberry-tray