sway | switch launcher

This commit is contained in:
Don Harper 2025-01-12 00:18:03 -06:00
parent 1ba1d64d33
commit dca563ecd5
8 changed files with 22 additions and 23 deletions

View file

@ -8,7 +8,7 @@ in {
imports = [ imports = [
./alacritty.nix ./alacritty.nix
./autostart.nix ./autostart.nix
./fuzzel.nix # ./fuzzel.nix
./kde.nix ./kde.nix
./mpv.nix ./mpv.nix
./redshift.nix ./redshift.nix

View file

@ -4,6 +4,7 @@ set $terminal_path /home/don/bin/mynewterm
set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo
set $lock /home/don/bin/lock.sh set $lock /home/don/bin/lock.sh
exec_always sway-audio-idle-inhibit
exec swayidle -w \ exec swayidle -w \
timeout 300 $lock \ timeout 300 $lock \
timeout 360 'swaymsg "output * dpms off"' \ timeout 360 'swaymsg "output * dpms off"' \
@ -65,7 +66,7 @@ set $menu dmenu-wl_path | bemenu $bemenu_options| xargs swaymsg exec --
bindsym $mod+Shift+d exec $menu bindsym $mod+Shift+d exec $menu
# rofi app and window launchers # rofi app and window launchers
bindsym $mod+p exec $menu_command bindsym $mod+p exec --no-startup-id $menu
bindsym menu exec $menu_command bindsym menu exec $menu_command
bindsym $mod+Shift+w exec dwifi bindsym $mod+Shift+w exec dwifi
bindsym $mod+d exec --no-startup-id $menu bindsym $mod+d exec --no-startup-id $menu
@ -339,8 +340,6 @@ exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec --no-startup-id udiskie --tray exec --no-startup-id udiskie --tray
exec --no-startup-id gnome-flashback
exec --no-startup-id dbus-send --session --print-reply=literal --dest=org.gnome.SessionManager "/org/gnome/SessionManager" org.gnome.SessionManager.RegisterClient "string:sway" "string:$DESKTOP_AUTOSTART_ID"
exec wl-paste -t text --watch clipman store exec wl-paste -t text --watch clipman store
exec configure-gtk exec configure-gtk
exec sonixd exec sonixd

View file

@ -4,6 +4,7 @@ set $terminal_path /home/don/bin/mynewterm
set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo
set $lock /home/don/bin/lock.sh set $lock /home/don/bin/lock.sh
exec_always sway-audio-idle-inhibit
exec swayidle -w \ exec swayidle -w \
timeout 300 $lock \ timeout 300 $lock \
timeout 360 'swaymsg "output * dpms off"' \ timeout 360 'swaymsg "output * dpms off"' \
@ -65,7 +66,7 @@ set $menu dmenu-wl_path | bemenu $bemenu_options| xargs swaymsg exec --
bindsym $mod+Shift+d exec $menu bindsym $mod+Shift+d exec $menu
# rofi app and window launchers # rofi app and window launchers
bindsym $mod+p exec $menu_command bindsym $mod+p exec --no-startup-id $menu
bindsym menu exec $menu_command bindsym menu exec $menu_command
bindsym $mod+Shift+w exec dwifi bindsym $mod+Shift+w exec dwifi
bindsym $mod+d exec --no-startup-id $menu bindsym $mod+d exec --no-startup-id $menu
@ -336,9 +337,9 @@ exec_always shikanectl reload
exec kitty --title ttmenu -e ttmenu-loop exec kitty --title ttmenu -e ttmenu-loop
seat * hide_cursor 8000 seat * hide_cursor 8000
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec udiskie --tray exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec dbus-send --session --print-reply=literal --dest=org.gnome.SessionManager "/org/gnome/SessionManager" org.gnome.SessionManager.RegisterClient "string:sway" "string:$DESKTOP_AUTOSTART_ID" exec --no-startup-id udiskie --tray
exec wl-paste -t text --watch clipman store exec wl-paste -t text --watch clipman store
exec configure-gtk exec configure-gtk
exec sonixd exec sonixd

View file

@ -4,6 +4,7 @@ set $terminal_path /home/don/bin/mynewterm
set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo
set $lock /home/don/bin/lock.sh set $lock /home/don/bin/lock.sh
exec_always sway-audio-idle-inhibit
exec swayidle -w \ exec swayidle -w \
timeout 300 $lock \ timeout 300 $lock \
timeout 360 'swaymsg "output * dpms off"' \ timeout 360 'swaymsg "output * dpms off"' \
@ -65,7 +66,7 @@ set $menu dmenu-wl_path | bemenu $bemenu_options| xargs swaymsg exec --
bindsym $mod+Shift+d exec $menu bindsym $mod+Shift+d exec $menu
# rofi app and window launchers # rofi app and window launchers
bindsym $mod+p exec $menu_command bindsym $mod+p exec --no-startup-id $menu
bindsym menu exec $menu_command bindsym menu exec $menu_command
bindsym $mod+Shift+w exec dwifi bindsym $mod+Shift+w exec dwifi
bindsym $mod+d exec --no-startup-id $menu bindsym $mod+d exec --no-startup-id $menu
@ -336,9 +337,9 @@ exec_always shikanectl reload
exec kitty --title ttmenu -e ttmenu-loop exec kitty --title ttmenu -e ttmenu-loop
seat * hide_cursor 8000 seat * hide_cursor 8000
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec udiskie --tray exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec dbus-send --session --print-reply=literal --dest=org.gnome.SessionManager "/org/gnome/SessionManager" org.gnome.SessionManager.RegisterClient "string:sway" "string:$DESKTOP_AUTOSTART_ID" exec --no-startup-id udiskie --tray
exec wl-paste -t text --watch clipman store exec wl-paste -t text --watch clipman store
exec configure-gtk exec configure-gtk
exec sonixd exec sonixd

View file

@ -66,7 +66,7 @@ set $menu dmenu-wl_path | bemenu $bemenu_options| xargs swaymsg exec --
bindsym $mod+Shift+d exec $menu bindsym $mod+Shift+d exec $menu
# rofi app and window launchers # rofi app and window launchers
bindsym $mod+p exec $menu_command bindsym $mod+p exec --no-startup-id $menu
bindsym menu exec $menu_command bindsym menu exec $menu_command
bindsym $mod+Shift+w exec dwifi bindsym $mod+Shift+w exec dwifi
bindsym $mod+d exec --no-startup-id $menu bindsym $mod+d exec --no-startup-id $menu

View file

@ -4,6 +4,7 @@ set $terminal_path /home/don/bin/mynewterm
set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo
set $lock /home/don/bin/lock.sh set $lock /home/don/bin/lock.sh
exec_always sway-audio-idle-inhibit
exec swayidle -w \ exec swayidle -w \
timeout 300 $lock \ timeout 300 $lock \
timeout 360 'swaymsg "output * dpms off"' \ timeout 360 'swaymsg "output * dpms off"' \
@ -65,7 +66,7 @@ set $menu dmenu-wl_path | bemenu $bemenu_options| xargs swaymsg exec --
bindsym $mod+Shift+d exec $menu bindsym $mod+Shift+d exec $menu
# rofi app and window launchers # rofi app and window launchers
bindsym $mod+p exec $menu_command bindsym $mod+p exec --no-startup-id $menu
bindsym menu exec $menu_command bindsym menu exec $menu_command
bindsym $mod+Shift+w exec dwifi bindsym $mod+Shift+w exec dwifi
bindsym $mod+d exec --no-startup-id $menu bindsym $mod+d exec --no-startup-id $menu
@ -336,9 +337,9 @@ exec_always shikanectl reload
exec kitty --title ttmenu -e ttmenu-loop exec kitty --title ttmenu -e ttmenu-loop
seat * hide_cursor 8000 seat * hide_cursor 8000
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec udiskie --tray exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec dbus-send --session --print-reply=literal --dest=org.gnome.SessionManager "/org/gnome/SessionManager" org.gnome.SessionManager.RegisterClient "string:sway" "string:$DESKTOP_AUTOSTART_ID" exec --no-startup-id udiskie --tray
exec wl-paste -t text --watch clipman store exec wl-paste -t text --watch clipman store
exec configure-gtk exec configure-gtk
exec sonixd exec sonixd

View file

@ -4,6 +4,7 @@ set $terminal_path /home/don/bin/mynewterm
set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo
set $lock /home/don/bin/lock.sh set $lock /home/don/bin/lock.sh
exec_always sway-audio-idle-inhibit
exec swayidle -w \ exec swayidle -w \
timeout 300 $lock \ timeout 300 $lock \
timeout 360 'swaymsg "output * dpms off"' \ timeout 360 'swaymsg "output * dpms off"' \
@ -65,7 +66,7 @@ set $menu dmenu-wl_path | bemenu $bemenu_options| xargs swaymsg exec --
bindsym $mod+Shift+d exec $menu bindsym $mod+Shift+d exec $menu
# rofi app and window launchers # rofi app and window launchers
bindsym $mod+p exec $menu_command bindsym $mod+p exec --no-startup-id $menu
bindsym menu exec $menu_command bindsym menu exec $menu_command
bindsym $mod+Shift+w exec dwifi bindsym $mod+Shift+w exec dwifi
bindsym $mod+d exec --no-startup-id $menu bindsym $mod+d exec --no-startup-id $menu
@ -339,8 +340,6 @@ exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec --no-startup-id udiskie --tray exec --no-startup-id udiskie --tray
exec --no-startup-id gnome-flashback
exec --no-startup-id dbus-send --session --print-reply=literal --dest=org.gnome.SessionManager "/org/gnome/SessionManager" org.gnome.SessionManager.RegisterClient "string:sway" "string:$DESKTOP_AUTOSTART_ID"
exec wl-paste -t text --watch clipman store exec wl-paste -t text --watch clipman store
exec configure-gtk exec configure-gtk
exec sonixd exec sonixd

View file

@ -68,7 +68,7 @@ set $menu dmenu-wl_path | bemenu $bemenu_options| xargs swaymsg exec --
bindsym $mod+Shift+d exec $menu bindsym $mod+Shift+d exec $menu
# rofi app and window launchers # rofi app and window launchers
bindsym $mod+p exec $menu_command bindsym $mod+p exec --no-startup-id $menu
bindsym menu exec $menu_command bindsym menu exec $menu_command
bindsym $mod+Shift+w exec dwifi bindsym $mod+Shift+w exec dwifi
bindsym $mod+d exec --no-startup-id $menu bindsym $mod+d exec --no-startup-id $menu
@ -342,8 +342,6 @@ exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec --no-startup-id udiskie --tray exec --no-startup-id udiskie --tray
exec --no-startup-id gnome-flashback
exec --no-startup-id dbus-send --session --print-reply=literal --dest=org.gnome.SessionManager "/org/gnome/SessionManager" org.gnome.SessionManager.RegisterClient "string:sway" "string:$DESKTOP_AUTOSTART_ID"
exec wl-paste -t text --watch clipman store exec wl-paste -t text --watch clipman store
exec configure-gtk exec configure-gtk
exec sonixd exec sonixd