Verified Commit c5300f1f authored by Gigadoc 2's avatar Gigadoc 2

use mod+shift+d for running shell commands

parent 4f0144e2
......@@ -39,9 +39,15 @@ set $term /usr/bin/systemd-run --user --scope -q \
# Launch applications through wofi, in a transient systemd scope.
set $menu /usr/bin/systemd-run --user --scope -q \
-p PartOf=graphical-session.target \
--unit="wofi-$(systemd-id128 new).scope" \
--unit="wofi-app-$(systemd-id128 new).scope" \
--description="sway-wofi-launched application" \
-- /usr/bin/wofi -S drun -i -t /usr/bin/konsole
# Same thing but for shell commands
set $run /usr/bin/systemd-run --user --scope -q \
-p PartOf=graphical-session.target \
--unit="wofi-sh-$(systemd-id128 new).scope" \
--description="sway-wofi-launched command" \
-- /usr/bin/wofi -S run -i
# Set up workspaces with names
set $ws1 1::sh
set $ws2 2:www
......@@ -168,9 +174,12 @@ font SF Pro Display 9
# kill focused window
bindsym $mod+Shift+q kill
# start your launcher
# start the app launcher
bindsym $mod+d exec $menu
# start the command launcher
bindsym $mod+Shift+d exec $run
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment