summaryrefslogtreecommitdiff
path: root/i3/config
diff options
context:
space:
mode:
Diffstat (limited to 'i3/config')
-rw-r--r--i3/config41
1 files changed, 26 insertions, 15 deletions
diff --git a/i3/config b/i3/config
index f728aec..75330d5 100644
--- a/i3/config
+++ b/i3/config
@@ -1,14 +1,11 @@
-# This file has been auto-generated by i3-config-wizard(1).
-# It will not be overwritten, so edit it as you like.
-#
-# Should you change your keyboard layout some time, delete
-# this file and re-run i3-config-wizard(1).
-#
-
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
+
+# --- basics --------------------------------------------------------------------------------------
+
+
set $mod Mod4
font pango:DejaVu Sans Mono 10
@@ -23,14 +20,24 @@ bindsym $mod+Return exec xterm
# kill focused window
bindsym $mod+Shift+q kill
-# start dmenu (a program launcher)
-#bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --dmenu="dmenu -i -nb '#373b41' -sb '#373b41' -sf '#f0c67i4'"
+# launcher
bindsym $mod+d exec rofi -show run -hide-scrollbar -separator-style "solid"
# i3lock
bindsym $mod+l exec ~/.config/i3/lock.sh
exec xautolock -time 15 -locker '~/.config/i3/lock.sh'
+# reload the configuration file
+bindsym $mod+Shift+c reload
+# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
+bindsym $mod+Shift+r restart
+# exit i3 (logs you out of your X session)
+bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
+
+
+# --- navigation ----------------------------------------------------------------------------------
+
+
# change focus
#bindsym $mod+j focus left
#bindsym $mod+k focus down
@@ -105,12 +112,6 @@ bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10
-# reload the configuration file
-bindsym $mod+Shift+c reload
-# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
-bindsym $mod+Shift+r restart
-# exit i3 (logs you out of your X session)
-bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
@@ -138,6 +139,10 @@ mode "resize" {
bindsym $mod+r mode "resize"
+
+# --- theme ---------------------------------------------------------------------------------------
+
+
# colors --- https://github.com/chriskempson/tomorrow-theme
set $background #1d1f21
set $current #282a2e
@@ -173,3 +178,9 @@ gaps outer 0
smart_gaps on
for_window [class="^.*"] border pixel 5
hide_edge_borders both
+
+
+# --- software ------------------------------------------------------------------------------------
+
+
+exec insync start \ No newline at end of file