|
|
@ -4,23 +4,22 @@ exec redshift -O 4000 |
|
|
|
exec_always feh --bg-center ~/Pictures/Backgrounds/samurai-astronaut.jpg |
|
|
|
exec imwheel |
|
|
|
exec --no-startup-id i3-msg 'workspace 1 ; exec terminator' |
|
|
|
exec --no-startup-id i3-msg 'workspace 2 ; exec terminator' |
|
|
|
exec --no-startup-id i3-msg 'workspace 3 ; exec google-chrome' |
|
|
|
# exec terminator |
|
|
|
# exec google-chrome |
|
|
|
# }}} startup # |
|
|
|
|
|
|
|
set $sch_dir "$HOME/Documents/School" |
|
|
|
|
|
|
|
# app shortcuts {{{ # |
|
|
|
bindsym Mod4+a exec studio |
|
|
|
bindsym $mod+control+Return exec i3-sensible-terminal |
|
|
|
bindsym Mod4+c exec google-chrome |
|
|
|
bindsym Mod4+d exec discord |
|
|
|
bindsym Mod4+e exec nemo |
|
|
|
bindsym Mod4+o exec okular |
|
|
|
bindsym Mod4+m exec okular $sch_dir/calc-textbook.pdf |
|
|
|
bindsym Mod4+p exec pycharm |
|
|
|
bindsym Mod4+s exec spotify |
|
|
|
bindsym Print exec ksnapshot |
|
|
|
# }}} app shortcuts # |
|
|
|
|
|
|
|
# redshift {{{ # |
|
|
|
bindsym $mod+Mod4+1 exec redshift -O 1500 |
|
|
@ -110,27 +109,45 @@ set $benq "HDMI-0" |
|
|
|
|
|
|
|
set $ws1 "1 " |
|
|
|
workspace $ws1 output $samsung |
|
|
|
bindsym $mod+F1 workspace $ws1; exec terminator |
|
|
|
|
|
|
|
set $ws2 "2 " |
|
|
|
workspace $ws2 output $benq |
|
|
|
bindsym $mod+F2 workspace $ws2; exec terminator |
|
|
|
|
|
|
|
set $ws3 "3 " |
|
|
|
workspace $ws3 output $benq |
|
|
|
|
|
|
|
set $ws4 "4 " |
|
|
|
workspace $ws4 output $samsung |
|
|
|
assign [class="Okular"] $ws4 |
|
|
|
|
|
|
|
set $ws5 "5 " |
|
|
|
workspace $ws5 output $benq |
|
|
|
bindsym $mod+F5 workspace $ws5; exec google-chrome |
|
|
|
|
|
|
|
set $ws6 "6 " |
|
|
|
workspace $ws6 output $samsung |
|
|
|
assign [class="discord"] $ws6 |
|
|
|
bindsym Mod4+d workspace $ws6; exec discord |
|
|
|
assign [class="Slack"] $ws6 |
|
|
|
|
|
|
|
set $ws7 "7 " |
|
|
|
workspace $ws7 output $samsung |
|
|
|
|
|
|
|
set $ws8 "8 " |
|
|
|
assign [class="jetbrains-"] $ws8 |
|
|
|
|
|
|
|
set $ws9 "9 " |
|
|
|
workspace $ws9 output $samsung |
|
|
|
bindsym $mod+F9 workspace $ws9; exec terminator |
|
|
|
|
|
|
|
set $ws10 "10 " |
|
|
|
assign [class="VirtualBox"] $ws10 |
|
|
|
assign [class="Spotify"] $ws10 |
|
|
|
bindsym Mod4+s workspace $ws10; exec spotify |
|
|
|
|
|
|
|
set $ws11 "11 " |
|
|
|
workspace $ws11 output $benq |
|
|
|
bindsym $mod+F11 workspace $ws11; exec terminator |
|
|
|
# }}} ws names # |
|
|
|
|
|
|
|
# ws bindings {{{ # |
|
|
@ -187,10 +204,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 shrink width 10 px or 10 ppt |
|
|
|
bindsym $mod+control+h resize grow width 10 px or 10 ppt |
|
|
|
bindsym $mod+control+k resize grow height 10 px or 10 ppt |
|
|
|
bindsym $mod+control+j resize shrink height 10 px or 10 ppt |
|
|
|
bindsym $mod+control+l resize grow width 10 px or 10 ppt |
|
|
|
bindsym $mod+control+l resize shrink width 10 px or 10 ppt |
|
|
|
# }}} resizing windows # |
|
|
|
|
|
|
|
# status bar {{{ # |
|
|
@ -230,13 +247,13 @@ font pango:Hack 11 |
|
|
|
# }}} mod key/font # |
|
|
|
|
|
|
|
# media keys {{{ # |
|
|
|
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -c 1 sset Master 5%+ |
|
|
|
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -c 1 sset Master 5%- |
|
|
|
bindsym XF86AudioMute exec --no-startup-id amixer -c 1 amixer -D pulse set Master 1+ toggle |
|
|
|
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -c 1 sset Master 5+ |
|
|
|
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -c 1 sset Master 5- |
|
|
|
bindsym XF86AudioMute exec --no-startup-id amixer -D pulse set Master 1+ toggle |
|
|
|
|
|
|
|
# Media player controls |
|
|
|
bindsym XF86AudioPlay exec playerctl play |
|
|
|
bindsym XF86AudioPause exec playerctl pause |
|
|
|
bindsym XF86AudioNext exec playerctl next |
|
|
|
bindsym XF86AudioPrev exec playerctl previous |
|
|
|
bindsym XF86AudioPlay exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause" |
|
|
|
bindsym XF86AudioStop exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop" |
|
|
|
bindsym XF86AudioPrev exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous" |
|
|
|
bindsym XF86AudioNext exec "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next" |
|
|
|
# }}} media keys # |