This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# modified by wwalker (wwalker@solid-constructs.com) from example script | |
# https://github.com/altdesktop/i3ipc-python/blob/master/examples/i3-cycle-focus.py | |
# | |
# provides alt+tab functionality between windows, switching | |
# between n windows; example i3 conf to use: | |
# exec_always --no-startup-id i3-alt-tab-ww | |
# bindsym Shift+$alt+Tab exec --no-startup-id i3-select-recent-window | |
# bindsym $alt+Tab exec --no-startup-id i3-alt-tab-ww --switch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on " enable syntax highlighting | |
set background=dark " we like it dark! | |
try | colorscheme gruvbox | catch | endtry " use this awesome theme if possible | |
highlight Pmenu ctermbg=black guibg=black | " fix popup color so it's easier to read | |
filetype plugin on " load plugins based on file type | |
filetype indent on " load indent settings based on file type | |
set shiftwidth=2 " number of spaces to use for indenting | |
set softtabstop=2 " number of spaces to use when inserting a tab | |
set tabstop=2 " show tabs as 2 spaces | |
set expandtab " convert tabs into spaces |