|
@@ -23,11 +23,9 @@ font pango:B612 12
|
|
|
|
|
|
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
|
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
|
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
|
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
|
-exec --no-startup-id clipster -d
|
|
|
|
|
|
+exec wl-paste --watch cliphist store
|
|
exec mako
|
|
exec mako
|
|
|
|
|
|
-bindsym $mod+c exec clipster -sp
|
|
|
|
-
|
|
|
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
|
floating_modifier $mod
|
|
floating_modifier $mod
|
|
|
|
|
|
@@ -41,12 +39,24 @@ bindsym $mod+Shift+q kill
|
|
bindsym $mod+d exec bemenu-run -l 10 -p --counter always -c -W 0.1 -B 10 \
|
|
bindsym $mod+d exec bemenu-run -l 10 -p --counter always -c -W 0.1 -B 10 \
|
|
--fixed-height --fn 'B612 11' \
|
|
--fixed-height --fn 'B612 11' \
|
|
--bdr "#323232" --tf "#FFFFFF" --hf "#FFFFFF"
|
|
--bdr "#323232" --tf "#FFFFFF" --hf "#FFFFFF"
|
|
|
|
+bindsym $mod+Shift+v exec cliphist list | bemenu -l 10 -p --counter always -c -W 0.1 -B 10 \
|
|
|
|
+ --fixed-height --fn 'B612 11' \
|
|
|
|
+ --bdr "#323232" --tf "#FFFFFF" --hf "#FFFFFF" \
|
|
|
|
+ | cliphist decode | wl-copy
|
|
|
|
+
|
|
|
|
+# Copy and paste
|
|
|
|
+bindsym $mod+v exec ~/.config/sway/scripts/contextual-paste.sh
|
|
|
|
+bindsym $mod+c exec ~/.config/sway/scripts/contextual-copy.sh
|
|
|
|
+
|
|
|
|
+# focus the parent container
|
|
|
|
+bindsym $mod+a exec wtype -M ctrl -k a -m ctrl
|
|
|
|
+
|
|
|
|
|
|
# change focus
|
|
# change focus
|
|
bindsym $mod+j focus left
|
|
bindsym $mod+j focus left
|
|
bindsym $mod+k focus down
|
|
bindsym $mod+k focus down
|
|
bindsym $mod+l focus up
|
|
bindsym $mod+l focus up
|
|
-bindsym $mod+semicolon focus right
|
|
|
|
|
|
+bindsym $mod+h focus right
|
|
|
|
|
|
# alternatively, you can use the cursor keys:
|
|
# alternatively, you can use the cursor keys:
|
|
bindsym $mod+Left focus left
|
|
bindsym $mod+Left focus left
|
|
@@ -66,13 +76,6 @@ bindsym $mod+Shift+Down move down
|
|
bindsym $mod+Shift+Up move up
|
|
bindsym $mod+Shift+Up move up
|
|
bindsym $mod+Shift+Right move right
|
|
bindsym $mod+Shift+Right move right
|
|
|
|
|
|
-# split in horizontal orientation
|
|
|
|
-bindsym $mod+h split h
|
|
|
|
-
|
|
|
|
-# split in vertical orientation
|
|
|
|
-bindsym $mod+v split v
|
|
|
|
-
|
|
|
|
-
|
|
|
|
# enter fullscreen mode for the focused container
|
|
# enter fullscreen mode for the focused container
|
|
bindsym $mod+f fullscreen toggle
|
|
bindsym $mod+f fullscreen toggle
|
|
|
|
|
|
@@ -87,9 +90,6 @@ bindsym $mod+Shift+space floating toggle
|
|
# change focus between tiling / floating windows
|
|
# change focus between tiling / floating windows
|
|
bindsym $mod+space focus mode_toggle
|
|
bindsym $mod+space focus mode_toggle
|
|
|
|
|
|
-# focus the parent container
|
|
|
|
-bindsym $mod+a focus parent
|
|
|
|
-
|
|
|
|
# Define names for default workspaces for which we configure key bindings later on.
|
|
# Define names for default workspaces for which we configure key bindings later on.
|
|
# We use variables to avoid repeating the names in multiple places.
|
|
# We use variables to avoid repeating the names in multiple places.
|
|
set $ws1 "1"
|
|
set $ws1 "1"
|