config (5806B)
1 # This file has been auto-generated by i3-config-wizard(1). 2 # It will not be overwritten, so edit it as you like. 3 # 4 # Should you change your keyboard layout somewhen, delete 5 # this file and re-run i3-config-wizard(1). 6 # 7 8 # i3 config file (v4) 9 # 10 # Please see http://i3wm.org/docs/userguide.html for a complete reference! 11 12 # exec compton -CGb 13 14 set $mod Mod4 15 16 # font for window titles. ISO 10646 = Unicode 17 #font -*-Terminus*-*-*-*-*-*-*-*-*-*-*-* 18 #font Terminus 10 19 font Inconsolata 10 20 #font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 21 22 client.background #000000 23 24 # Use Mouse+$mod to drag floating windows to their wanted position 25 floating_modifier $mod 26 27 focus_follows_mouse yes 28 29 #bindsym $mod+shift+Return exec "~/bin/urxvtcdfont" 30 bindsym $mod+Return exec gnome-terminal 31 #bindsym $mod+Return exec "urxvtpwd ~/bin/urxvtcdfont" 32 bindsym $mod+b exec "~/bin/sandboxed-browser" 33 bindsym $mod+o exec "gnome-terminal -e ~/bin/my-mutt" 34 bindsym $mod+i exec "gnome-terminal -e ~/bin_private/weechat" 35 bindsym $mod+Shift+t exec "~/bin/screenshot_sway" 36 bindsym $mod+Shift+s exec ~/bin/xpass 37 bindsym $mod+Shift+y exec ~/bin/my-rofi -show ssh 38 bindsym $mod+Shift+f exec ~/bin/xpapers 39 bindsym $mod+y [urgent=latest] focus 40 41 bindsym $mod+Shift+a move container to workspace back_and_forth; workspace back_and_forth 42 43 workspace_auto_back_and_forth yes 44 45 # kill focused window 46 bindsym $mod+Shift+c kill 47 bindsym $mod+q kill 48 49 # start dmenu (a program launcher) 50 bindsym $mod+e exec ~/bin/my-rofi -show run 51 bindsym $mod+shift+e exec ~/bin/my-rofi -show window 52 bindsym $mod+Shift+w exec "wen=`~/bin/my-rofi -dmenu` && exec ~/bin/wwen $wen" 53 bindsym $mod+m exec "gnome-terminal -e ~/bin/msr" 54 bindsym $mod+Shift+m exec "music=`~/bin/my-rofi -dmenu` && exec ~/bin/ytmusic $music" 55 56 # change focus 57 bindsym $mod+h focus left 58 bindsym $mod+j focus down 59 bindsym $mod+k focus up 60 bindsym $mod+l focus right 61 62 # move focused window 63 bindsym $mod+Shift+H move left 64 bindsym $mod+Shift+J move down 65 bindsym $mod+Shift+K move up 66 bindsym $mod+Shift+L move right 67 68 # split in horizontal orientation 69 bindsym $mod+w split h 70 71 # split in vertical orientation 72 bindsym $mod+v split v 73 74 # enter fullscreen mode for the focused container 75 bindsym $mod+f fullscreen 76 77 # change container layout (stacked, tabbed, default) 78 bindsym $mod+s layout stacking 79 bindsym $mod+t layout tabbed 80 bindsym $mod+d layout default 81 82 # toggle tiling / floating 83 bindsym $mod+Shift+space floating toggle 84 85 # change focus between tiling / floating windows 86 bindsym $mod+space focus mode_toggle 87 88 bindsym $mod+Tab exec todo 89 90 # focus the parent container 91 bindsym $mod+u focus parent 92 93 bindsym $mod+a workspace back_and_forth 94 # assuming that there are at most two outputs 95 # bindsym $mod+Shift+a move workspace to output right 96 97 # focus the child container 98 #bindcode $mod+d fo****cus child 99 100 # switch to workspace 101 bindsym $mod+1 workspace 1 102 bindsym $mod+2 workspace 2 103 bindsym $mod+3 workspace 3 104 bindsym $mod+4 workspace 4 105 bindsym $mod+5 workspace 5 106 bindsym $mod+6 workspace 6 107 bindsym $mod+7 workspace 7 108 bindsym $mod+8 workspace 8 109 bindsym $mod+9 workspace 9 110 bindsym $mod+0 workspace 10 111 112 # move focused container to workspace 113 bindsym $mod+Shift+1 move container to workspace 1 114 bindsym $mod+Shift+2 move container to workspace 2 115 bindsym $mod+Shift+3 move container to workspace 3 116 bindsym $mod+Shift+4 move container to workspace 4 117 bindsym $mod+Shift+5 move container to workspace 5 118 bindsym $mod+Shift+6 move container to workspace 6 119 bindsym $mod+Shift+7 move container to workspace 7 120 bindsym $mod+Shift+8 move container to workspace 8 121 bindsym $mod+Shift+9 move container to workspace 9 122 bindsym $mod+Shift+0 move container to workspace 10 123 124 bindsym $mod+p workspace prev 125 bindsym $mod+n workspace next 126 bindsym $mod+Shift+p move container to output left 127 bindsym $mod+Shift+n move container to output right 128 129 130 # reload the configuration file 131 # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) 132 bindsym $mod+Shift+R reload 133 # exit i3 (logs you out of your X session) 134 bindsym $mod+Shift+greater exit 135 136 bindsym $mod+x exec ~/bin/afk_sway 137 bindsym $mod+Shift+x exec ~/bin/dodo_sway 138 139 # resize window (you can also use the mouse for that) 140 mode "resize" { 141 # These bindings trigger as soon as you enter the resize mode 142 143 # Pressing left will shrink the window’s width. 144 # Pressing right will grow the window’s width. 145 # Pressing up will shrink the window’s height. 146 # Pressing down will grow the window’s height. 147 bindsym h resize shrink width 10 px or 10 ppt 148 bindsym j resize grow height 10 px or 10 ppt 149 bindsym k resize shrink height 10 px or 10 ppt 150 bindsym l resize grow width 10 px or 10 ppt 151 bindsym Shift+h resize shrink width 1 px or 1 ppt 152 bindsym Shift+j resize grow height 1 px or 1 ppt 153 bindsym Shift+k resize shrink height 1 px or 1 ppt 154 bindsym Shift+l resize grow width 1 px or 1 ppt 155 156 157 # back to normal: Enter or Escape 158 bindsym Return mode "default" 159 bindsym Escape mode "default" 160 bindsym $mod+r mode "default" 161 } 162 163 bindsym $mod+r mode "resize" 164 165 workspace_layout stacking 166 167 # Start i3bar to display a workspace bar (plus the system information i3status 168 # finds out, if available) 169 bar { 170 status_command i3status 171 mode hide 172 position bottom 173 #font -*-Terminus*-*-*-*-*-*-*-*-*-*-*-* 174 font Inconsolata 175 } 176 177 input * { 178 repeat_delay 250 179 repeat_rate 50 180 xkb_layout a3nm 181 } 182 183 bindsym XF86AudioLowerVolume exec pavol '-5%' 184 bindsym XF86AudioRaiseVolume exec pavol '+5%' 185 bindsym XF86AudioMute exec /usr/bin/pactl set-sink-volume 0 0 186 bindsym XF86MonBrightnessUp exec /usr/bin/xbacklight -inc 10 187 bindsym XF86MonBrightnessDown exec /usr/bin/xbacklight -dec 5 188 189 #TODO default split ratio 2/3 190 #TODO default veritcal split is stacked 191 192 exec ~/bin/startup