summaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-02-16 13:03:09 +0100
committerJulian T <julian@jtle.dk>2020-02-16 13:03:09 +0100
commit108018b8d55449a0e8cd36a0d762bc41679fc208 (patch)
tree9c05a06e6056ae96470acd2ca8a6b3c4be94835e /i3
parent78c9d951691871db14ae6b30c100ed3599af8198 (diff)
Changed i3 config and xmodmap
Superkey and alt is swapped by xmodmap and i3 will listen on super instead of alt. This makes window switching work the same but programs relying on alt will also work.
Diffstat (limited to 'i3')
-rw-r--r--i3/.config/i3/config11
1 files changed, 8 insertions, 3 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index ed66285..560eab8 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -9,7 +9,11 @@
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
-set $mod Mod1
+# Gaps
+gaps inner 10
+smart_gaps on
+
+set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
@@ -36,7 +40,7 @@ bindsym $mod+i exec --no-startup-id i3-sensible-terminal
bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
-bindsym $mod+d exec rofi -show run
+bindsym $mod+d exec rofi -show drun
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
@@ -90,7 +94,7 @@ bindsym $mod+space focus mode_toggle
bindsym $mod+a focus parent
# focus the child container
-#bindsym $mod+d focus child
+bindsym $mod+c focus child
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
@@ -157,6 +161,7 @@ bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle
# launch script thingy
bindsym $mod+semicolon exec --no-startup-id Scripts/lc --dmenu
+bindsym $mod+Shift+i exec --no-startup-id Scripts/lc common
# default app workspaces
assign [class="qutebrowser"] $ws9