some actual indentation in my i3 config. also added some minor bugfix changes, and made redshift a startup program.

This commit is contained in:
Gabe Venberg 2018-11-07 22:28:20 -06:00
parent 001b96d16e
commit b06a811bc6
2 changed files with 129 additions and 120 deletions

View file

@ -14,6 +14,7 @@
#You should have received a copy of the GNU General Public License #You should have received a copy of the GNU General Public License
#along with this program. If not, see <http://www.gnu.org/licenses/>. #along with this program. If not, see <http://www.gnu.org/licenses/>.
#modifier key. mod 4 is the logo key on most keyboards.
set $mod Mod4 set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different font # Font for window titles. Will also be used by the bar unless a different font
@ -24,6 +25,7 @@ font pango:monospace 8
# text rendering and scalability on retina/hidpi displays (thanks to pango). # text rendering and scalability on retina/hidpi displays (thanks to pango).
font pango:DejaVu Sans Mono 8 font pango:DejaVu Sans Mono 8
#keybinding stuff
# Use Mouse+$mod to drag floating windows to their wanted position # Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod floating_modifier $mod
@ -89,7 +91,7 @@ bindsym $mod+a focus parent
# focus the child container # focus the child container
bindsym $mod+z focus child bindsym $mod+z focus child
#make a floating window sticky #make a floating window sticky (moves workspaces with you)
bindsym $mod+Shift+s sticky toggle bindsym $mod+Shift+s sticky toggle
#make currently focused window a scratchpad #make currently focused window a scratchpad
@ -97,8 +99,8 @@ bindsym $mod+shift+plus move scratchpad
#and hide and show it #and hide and show it
bindsym $mod+plus scratchpad show bindsym $mod+plus scratchpad show
# Define names for default workspaces for which we configure key bindings later on. #workspace switching
# We use variables to avoid repeating the names in multiple places. # Define names for default workspaces for which we configure key bindings later on. We use variables to avoid repeating the names in multiple places.
set $ws1 "1" set $ws1 "1"
set $ws2 "2" set $ws2 "2"
set $ws3 "3" set $ws3 "3"
@ -174,5 +176,12 @@ bar {
status_command i3status status_command i3status
} }
#start pasystray on startup #startup applications
#pasystray
exec --no-startup-id pasystray exec --no-startup-id pasystray
#geoclue
exec --no-startup-id /usr/lib/geoclue-2.0/demos/agent
#redshift
exec --no-startup-id redshift

View file

@ -356,7 +356,7 @@ set vicmd=nvim
" uncommenting one of lines below will result in ignoring 'vi[x]cmd' option " uncommenting one of lines below will result in ignoring 'vi[x]cmd' option
" for unknown file types. " for unknown file types.
" For *nix: " For *nix:
filetype * xdg-open filetype * xdg-open &
" ------------------------------------------------------------------------------ " ------------------------------------------------------------------------------