aboutsummaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
authorbozo.kopic <bozo.kopic@gmail.com>2015-05-12 21:18:32 +0200
committerbozo.kopic <bozo.kopic@gmail.com>2020-02-26 00:33:29 +0100
commit1e263266388c0b6cd39e09d81513e32aedc4268c (patch)
tree129f9d7620892ff9eb50f3738ff38de9155b76d1 /i3
.
Diffstat (limited to 'i3')
-rw-r--r--i3/config125
1 files changed, 125 insertions, 0 deletions
diff --git a/i3/config b/i3/config
new file mode 100644
index 0000000..c16834a
--- /dev/null
+++ b/i3/config
@@ -0,0 +1,125 @@
+
+set $mod Mod4
+set $ws1 "1"
+set $ws2 "2"
+set $ws3 "3"
+set $ws4 "4"
+set $wsa "a"
+set $wss "s"
+set $wsd "d"
+set $wsf "f"
+
+floating_modifier $mod
+font pango:Droid Sans 11
+default_border normal 3
+
+workspace $ws1 output primary
+workspace $ws2 output primary
+workspace $ws3 output primary
+workspace $ws4 output primary
+workspace $wsa output DP1-1 DP1-2 DP1 primary
+workspace $wss output DP1-1 DP1-2 DP1 primary
+workspace $wsd output DP1-1 DP1-2 DP1 primary
+workspace $wsf output DP1-1 DP1-2 DP1 primary
+
+
+bindsym $mod+Return exec alacritty
+bindsym $mod+space exec --no-startup-id rofi -show drun
+bindsym $mod+backslash split h
+bindsym $mod+minus split v
+#bindsym $mod+s layout stacking
+#bindsym $mod+w layout tabbed
+bindsym $mod+Tab layout toggle split
+bindsym $mod+p focus parent
+#bindsym $mod+d focus child
+bindsym $mod+r mode "resize"
+
+bindsym $mod+Shift+r restart
+bindsym $mod+Shift+e exit
+bindsym $mod+Shift+q kill
+bindsym $mod+Shift+space floating toggle
+bindsym $mod+Shift+Return fullscreen toggle
+
+
+bindsym $mod+h focus left
+bindsym $mod+j focus down
+bindsym $mod+k focus up
+bindsym $mod+l focus right
+
+bindsym $mod+Left focus left
+bindsym $mod+Down focus down
+bindsym $mod+Up focus up
+bindsym $mod+Right focus right
+
+bindsym $mod+Shift+h move left
+bindsym $mod+Shift+j move down
+bindsym $mod+Shift+k move up
+bindsym $mod+Shift+l move right
+
+bindsym $mod+Shift+Left move left
+bindsym $mod+Shift+Down move down
+bindsym $mod+Shift+Up move up
+bindsym $mod+Shift+Right move right
+
+
+bindsym $mod+1 workspace $ws1
+bindsym $mod+2 workspace $ws2
+bindsym $mod+3 workspace $ws3
+bindsym $mod+4 workspace $ws4
+bindsym $mod+a workspace $wsa
+bindsym $mod+s workspace $wss
+bindsym $mod+d workspace $wsd
+bindsym $mod+f workspace $wsf
+
+bindsym $mod+Shift+1 move container to workspace $ws1
+bindsym $mod+Shift+2 move container to workspace $ws2
+bindsym $mod+Shift+3 move container to workspace $ws3
+bindsym $mod+Shift+4 move container to workspace $ws4
+bindsym $mod+Shift+a move container to workspace $wsa
+bindsym $mod+Shift+s move container to workspace $wss
+bindsym $mod+Shift+d move container to workspace $wsd
+bindsym $mod+Shift+f move container to workspace $wsf
+
+
+mode "resize" {
+ bindsym h resize shrink width 10 px or 10 ppt
+ bindsym j resize grow height 10 px or 10 ppt
+ bindsym k resize shrink height 10 px or 10 ppt
+ bindsym l resize grow width 10 px or 10 ppt
+
+ bindsym Left resize shrink width 10 px or 10 ppt
+ bindsym Down resize grow height 10 px or 10 ppt
+ bindsym Up resize shrink height 10 px or 10 ppt
+ bindsym Right resize grow width 10 px or 10 ppt
+
+ bindsym Return mode "default"
+ bindsym Escape mode "default"
+ bindsym $mod+r mode "default"
+}
+
+
+bar {
+ status_command py3status
+ tray_output primary
+ font pango:Font Awesome 5 Free, Font Awesome 5 Brands, Droid Sans Mono 12
+}
+
+
+# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
+# screen before suspend. Use loginctl lock-session to lock your screen.
+#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
+
+# picom
+exec --no-startup-id picom
+
+# background
+exec_always --no-startup-id feh --bg-scale ~/.dotfiles/pictures/bg1.jpg \
+ ~/.dotfiles/pictures/bg2.jpg
+
+# terminal
+exec --no-startup-id alacritty --class scratchpad_term -e tmux new-session -A -s default
+for_window [instance="scratchpad_term"] move scratchpad
+bindsym F12 [instance="scratchpad_term"] scratchpad show, \
+ resize set 100 ppt 100 ppt, \
+ resize shrink height 30 px, \
+ move position center