Dotfiles for different machines on different branches.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
# vim: filetype=i3# File originally by Luke Smith <https://lukesmith.xyz>
# This config file will use environmental variables such as $BROWSER and $TERMINAL.# You can set these variables in ~/.profile or ~/.bash_profile if you have it as below:## export FILE="ranger"# export TERMINAL="st"
# #---Basic Definitions---# #for_window [class="^.*"] border pixel 2gaps inner 15gaps outer 15set $term --no-startup-id $TERMINALset $mod Mod4font xft:mono 16
# #---Dropdown Windows---# ## General dropdown window traits. The order can matter.for_window [instance="dropdown_*"] floating enablefor_window [instance="dropdown_*"] move scratchpadfor_window [instance="dropdown_*"] sticky enablefor_window [instance="dropdown_*"] scratchpad showfor_window [instance="dropdown_tmuxdd"] resize set 625 450for_window [instance="dropdown_dropdowncalc"] resize set 800 300for_window [instance="dropdown_tmuxdd"] border pixel 3for_window [instance="dropdown_dropdowncalc"] border pixel 2for_window [instance="dropdown_*"] move position center
bar { font pango:mono 14 status_command i3blocks position top mode dock modifier None}
# #---Basic Bindings---# #
bindsym $mod+Shift+Escape exec --no-startup-id prompt "Exit i3?" "i3-msg exit"
# #---Letter Key Bindings---# #bindsym $mod+q [con_id="__focused__" instance="^(?!dropdown_).*$"] killbindsym $mod+Shift+q [con_id="__focused__" instance="^(?!dropdown_).*$"] exec --no-startup-id kill -9 `xdotool getwindowfocus getwindowpid`
bindsym $mod+t split togglebindsym $mod+Shift+t gaps inner current set 15; gaps outer current set 15
bindsym $mod+Shift+z exec --no-startup-id i3resize left
bindsym $mod+u exec --no-startup-id ddspawn tmuxddbindsym $mod+Shift+u exec --no-startup-id i3resize down
bindsym $mod+Shift+i exec --no-startup-id i3resize up
bindsym $mod+o sticky togglebindsym $mod+Shift+o exec --no-startup-id i3resize right
bindsym $mod+a exec --no-startup-id ddspawn dropdowncalc -f mono:pixelsize=24
bindsym $mod+s gaps inner current plus 5bindsym $mod+Shift+s gaps inner current minus 5
bindsym $mod+Shift+d gaps inner current set 0; gaps outer current set 0
bindsym $mod+f fullscreen toggle
bindsym $mod+h focus leftbindsym $mod+Shift+h move left 30
bindsym $mod+j focus downbindsym $mod+Shift+j move down 30
bindsym $mod+k focus upbindsym $mod+Shift+k move up 30
bindsym $mod+l focus rightbindsym $mod+Shift+l move right 30
bindsym $mod+y gaps outer current plus 5bindsym $mod+Shift+y gaps outer current minus 5
bindsym $mod+b bar mode togglebindsym $mod+Shift+b floating toggle; sticky toggle; exec --no-startup-id hover left
bindsym $mod+Shift+n floating toggle; sticky toggle; exec --no-startup-id hover right
# #---Workspace Bindings---# #set $ws1 "DEF"set $ws2 "WWW"set $ws3 "MED"set $ws4 "CHT"set $ws5 "DOC"set $ws6 "WRK"set $ws7 "EXT"set $ws8 "ET1"set $ws9 "ET2"set $ws0 "ET3"
# switch to workspacebindsym $mod+1 workspace $ws1bindsym $mod+2 workspace $ws2bindsym $mod+3 workspace $ws3bindsym $mod+4 workspace $ws4bindsym $mod+5 workspace $ws5bindsym $mod+6 workspace $ws6bindsym $mod+7 workspace $ws7bindsym $mod+8 workspace $ws8bindsym $mod+9 workspace $ws9bindsym $mod+0 workspace $ws0
# move focused container to workspacebindsym $mod+Shift+1 move container to workspace $ws1bindsym $mod+Shift+2 move container to workspace $ws2bindsym $mod+Shift+3 move container to workspace $ws3bindsym $mod+Shift+4 move container to workspace $ws4bindsym $mod+Shift+5 move container to workspace $ws5bindsym $mod+Shift+6 move container to workspace $ws6bindsym $mod+Shift+7 move container to workspace $ws7bindsym $mod+Shift+8 move container to workspace $ws8bindsym $mod+Shift+9 move container to workspace $ws9bindsym $mod+Shift+0 move container to workspace $ws0
for_window [class="Pinentry"] sticky enablefor_window [class="sent"] border pixel 0pxfor_window [title="GIMP Startup"] move workspace $ws5for_window [class="Gimp"] move workspace $ws5for_window [window_role="GtkFileChooserDialog"] resize set 800 600for_window [window_role="GtkFileChooserDialog"] move position centerfor_window [title="Default - Wine desktop"] floating enable
# Bindings to make the webcam float and stick.for_window [title="mpvfloat"] floating enablefor_window [title="mpvfloat"] sticky enablefor_window [title="mpvfloat"] border pixel 0no_focus [title="mpvfloat"]
# #---Arrow Keys---# #bindsym $mod+Left focus leftbindsym $mod+Ctrl+Left move workspace to output leftbindsym $mod+Down focus downbindsym $mod+Ctrl+Down move workspace to output downbindsym $mod+Up focus upbindsym $mod+Ctrl+Up move workspace to output upbindsym $mod+Right focus rightbindsym $mod+Ctrl+Right move workspace to output rightbindsym $mod+Shift+Left move leftbindsym $mod+Shift+Down move downbindsym $mod+Shift+Up move upbindsym $mod+Shift+Right move right
|