feat: new bins, zsh/vim/sway config

main
Tim 3 months ago
parent d4e33d6378
commit aa603f5716
  1. 13
      Makefile
  2. 2
      bin/soundmenu
  3. 2
      bin/wofi-calc
  4. 2
      config/mpv/mpv.conf
  5. 5
      config/sway/apps.conf
  6. BIN
      config/sway/csgo_bananagaming.txt
  7. 3
      config/sway/environment.conf
  8. 3
      config/sway/output.conf
  9. 12
      packages/vim.sym/.gitignore
  10. 116
      packages/vim.sym/colors/atom-dark.vim
  11. 11
      packages/vim.sym/templates/skeleton.md
  12. 1
      packages/vim.sym/templates/skeleton.sh
  13. 2
      packages/zsh.sym/zshrc.sym
  14. 2
      vimrc.sym

@ -0,0 +1,13 @@
install: install_bin install_config
install_bin: bin/*
for app in $^; do \
install -D $${app} ${HOME}/bin/ ; \
done
install_config: config/*
for config in $^; do \
echo ln -sf $${config} ${HOME}/.config/} ; \
done

@ -33,6 +33,6 @@ case $chosen in
;;
$option3)
pactl set-card-profile bluez_card.50_C2_ED_60_7C_2D a2dp-sink-sbc_xq
pactl set-default-sink bluez_output.50_C2_ED_60_7C_2D.a2dp-sink
pactl set-default-sink bluez_output.50_C2_ED_60_7C_2D.a2dp-sink
;;
esac

@ -11,7 +11,7 @@ LAST_WOFI=""
QALC_RET=""
while :
do
qalc_hist=`tac $RESULT_FILE | head -1000`
qalc_hist=`tac $RESULT_FILE | head -10`
WOFI_RET=`wofi --lines 5 --columns 1 --width 20% --sort-order=default --cache-file=/dev/null -d -p calc <<< "$qalc_hist"`
rtrn=$?

@ -6,6 +6,8 @@ volume=50
save-position-on-quit=yes
ignore-path-in-watch-later-config=yes
write-filename-in-watch-later-config=yes
screenshot-format=png
screenshot-png-compression=9
[extension.gif]
loop-file=inf

@ -14,6 +14,9 @@ assign [class="overwatch.exe"] 5
for_window [class="overwatch.exe"] floating enable
#assign [class=".*wine.*"] 6
for_window [class=".*wine.*"] floating enable
assign [class="steam_app_1794680"] 5
for_window [class="steam_app_1794680"] floating enable
# Enable or disable floating
for_window [app_id="pavucontrol"] floating enable
@ -41,5 +44,3 @@ exec i3-focus-last server
exec firefox-bin
exec signal-desktop
exec alacritty
exec kvirc
exec keepassxc

Binary file not shown.

@ -1,6 +1,5 @@
## Environment thingies
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway

@ -6,7 +6,8 @@
set $screen1 "DP-1"
set $screen2 "HDMI-A-1"
output $screen1 resolution 3840x2160 scale 1.5 position 0,0
#output $screen1 resolution 2560x1440 scale 1 position 0,0
#output $screen2 resolution 3840x2160 scale 1.5
#output $screen2 resolution 2560x1440 scale 1 position 0,0
exec swaymsg focus output $screen1
### Wallpaper

@ -0,0 +1,12 @@
after
autoload
backup
plugged
spell
swap
undo
view
viminfo
*.tmp
*.old
.*

@ -0,0 +1,116 @@
" Vim color file
"
" Author: Federico Ramirez
" https://github.com/gosukiwi/vim-atom-dark
"
" Note: Based on the Monokai theme variation by Tomas Restrepo
" https://github.com/tomasr/molokai
hi clear
if version > 580
" no guarantees for version 5.8 and below, but this makes it stop
" complaining
hi clear
if exists("syntax_on")
syntax reset
endif
endif
let g:colors_name="atom-dark"
hi Boolean guifg=#99CC99
hi Character guifg=#A8FF60
hi Number guifg=#99CC99
hi String guifg=#A8FF60
hi Conditional guifg=#92C5F7 gui=none
hi Constant guifg=#99CC99 gui=none
hi Cursor guifg=#F1F1F1 guibg=#777777
hi iCursor guifg=#F1F1F1 guibg=#777777
hi Debug guifg=#BCA3A3 gui=none
hi Define guifg=#66D9EF
hi Delimiter guifg=#8F8F8F
hi DiffAdd guibg=#13354A
hi DiffChange guifg=#89807D guibg=#4C4745
hi DiffDelete guifg=#960050 guibg=#1E0010
hi DiffText guibg=#4C4745 gui=none
hi Directory guifg=#AAAAAA gui=none
hi Error guifg=#A8FF60 guibg=#1E0010
hi ErrorMsg guifg=#92C5F7 guibg=#232526 gui=none
hi Exception guifg=#DAD085 gui=none
hi Float guifg=#99CC99
hi FoldColumn guifg=#465457 guibg=#000000
hi Folded guifg=#465457 guibg=#000000
hi Function guifg=#DAD085
hi Identifier guifg=#B6B7EB
hi Ignore guifg=#808080 guibg=bg
hi IncSearch guifg=#C4BE89 guibg=#000000
hi Keyword guifg=#92C5F7 gui=none
hi Label guifg=#A8FF60 gui=none
hi Macro guifg=#C4BE89 gui=none
hi SpecialKey guifg=#66D9EF gui=none
hi MatchParen guifg=#B7B9B8 guibg=#444444 gui=none
hi ModeMsg guifg=#A8FF60
hi MoreMsg guifg=#A8FF60
hi Operator guifg=#92C5F7
" complete menu
hi Pmenu guifg=#66D9EF guibg=#000000
hi PmenuSel guibg=#808080
hi PmenuSbar guibg=#080808
hi PmenuThumb guifg=#66D9EF
hi PreCondit guifg=#DAD085 gui=none
hi PreProc guifg=#DAD085
hi Question guifg=#66D9EF
hi Repeat guifg=#92C5F7 gui=none
hi Search guifg=#000000 guibg=#B4EC85
" marks
hi SignColumn guifg=#DAD085 guibg=#232526
hi SpecialChar guifg=#92C5F7 gui=none
hi SpecialComment guifg=#7C7C7C gui=none
hi Special guifg=#66D9EF guibg=bg gui=none
if has("spell")
hi SpellBad guisp=#FF0000 gui=undercurl
hi SpellCap guisp=#7070F0 gui=undercurl
hi SpellLocal guisp=#70F0F0 gui=undercurl
hi SpellRare guisp=#FFFFFF gui=undercurl
endif
hi Statement guifg=#92C5F7 gui=none
hi StatusLine guifg=#455354 guibg=fg gui=none
hi StatusLineNC guifg=#808080 guibg=#080808
hi StorageClass guifg=#B6B7EB gui=none
hi Structure guifg=#66D9EF
hi Tag guifg=#92C5F7 gui=none
hi Title guifg=#B6B7EB gui=none
hi Todo guifg=#FFFFFF guibg=bg gui=none
hi Typedef guifg=#66D9EF
hi Type guifg=#66D9EF gui=none
hi Underlined guifg=#808080 gui=underline
hi VertSplit guifg=#808080 guibg=#080808
hi VisualNOS guibg=#403D3D
hi Visual guibg=#403D3D
hi WarningMsg guifg=#FFFFFF guibg=#333333
hi WildMenu guifg=#66D9EF guibg=#000000
hi TabLineFill guifg=#1D1F21 guibg=#1D1F21
hi TabLine guibg=#1D1F21 guifg=#808080 gui=none
hi Normal guifg=#F8F8F2 guibg=#1D1F21
hi Comment guifg=#7C7C7C
hi CursorLine guibg=#293739
hi CursorLineNr guifg=#B6B7EB gui=none
hi CursorColumn guibg=#293739
hi ColorColumn guifg=#B62323 guibg=#232526
hi LineNr guifg=#465457 guibg=#232526
hi NonText guifg=#465457
hi SpecialKey guifg=#465457
" Must be at the end, because of ctermbg=234 bug.
" https://groups.google.com/forum/#!msg/vim_dev/afPqwAFNdrU/nqh6tOM87QUJ
set background=dark

@ -0,0 +1,11 @@
---
layout: post
tags: []
categories: []
#image:
# path: '/content/images/202X/image.png'
# alt: 'image name'
#description:
#permalink: //
title: ''
---

@ -4,7 +4,7 @@ GOPATH=$HOME/gocode
# Look in ~/.oh-my-zsh/themes/
ZSH_THEME="kafeitu-dirtrim"
SAVEHIST=1000000
SAVEHIST=100000
# Aliases
[ -f $HOME/.zsh/aliases.zsh ] && . $HOME/.zsh/aliases.zsh

@ -133,6 +133,7 @@ autocmd BufWritePre *.yml normal m`:%s/\s\+$//e``
autocmd BufRead,BufNewFile *.yml set shiftwidth=2
autocmd BufRead,BufNewFile *.yml set softtabstop=2
autocmd BufNewFile *.md 0r ~/.vim/templates/skeleton.md
" Call spellcheck on write for markdown
autocmd BufWritePre *.md :SpellCheck
autocmd FileType markdown setlocal complete+=kspell
@ -157,6 +158,7 @@ set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_ebuild_checkers = ['pkgcheck']
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 0
let g:syntastic_check_on_wq = 0

Loading…
Cancel
Save