diff --git a/dot b/dotpull similarity index 100% rename from dot rename to dotpull diff --git a/dotpush b/dotpush new file mode 100755 index 0000000..7509fc9 --- /dev/null +++ b/dotpush @@ -0,0 +1,7 @@ +#!/bin/sh + +cp -r ./xbindkeys/.xbindkeysrc ~/.xbindkeysrc +cp -r ~/.config/openbox ./openbox +cp ~/.bashrc ./bashrc + +git add -A && git commit -m "dotpush" && git push diff --git a/openbox/openbox/autostart b/openbox/openbox/autostart new file mode 100755 index 0000000..c862e71 --- /dev/null +++ b/openbox/openbox/autostart @@ -0,0 +1,24 @@ +# +# These things are run when an Openbox X Session is started. +# You may place a similar script in $HOME/.config/openbox/autostart +# to run user-specific things. +# + +# If you want to use GNOME config tools... +# +#if test -x /usr/lib/x86_64-linux-gnu/gnome-settings-daemon >/dev/null; then +# /usr/lib/x86_64-linux-gnu/gnome-settings-daemon & +#elif which gnome-settings-daemon >/dev/null 2>&1; then +# gnome-settings-daemon & +#fi + +# If you want to use XFCE config tools... +# +#xfce-mcs-manager & +xbindkeys & +pulseaudio +alacritty & +dmenu & +demnu_run & +inkscape & +~/bin/scripts/chromium_root & diff --git a/openbox/openbox/environment b/openbox/openbox/environment new file mode 100755 index 0000000..3311bd6 --- /dev/null +++ b/openbox/openbox/environment @@ -0,0 +1,10 @@ +# +# Set system-wide environment variables here for Openbox +# User-specific variables should be placed in $HOME/.config/openbox/environment +# + +# To set your language for displaying messages and time/date formats, use the following: +#LANG=en_CA.UTF8 + +# To set your keyboard layout, you need to modify your X config: +# http://www.google.com/search?q=how+to+set+keyboard+layout+xorg diff --git a/openbox/openbox/menu.xml b/openbox/openbox/menu.xml new file mode 100644 index 0000000..57b34e0 --- /dev/null +++ b/openbox/openbox/menu.xml @@ -0,0 +1,35 @@ + + + + + + + x-terminal-emulator + + + x-www-browser + + + + + + + + obconf + + + + + + + + + + + + + + diff --git a/openbox/openbox/rc.xml b/openbox/openbox/rc.xml new file mode 100644 index 0000000..28763d3 --- /dev/null +++ b/openbox/openbox/rc.xml @@ -0,0 +1,724 @@ + + + + + 10 + 20 + + + yes + + no + + yes + + no + + 200 + + no + + + + Smart + +
yes
+ + Primary + + 1 + +
+ + Lean + + + no + no + + Hack + 8 + + Bold + + Normal + + + + Hack + 8 + + Bold + + Normal + + + + Hack + 9 + + Normal + + Normal + + + + Hack + 9 + + Normal + + Normal + + + + Hack + 9 + + Bold + + Normal + + + + Hack + 9 + + Bold + + Normal + + + + + + 4 + 1 + + browser + code + access + notes + * + + 875 + + + + yes + Nonpixel + + Center + + + + 10 + + 10 + + + + + + 0 + 0 + 0 + 0 + + + TopLeft + + 0 + 0 + no + Above + + Vertical + + no + 300 + + 300 + + Middle + + + + C-g + + + + + + + left + no + + + + + right + no + + + + + up + no + + + + + down + no + + + + + left + no + + + + + right + no + + + + + up + no + + + + + down + no + + + + + 1 + + + + + 2 + + + + + 3 + + + + + 4 + + + + + + + + + + + + + + + + + client-menu + + + + + + scrot -s + + + + + + + + + + + + + + + + + + + + + + + + yes + yes + + + + + + + + + + + right + + + + + left + + + + + up + + + + + down + + + + + + + true + Konqueror + + kfmclient openProfile filemanagement + + + + + + scrot + + + + + 1 + + 500 + + 400 + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + + + + + + + + no + + + + + + + + + + + yes + + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + top + + + + + + + left + + + + + + + right + + + + + + + bottom + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + vertical + + + + + horizontal + + + + + + + + + + + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + + + + + + + + + + + client-list-combined-menu + + + + + root-menu + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + no + + + + + + /var/lib/openbox/debian-menu.xml + menu.xml + 200 + + no + + 100 + + 400 + + yes + + yes + + + + + no + true + + + no + yes + + + no + yes + 3 + + +
diff --git a/session.vim b/session.vim new file mode 100644 index 0000000..60f7fdc --- /dev/null +++ b/session.vim @@ -0,0 +1,54 @@ +let SessionLoad = 1 +let s:so_save = &g:so | let s:siso_save = &g:siso | setg so=0 siso=0 | setl so=-1 siso=-1 +let v:this_session=expand(":p") +silent only +silent tabonly +cd ~/bin/dot +if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' + let s:wipebuf = bufnr('%') +endif +let s:shortmess_save = &shortmess +if &shortmess =~ 'A' + set shortmess=aoOA +else + set shortmess=aoO +endif +badd +0 dotpush +argglobal +%argdel +$argadd dotpush +edit dotpush +argglobal +setlocal foldmethod=manual +setlocal foldexpr=0 +setlocal foldmarker={{{,}}} +setlocal foldignore=# +setlocal foldlevel=0 +setlocal foldminlines=1 +setlocal foldnestmax=20 +setlocal foldenable +silent! normal! zE +let &fdl = &fdl +let s:l = 7 - ((6 * winheight(0) + 21) / 43) +if s:l < 1 | let s:l = 1 | endif +keepjumps exe s:l +normal! zt +keepjumps 7 +normal! 024| +tabnext 1 +if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal' + silent exe 'bwipe ' . s:wipebuf +endif +unlet! s:wipebuf +set winheight=1 winwidth=20 +let &shortmess = s:shortmess_save +let s:sx = expand(":p:r")."x.vim" +if filereadable(s:sx) + exe "source " . fnameescape(s:sx) +endif +let &g:so = s:so_save | let &g:siso = s:siso_save +set hlsearch +nohlsearch +doautoall SessionLoadPost +unlet SessionLoad +" vim: set ft=vim :