This commit is contained in:
2019-02-10 03:15:14 -05:00
parent 64311dfb06
commit 07677923c4
18 changed files with 216 additions and 60 deletions

View File

@@ -1,8 +1,7 @@
# startup {{{ #
set $browser "firefox"
# set $browser "firefox"
set $browser "chromium"
set $def_term "urxvt"
# set $runelite "java -jar ~/Downloads/RuneLite.jar"
set $swex "sudo ~/Downloads/swex.appimage"
exec redshift -O 2000
# exec redshift -O 3000
# random bg
@@ -10,6 +9,7 @@ exec compton
exec wal -i "$HOME/Pictures/Backgrounds/dim/non-editing"
exec imwheel
exec xmodmap ~/.Xmodmap
exec xset r rate 200 70
exec xrdb ~/.Xresources
exec --no-startup-id start-pulseaudio-x11
exec --no-startup-id i3-msg 'workspace $ws2; exec $def_term'
@@ -29,7 +29,8 @@ bindsym Mod4+a exec studio
# bindsym Mod4+2 exec xdotool click --repeat 10 --delay 100 1
# bindsym Mod4+3 exec xdotool click --repeat 20 --delay 100 1
# bindsym $mod+control+Return exec i3-sensible-terminal
bindsym $mod+control+Return exec $def_term
# bindsym $mod+control+Return exec $def_term
bindsym control+Return exec $def_term
bindsym Mod4+c exec $browser
bindsym Mod4+f exec firefox
bindsym Mod4+$mod+f exec echo 'Kevin@fosstodon.org' | xclip -selection clipboard
@@ -49,7 +50,7 @@ bindsym Mod4+t exec xclip -selection clipboard ~/.password-store/social/trapbot
bindsym Mod4+u exec echo 'kevin.mok@mail.utoronto.ca' | xclip -selection clipboard
bindsym Mod4+$mod+u exec pass -c uoft/acorn
# bindsym Mod4+x exec $swex
# bindsym Mod4+x exec xmodmap ~/.Xmodmap
bindsym Mod4+x exec xmodmap ~/.Xmodmap && xset r rate 200 70
bindsym Mod4+z exec cliqz
# bindsym Print exec gscreenshot
bindsym Print --release exec "scrot -s /tmp/screenshot-$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'"
@@ -97,6 +98,9 @@ bindsym Shift+F0 exec xbacklight -set 100
# }}} menu #
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
for_window [class="Peek"] floating enable
# }}} applications #
# changing/focusing/moving windows {{{ #
@@ -134,7 +138,8 @@ bindsym $mod+b split h
# split in vertical orientation
bindsym $mod+v split v
bindsym control+Shift+x kill
# bindsym control+Shift+x kill
bindsym shift+x kill
# }}} changing/focusing/moving windows #
# container display {{{ #
@@ -203,7 +208,8 @@ set $ws2 "2 "
workspace $ws2 output $samsung
bindsym $mod+F2 workspace $ws2; exec $def_term
set $ws3 "3 "
# set $ws3 "3 "
set $ws3 "3 "
workspace $ws3 output $benq
bindsym $mod+F3 workspace $ws3; exec $browser
@@ -331,10 +337,10 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu
# }}} reload config #
# resizing windows {{{ #
bindsym $mod+control+h resize grow width 3 px or 3 ppt
bindsym $mod+control+k resize grow height 3 px or 3 ppt
bindsym $mod+control+j resize shrink height 3 px or 3 ppt
bindsym $mod+control+l resize shrink width 3 px or 3 ppt
bindsym $mod+control+h resize grow width 5 px or 5 ppt
bindsym $mod+control+k resize grow height 5 px or 5 ppt
bindsym $mod+control+j resize shrink height 5 px or 5 ppt
bindsym $mod+control+l resize shrink width 5 px or 5 ppt
# }}} resizing windows #
# gaps {{{ #