diff options
| author | Max Christian Pohle | 2020-01-17 20:35:49 +0100 | 
|---|---|---|
| committer | Max Christian Pohle | 2020-01-17 20:35:49 +0100 | 
| commit | 98778e2cf3fb9e1b842911c5bd1a0a5a5e924b45 (patch) | |
| tree | 7409d8118f886fb747a6b5d2b2bb7566f1bb2431 /config | |
| parent | 8180cf38e6198fce5cd30d84f633bc154191829f (diff) | |
| download | i3-master.tar.bz2 i3-master.zip | |
Diffstat (limited to 'config')
| -rw-r--r-- | config | 55 | 
1 files changed, 40 insertions, 15 deletions
| @@ -9,25 +9,33 @@ exec xrdb ~/.Xresources ; i3-msg reload | |||
| 9 | # fake-outputs 3840x1080+0+0 | 9 | # fake-outputs 3840x1080+0+0 | 
| 10 | 10 | ||
| 11 | # we basically want to configure our font with ~/.config/fontconfig/* | 11 | # we basically want to configure our font with ~/.config/fontconfig/* | 
| 12 | font pango:FuraCode Nerd Font Mono Retina 9 | 12 | # font pango:FuraCode Nerd Font Mono Retina 9 | 
| 13 | # font pango:Code New Roman Nerd Font 9 | 13 | # font pango:Code New Roman Nerd Font 9 | 
| 14 | font pango:FuraCode Nerd Font Mono Medium 11 | ||
| 14 | 15 | ||
| 15 | hide_edge_borders both | 16 | # hide_edge_borders both | 
| 16 | 17 | ||
| 17 | set $mod Mod4 | 18 | set $mod Mod4 | 
| 18 | 19 | ||
| 19 | # Use Mouse+$mod to drag floating windows to their wanted position | 20 | # Use Mouse+$mod to drag floating windows to their wanted position | 
| 20 | floating_modifier $mod | 21 | floating_modifier $mod | 
| 21 | 22 | ||
| 23 | # screenshots | ||
| 24 | bindsym --release Print exec scrot -s | ||
| 25 | |||
| 22 | # start a terminal | 26 | # start a terminal | 
| 23 | # bindsym $mod+Return exec i3-sensible-terminal | 27 | # bindsym $mod+Return exec i3-sensible-terminal | 
| 24 | bindsym $mod+Return exec --no-startup-id xfce4-appfinder | 28 | # bindsym $mod+Return exec --no-startup-id xfce4-appfinder | 
| 29 | bindsym $mod+Return exec --no-startup-id dmenu_run -nb '#e0e0e0' -nf '#000' -sb '#ffffff' -sf '#4271ae' | ||
| 25 | bindsym Mod1+F2 exec --no-startup-id rofi -show run -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff | 30 | bindsym Mod1+F2 exec --no-startup-id rofi -show run -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff | 
| 26 | bindsym $mod+t exec --no-startup-id xfce4-terminal | 31 | # bindsym $mod+t exec --no-startup-id dbus-launch terminology | 
| 32 | # bindsym $mod+t exec --no-startup-id dbus-launch gnome-terminal | ||
| 33 | bindsym $mod+t exec --no-startup-id dbus-launch xfce4-terminal | ||
| 34 | # bindsym $mod+t exec --no-startup-id dbus-launch sakura | ||
| 27 | # bindsym $mod+t exec termite | 35 | # bindsym $mod+t exec termite | 
| 28 | # bindsym $mod+t exec urxvt | 36 | # bindsym $mod+t exec urxvt | 
| 29 | bindsym $mod+e exec --no-startup-id thunar | 37 | bindsym $mod+e exec --no-startup-id xdg-open $HOME | 
| 30 | bindsym $mod+l exec --no-startup-id ~/.local/bin/i3lock -f -i "/home/max/.local/share/backgrounds/IMG_5656 - IMG_5684-02.png" | 38 | bindsym $mod+l exec --no-startup-id i3lock -f -i "/usr/share/backgrounds/xfce/xfce-blue.jpg" | 
| 31 | 39 | ||
| 32 | bindsym $mod+F10 exec pactl set-sink-mute 0 toggle | 40 | bindsym $mod+F10 exec pactl set-sink-mute 0 toggle | 
| 33 | bindsym $mod+F11 exec pactl set-sink-volume 0 -5% | 41 | bindsym $mod+F11 exec pactl set-sink-volume 0 -5% | 
| @@ -38,7 +46,7 @@ bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5% | |||
| 38 | bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5% # decrease sound volume | 46 | bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5% # decrease sound volume | 
| 39 | bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle # mute sound | 47 | bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle # mute sound | 
| 40 | 48 | ||
| 41 | bindcode 156 exec xrandr --output LVDS-1 --mode 1024x768 && xrandr --output LVDS-1 --mode 1280x800 | 49 | # bindcode 156 exec xrandr --output LVDS-1 --mode 1024x768 && xrandr --output LVDS-1 --mode 1280x800 | 
| 42 | 50 | ||
| 43 | # kill focused window | 51 | # kill focused window | 
| 44 | bindsym $mod+Shift+q kill | 52 | bindsym $mod+Shift+q kill | 
| @@ -182,6 +190,8 @@ bindsym $mod+v split toggle | |||
| 182 | bindsym $mod+space split toggle | 190 | bindsym $mod+space split toggle | 
| 183 | 191 | ||
| 184 | 192 | ||
| 193 | # win+backspace | ||
| 194 | bindsym $mod+BackSpace move workspace to output right | ||
| 185 | 195 | ||
| 186 | bindsym $mod+r mode "resize" | 196 | bindsym $mod+r mode "resize" | 
| 187 | # resize window (you can also use the mouse for that) | 197 | # resize window (you can also use the mouse for that) | 
| @@ -213,24 +223,38 @@ mode "resize" { | |||
| 213 | 223 | ||
| 214 | 224 | ||
| 215 | 225 | ||
| 216 | exec xrandr --output HDMI-1 --right-of DP-1 | 226 | # exec xrandr --output HDMI-1 --right-of DP-1 | 
| 217 | exec xrandr --output HDMI-1 --right-of VGA-1 | 227 | # exec xrandr --output HDMI-1 --right-of VGA-1 | 
| 218 | # exec /usr/bin/xrandr-reset.sh | 228 | # exec /usr/bin/xrandr-reset.sh | 
| 219 | exec setxkbmap -option caps:escape | 229 | # exec setxkbmap -option caps:escape | 
| 220 | exec xset r rate 330 40 | 230 | # exec setxkbmap -layout en_US -variant altgr-intl | 
| 221 | exec xinput --set-prop 'Xornet gaming mouse' 'libinput Accel Speed' 0.1 | 231 | |
| 222 | 232 | ||
| 233 | exec xrandr --output HDMI1 --left-of eDP1 | ||
| 234 | exec xset r rate 330 40 | ||
| 235 | # exec xinput --set-prop 'Xornet gaming mouse' 'libinput Accel Speed' 0.1 | ||
| 236 | exec ibus-daemon -xd | ||
| 237 | exec gpg-agent --daemon | ||
| 223 | exec gnome-keyring-daemon --start --components=secrets | 238 | exec gnome-keyring-daemon --start --components=secrets | 
| 224 | # start compositor... | 239 | # start compositor... | 
| 225 | exec compton -b --config ~/.config/i3/compton.conf | 240 | exec compton -b --config ~/.config/i3/compton.conf | 
| 226 | exec nitrogen --restore | 241 | exec nitrogen --restore | 
| 227 | exec nm-applet | 242 | exec nm-applet | 
| 243 | exec kaze | ||
| 244 | exec /home/cpohle/.local/bin/vdirsyncer_sync | ||
| 245 | exec owncloud | ||
| 246 | |||
| 247 | # clipboard manger, so that the clipboard survives when a program exits | ||
| 248 | exec setsid parcellite | ||
| 249 | # deactivate thinkpad touchpad | ||
| 250 | exec synclient TouchpadOff=1 | ||
| 251 | |||
| 228 | 252 | ||
| 229 | 253 | ||
| 230 | 254 | ||
| 231 | 255 | ||
| 232 | 256 | ||
| 233 | exec setsid dbus-launch hexchat --minimize=2 | 257 | # exec setsid dbus-launch hexchat --minimize=2 | 
| 234 | 258 | ||
| 235 | 259 | ||
| 236 | # ============================================== | 260 | # ============================================== | 
| @@ -264,12 +288,12 @@ set_from_resource $foreground base16.cursor $cursorColor | |||
| 264 | # Basic bar configuration using the Base16 variables. | 288 | # Basic bar configuration using the Base16 variables. | 
| 265 | bar { | 289 | bar { | 
| 266 | # status_command i3status --config ~/.config/i3/i3status.conf | 290 | # status_command i3status --config ~/.config/i3/i3status.conf | 
| 267 | status_command /home/max/src/i3status/i3status --config ~/.config/i3/i3status.conf | 291 | status_command i3status --config ~/.config/i3/i3status.conf | 
| 268 | 292 | ||
| 269 | tray_padding 2 | 293 | tray_padding 2 | 
| 270 | mode dock | 294 | mode dock | 
| 271 | strip_workspace_numbers yes | 295 | strip_workspace_numbers yes | 
| 272 | separator_symbol "│" | 296 | separator_symbol " " | 
| 273 | 297 | ||
| 274 | colors { | 298 | colors { | 
| 275 | background $base00 | 299 | background $base00 | 
| @@ -297,6 +321,7 @@ client.background $background | |||
| 297 | # for_window [class="^.*"] border normal 3 | 321 | # for_window [class="^.*"] border normal 3 | 
| 298 | # for_window [title="^.*Thunderbird"] border pixel 0 | 322 | # for_window [title="^.*Thunderbird"] border pixel 0 | 
| 299 | # for_window [title="^.*Chromium"] border pixel 0 | 323 | # for_window [title="^.*Chromium"] border pixel 0 | 
| 324 | for_window [title="^.*Firefox"] border pixel 5 | ||
| 300 | # for_window [class="Gvim"] border pixel 0 | 325 | # for_window [class="Gvim"] border pixel 0 | 
| 301 | # for_window [class="(?i)xfce4-terminal"] border pixel 0 | 326 | # for_window [class="(?i)xfce4-terminal"] border pixel 0 | 
| 302 | # for_window [class="(?i)xfce4-appfinder"] border pixel 0 | 327 | # for_window [class="(?i)xfce4-appfinder"] border pixel 0 | 
