summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMax Christian Pohle2020-01-17 20:35:49 +0100
committerMax Christian Pohle2020-01-17 20:35:49 +0100
commit98778e2cf3fb9e1b842911c5bd1a0a5a5e924b45 (patch)
tree7409d8118f886fb747a6b5d2b2bb7566f1bb2431 /config
parent8180cf38e6198fce5cd30d84f633bc154191829f (diff)
downloadi3-98778e2cf3fb9e1b842911c5bd1a0a5a5e924b45.tar.bz2
i3-98778e2cf3fb9e1b842911c5bd1a0a5a5e924b45.zip
Minor improvementsHEADmaster
Diffstat (limited to 'config')
-rw-r--r--config55
1 files changed, 40 insertions, 15 deletions
diff --git a/config b/config
index bc8dd3f..db89941 100644
--- a/config
+++ b/config
@@ -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/*
12font 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
14font pango:FuraCode Nerd Font Mono Medium 11
14 15
15hide_edge_borders both 16# hide_edge_borders both
16 17
17set $mod Mod4 18set $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
20floating_modifier $mod 21floating_modifier $mod
21 22
23# screenshots
24bindsym --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
24bindsym $mod+Return exec --no-startup-id xfce4-appfinder 28# bindsym $mod+Return exec --no-startup-id xfce4-appfinder
29bindsym $mod+Return exec --no-startup-id dmenu_run -nb '#e0e0e0' -nf '#000' -sb '#ffffff' -sf '#4271ae'
25bindsym Mod1+F2 exec --no-startup-id rofi -show run -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff 30bindsym Mod1+F2 exec --no-startup-id rofi -show run -bg #222222 -fg #888888 -hlbg #285577 -hlfg #ffffff
26bindsym $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
33bindsym $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
29bindsym $mod+e exec --no-startup-id thunar 37bindsym $mod+e exec --no-startup-id xdg-open $HOME
30bindsym $mod+l exec --no-startup-id ~/.local/bin/i3lock -f -i "/home/max/.local/share/backgrounds/IMG_5656 - IMG_5684-02.png" 38bindsym $mod+l exec --no-startup-id i3lock -f -i "/usr/share/backgrounds/xfce/xfce-blue.jpg"
31 39
32bindsym $mod+F10 exec pactl set-sink-mute 0 toggle 40bindsym $mod+F10 exec pactl set-sink-mute 0 toggle
33bindsym $mod+F11 exec pactl set-sink-volume 0 -5% 41bindsym $mod+F11 exec pactl set-sink-volume 0 -5%
@@ -38,7 +46,7 @@ bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5%
38bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5% # decrease sound volume 46bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5% # decrease sound volume
39bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle # mute sound 47bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle # mute sound
40 48
41bindcode 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
44bindsym $mod+Shift+q kill 52bindsym $mod+Shift+q kill
@@ -182,6 +190,8 @@ bindsym $mod+v split toggle
182bindsym $mod+space split toggle 190bindsym $mod+space split toggle
183 191
184 192
193# win+backspace
194bindsym $mod+BackSpace move workspace to output right
185 195
186bindsym $mod+r mode "resize" 196bindsym $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
216exec xrandr --output HDMI-1 --right-of DP-1 226# exec xrandr --output HDMI-1 --right-of DP-1
217exec 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
219exec setxkbmap -option caps:escape 229# exec setxkbmap -option caps:escape
220exec xset r rate 330 40 230# exec setxkbmap -layout en_US -variant altgr-intl
221exec xinput --set-prop 'Xornet gaming mouse' 'libinput Accel Speed' 0.1 231
222 232
233exec xrandr --output HDMI1 --left-of eDP1
234exec xset r rate 330 40
235# exec xinput --set-prop 'Xornet gaming mouse' 'libinput Accel Speed' 0.1
236exec ibus-daemon -xd
237exec gpg-agent --daemon
223exec gnome-keyring-daemon --start --components=secrets 238exec gnome-keyring-daemon --start --components=secrets
224# start compositor... 239# start compositor...
225exec compton -b --config ~/.config/i3/compton.conf 240exec compton -b --config ~/.config/i3/compton.conf
226exec nitrogen --restore 241exec nitrogen --restore
227exec nm-applet 242exec nm-applet
243exec kaze
244exec /home/cpohle/.local/bin/vdirsyncer_sync
245exec owncloud
246
247# clipboard manger, so that the clipboard survives when a program exits
248exec setsid parcellite
249# deactivate thinkpad touchpad
250exec synclient TouchpadOff=1
251
228 252
229 253
230 254
231 255
232 256
233exec 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.
265bar { 289bar {
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
324for_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
..