2 Commits

Author SHA1 Message Date
1e65b54066 calcurse config, i3 bindings
- replace urxvt commands with $term
- small, sticky cava
- twem link script
- paste emails
2019-09-02 16:23:24 -04:00
5c4e37fb84 i3: floating sticky visualizer keybinding 2019-08-30 22:23:48 -04:00
18 changed files with 298 additions and 74 deletions

View File

@@ -8,8 +8,8 @@
c "printf '\033c'"
d "cd ~/Downloads && printf '\033c'"
hst "history"
## nf "printf '\033c' && neofetch | lolcat"
nf "printf '\033c' && neofetch"
nft "printf '\033c' && neofetch | lolcat"
# nft "printf '\033c' && neofetch"
fi "fish"
# reload urxvt
ru "xrdb ~/.Xresources && grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2 | xargs wal -i > /dev/null"
@@ -20,7 +20,7 @@ dua "sudo du -h --apparent-size | sort -h"
# dum "sudo du -d 1 -m --apparent-size | sort -h"
duh "du -d 1 -h --apparent-size | sort -h"
dum "du -d 1 -m --apparent-size | sort -h"
m "man"
# m "man"
tld "tldr"
# ]]] basic #
@@ -38,7 +38,7 @@ xrs "xrandr -s 0"
# ]]] display #
vgb "sudo nvim /etc/default/grub"
ngb "sudo nvim /etc/default/grub"
mkgb "sudo grub-mkconfig -o /boot/grub/grub.cfg"
a "bat"
@@ -50,6 +50,7 @@ cld "colordiff -wy --suppress-common-lines"
mkpk "makepkg -sri"
ex "chmod +x"
lns "ln -s"
# systemctl [[[ #
ct "sudo systemctl"
@@ -74,8 +75,13 @@ nctr "sudo systemctl restart netctl-auto@wlp4s0.service"
cpssh "ssh-copy-id -i ~/.ssh/id_rsa.pub"
xcssh "bat ~/.ssh/id_rsa.pub | xclip -selection clipboard"
ssp "mosh --ssh='ssh -p 8022' 192.168.0.12"
sp "mosh --ssh='ssh -p 8022' 192.168.0.12"
ssd "mosh kevin@165.22.239.234 tmux a"
sdh "mosh kevin@165.22.239.234 htop"
# test server sites
svp "firefox git.ataraxy.tk khkm.tk cal.khkm.tk pste.gq smol.gq twem.tk"
# postgres ssh tunnel
sdt "ssh kevin@165.22.239.234 -L 5433:localhost:5432"
# ]]] ssh #
@@ -190,6 +196,8 @@ yaq "yay -Qi"
yal "yay -Ql"
# remove
yar "yay -Rns"
# search
yas "yay -Qs"
# sync
yau "yay -Sy"
# sync and download
@@ -249,10 +257,11 @@ nt "nginx -t"
# ]]] internet #
fl "file"
id "identify"
# rz "source ~/{{ .chezmoi.os }}-config/aliases/zsh_aliases"
# mst "sudo rm ~/st/config.h && sudo bear make -C ~/st install"
mst "sudo rm ~/st/config.h && sudo bear make -C ~/st install"
# mst "sudo ~/st/make-st.sh"
# system ]]]
@@ -265,6 +274,7 @@ am "antimicro"
# b "buku"
bd "buku -za '"
bdb "sqlitebrowser ~/.local/share/buku/bookmarks.db &"
bh "buku -h | bat"
bi "buku --immutable 1 -zu"
bo "buku -o"
@@ -277,9 +287,12 @@ bsv "bukuserver run --host 127.0.0.1 --port 5001"
bt "buku --deep -n5 -t"
bu "buku -zu"
but "buku -zu --tag"
bw "buku --immutable 1 -zw"
bw "buku --immutable 1 -zw -1"
# ]]] buku #
cc "calcurse"
ccc "calcurse -D ~/.calcurse/alt-cals/class"
ccs "calcurse-caldav"
chr "google-chrome"
clc "cloc ."
cv "cava"
@@ -289,14 +302,17 @@ fh "feh"
fi "fish"
gpd "gpg --decrypt"
gpe "gpg --encrypt --recipient"
hba "habitctl ask"
hbl "habitctl log"
htc "htop -s PERCENT_CPU"
htm "htop -s PERCENT_MEM"
i "sxiv"
ig "sxiv -a"
ia "sxiv -a"
it "sxiv -t *"
ki "kill -9"
ka "killall"
kd "killall Discord && killall Discord && killall slack"
kd "killall Discord && killall Discord"
kr "killall electron"
kt "killall thunderbird"
mp "mpv --volume=50"
mra "man ranger"
@@ -316,21 +332,20 @@ rbg "ranger --selectfile (grep wallpaper ~/.cache/wal/colors.sh | cut -d\' -f2)"
rgc "clear && tmux clear-history && rg"
rx "redshift -x"
sn "sudo nvim"
ssh "mosh"
ss "mosh"
stp "termdown"
# sw "swex"
t "tmux"#[[[
ta "tmux a -t"
tac "tmux a -t config"
taj "tmux a -t journal"
tac "tmux a -t config || tmux new -s config"
taj "tmux a -t journal || tmux new -s journal"
tal "tmux a"
tk "tmux kill-server"
tl "tmux ls"
tn "tmux new -s"
tnb "tmux new -s backup"
tnc "tmux new -s config"
tnj "tmux new -s journal"
#]]]
usn "usernames --num 20"
vmd "vimdiff"
wg "wego"
ytd "youtube-dl"
@@ -465,6 +480,7 @@ gsl "git shortlog"
gcln "git clone"
gs "git status -u"
gf "git fetch origin"
gfg "git fetch gitea"
gch "git checkout"
gchn "git checkout -b"
@@ -585,7 +601,7 @@ wr0 "watson report --all --project=309 --tag=phase2"
# server [[[ #
nd "node"
# nd "node"
ndm "nodemon"
knd "killall node"
mg "mongo"
@@ -654,9 +670,11 @@ ms "minetestserver"
msc "minetestserver --gameid minetest --worldname Creative --terminal"
# msh "minetestserver --gameid minetest --worldname Hevin --config ~/.minetest/hevin.conf --terminal"
msh "minetestserver --gameid mineclone2 --worldname Hevin-MC --config ~/.minetest/hevin-mc.conf --terminal"
mst "minetestserver --gameid minimal --worldname Test --terminal"
msv "minetestserver --gameid minimal --worldname Test --terminal"
# mtrsy "rsync -vr .minetest/ /mnt/linux-files/.minetest/"
tet "pandoc -f markdown -t html twitch-emote-conversion.md | xclip -selection clipboard"
# ]]] games #
# school [[[ #

View File

@@ -6,7 +6,7 @@ bg ~/Pictures/Backgrounds
cf ~/linux-config/dot_config
cfd ~/.config
cff ~/.config/fish
do ~/Downloads
dl ~/Downloads
# dw ~/dwm
D ~/Documents
k ~/
@@ -52,6 +52,7 @@ sv ~/coding/spotify-lib-vis/src
svg ~/coding/spotify-lib-vis/src/graphs/static/graphs/scripts
swd ~/coding/swex
tb ~/coding/trapbot/src/trapbot
te ~/Documents/twitch-emotes
wo ~/Documents/workout-logs
{{ end }}
@@ -67,6 +68,8 @@ adP ~/Pictures/ada-mario
# gaming [[[ #
te ~/Documents/twitch-emote-conversion
mt ~/.minetest
mta ~/.minetest/clientmods/custom_aliases
mtc ~/.minetest/games/mineclone2/mods

View File

@@ -4,11 +4,12 @@
3 ~/linux-config/dot_config/i3/config.tmpl
a ~/linux-config/aliases/key_aliases.tmpl
ak ~/.ssh/authorized_keys
ak ~/linux-config/dot_ssh/authorized_keys-all
d ~/linux-config/aliases/key_dirs.tmpl
dw ~/dwm/config.def.h
f ~/linux-config/aliases/key_files.tmpl
h ~/.local/share/fish/fish_history
n ~/linux-config/dot_vimrc.tmpl
p ~/linux-config/txt/pacman-pkgs/pacman-pkgs.txt
r ~/linux-config/dot_config/ranger/rc.conf.tmpl
sr ~/linux-config/configs/ranger/shortcuts.conf
@@ -16,7 +17,6 @@ ss ~/.shortcuts
st ~/st/config.def.h
t ~/linux-config/dot_tmux.conf
u ~/linux-config/dot_Xresources.tmpl
v ~/linux-config/dot_vimrc.tmpl
x ~/linux-config/dot_config/fish/config.fish.tmpl
xi ~/linux-config/dot_xinitrc
y ~/.zshrc
@@ -37,7 +37,7 @@ cmt /tmp/commit-msg.txt
hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log
id ~/Documents/journal/todo/ideas.md
ig ./.gitignore
jn ~/Documents/journal/todo/8.md
jn ~/Documents/journal/todo/9.md
jt ~/Documents/journal/todo/todo.md
lh ~/Documents/listening-history/polarbier.csv
mc ~/coding/mf-site/assets/sass/main.scss
@@ -45,6 +45,7 @@ mi ~/coding/mf-site/ideas.md
ne ~/linux-config/configs/neofetch/config.conf
re README.md
td todo.md
el ~/Documents/twitch-emotes/links-new.md
tg ~/.config/watson/tags_cache
tt txt/todo.md
tm ~/.vim/plugged/vim-snippets/UltiSnips/texmath.snippets

View File

@@ -26,10 +26,10 @@ URxvt.font: xft:DejaVuSansMono Nerd Font Mono:size=12
/* resize [[[ */
URxvt.resize-font.step: 4
URxvt.keysym.C-Down: resize-font:smaller
URxvt.keysym.C-Up: resize-font:bigger
URxvt.keysym.C-equal: resize-font:reset
URxvt.keysym.C-question: resize-font:show
URxvt.keysym.C-S-Down: resize-font:smaller
URxvt.keysym.C-S-Up: resize-font:bigger
URxvt.keysym.C-S-equal: resize-font:reset
URxvt.keysym.C-S-question: resize-font:show
/* ]]] resize */

View File

@@ -29,6 +29,7 @@ set -x CLASSPATH $CLASSPATH /home/kevin/java/*.jar
set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH /usr/local/lib /usr/local/lib64
set -x PKG_CONFIG_PATH $PKG_CONFIG_PATH /usr/lib/pkgconfig
set -x HASTE_SERVER https://pste.gq
set -x CALCURSE_CALDAV_PASSWORD (pass show technology/linux/baikal | head -n1)
{{ if eq .linux_os "termux" }}
# set SPACEFISH_PROMPT_ORDER time user dir host git package node docker ruby golang php rust haskell julia aws conda pyenv kubecontext exec_time line_sep battery jobs exit_code vi_mode char
@@ -118,7 +119,7 @@ abbr gro "git-replace-origin"
# ]]] git #
abbr hs "scan-history"
abbr mn "man-vim"
abbr m "man-vim"
abbr mat "math"
abbr pgr "grep-pdf"
abbr pgrf "grep-pdf-file"
@@ -127,6 +128,8 @@ abbr pst "pastebin"
abbr rf "refresh-config"
abbr rs "redshift-set"
abbr shrm "shred-rm"
abbr tac "tmux-attach config"
abbr taj "tmux-attach journal"
abbr thes "thesaurus"
abbr ut "unix-timestamp"
abbr uzr "unzip-rm"

View File

@@ -0,0 +1,8 @@
function gen-pass
if count $argv > /dev/null
set chars $argv[1]
else
set chars 25
end
base64 /dev/urandom | head -c $chars
end

View File

@@ -0,0 +1,6 @@
function sync-alt-cal
set alt_cal_dir /home/kevin/.calcurse/alt-cals
calcurse-caldav --syncdb $alt_cal_dir/$argv[1]/sync.db \
--config $alt_cal_dir/$argv[1]/caldav/config \
--datadir $alt_cal_dir/$argv[1]
end

View File

@@ -0,0 +1,3 @@
function tmux-attach
tmux a -t $argv[1] || tmux new -s $argv[1]
end

View File

@@ -1,9 +1,9 @@
# startup [[[ #
set $term urxvt
set $term_alt st
# set $term st
# set $term_alt urxvt
# set $term $term
# set $term_alt st
set $term st
set $term_alt urxvt
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
exec dunst
exec compton
@@ -13,7 +13,7 @@ exec xbacklight -set 10
# exec wal -i "$(/home/kevin/scripts/shuffler \"/home/kevin/Pictures/Backgrounds/dim/non-editing\")"
exec wal -i $(/home/kevin/scripts/shuffler "$HOME/Pictures/Backgrounds/dim/non-editing")
{{ end }}
exec --no-startup-id i3-msg 'workspace $ws2; exec $term'
# exec --no-startup-id i3-msg 'workspace $ws2; exec $term'
exec --no-startup-id i3-msg 'workspace $ws3; exec $browser'
# ]]] startup #
@@ -28,6 +28,8 @@ set $sch_dir "$HOME/Documents/School"
# app shortcuts [[[ #
set $type_delay_cmd sleep .4
bindsym Control+Return exec $term
bindsym Control+Shift+Return exec st -A1
bindsym Control+$mod+Return exec $term_alt
@@ -43,28 +45,31 @@ bindsym Mod4+Return exec /home/kevin/scripts/dmenu-history -nb "$fg" -nf "$bg" -
# bindsym Mod4+b layout tabbed; exec zathura
bindsym Mod4+c exec $browser
# bindsym Mod4+e exec notify-send "HPS Word Count" "$(pdftotext /home/kevin/school/latex-notes/hps/essay.pdf - | wc -w)"
bindsym Mod4+e exec emacs
# bindsym Mod4+e exec emacs
bindsym Mod4+e exec ~/scripts/twem
bindsym Mod4+f exec firefox
bindsym Mod4+$mod+f exec echo 'Kevin@fosstodon.org' | xclip -selection clipboard
bindsym Mod4+h exec echo 'kevin.mok@live.ca' | xclip -selection clipboard
# bindsym Mod4+m exec urxvt -e ~/scripts/vim-man
bindsym Mod4+$mod+m exec pass -c uoft/markus
bindsym Mod4+n exec urxvt -e nvim
bindsym Mod4+o exec xclip -selection clipboard ~/.password-store/social/gmail
# bindsym Mod4+$mod+f exec printf 'Kevin@fosstodon.org' | xclip -selection clipboard
bindsym Mod4+h exec $type_delay_cmd && xdotool type 'kevin.mok@live.ca'
# bindsym Mod4+m exec $term -e ~/scripts/vim-man
# bindsym Mod4+$mod+m exec pass -c uoft/markus
bindsym Mod4+n exec $term -e nvim
bindsym Mod4+o exec xclip -selection clipboard ~/.password-store/social/gmail && $type_delay_cmd && xdotool key 'Control_L+v'
# bindsym Mod4+o exec $type_delay_cmd && xdotool key 'Control_L+v'
bindsym Mod4+$mod+o exec xset dpms force off
# bindsym Mod4+p workspace $ws4; exec pgadmin3
# bindsym Mod4+p exec pycharm
bindsym Mod4+p exec passmenu
# bindsym Mod4+$mod+p exec notify-send "ping" "$(ping -c 3 -W 1 8.8.8.8)"
bindsym Mod4+q exec qdirstat
bindsym Mod4+r exec urxvt -e ranger
bindsym Mod4+r exec $term -e ranger
bindsym Mod4+$mod+r exec notify-send "watson restart" "$(watson restart)"
bindsym Mod4+$mod+t exec xclip -selection clipboard ~/.password-store/social/trapbot
bindsym Mod4+u exec echo 'kevin.mok@mail.utoronto.ca' | xclip -selection clipboard
bindsym Mod4+$mod+u exec pass -c uoft/acorn
bindsym Mod4+$mod+t exec xclip -selection clipboard ~/.password-store/social/trapbot && $type_delay_cmd && xdotool key 'Control_L+v'
# bindsym Mod4+u exec printf 'kevin.mok@mail.utoronto.ca' | xclip -selection clipboard
bindsym Mod4+u exec $type_delay_cmd && xdotool type 'kevin.mok@mail.utoronto.ca'
# bindsym Mod4+$mod+u exec pass -c uoft/acorn
bindsym Mod4+w exec notify-send "watson status" "$(watson status)"
bindsym Mod4+$mod+w exec notify-send "watson stop" "$(watson status && watson stop)"
bindsym Control+Mod4+w exec urxvt -e nvim /home/kevin/.config/watson/state.tmp
bindsym Control+Mod4+w exec $term -e nvim /home/kevin/.config/watson/state.tmp
# bindsym Mod4+x exec $swex
bindsym Mod4+z exec cliqz
{{ if .ext_kb }}
@@ -239,14 +244,21 @@ bindsym $mod+v split v
bindsym Mod4+$mod+v split v; exec $term
# resizing windows #
bindsym $mod+Control+h resize grow width 5 px or 5 ppt
bindsym $mod+Control+k resize grow height 5 px or 5 ppt
bindsym $mod+Control+j resize shrink height 5 px or 5 ppt
bindsym $mod+Control+l resize shrink width 5 px or 5 ppt
bindsym Control+$mod+h resize grow width 5 px or 5 ppt
bindsym Control+$mod+k resize grow height 5 px or 5 ppt
bindsym Control+$mod+j resize shrink height 5 px or 5 ppt
bindsym Control+$mod+l resize shrink width 5 px or 5 ppt
# bindsym Control+Shift+x kill
bindsym shift+x kill
bindsym Control+$mod+t sticky toggle
# bindsym Control+$mod+a floating enable; resize set 400px 125px; move absolute position 1648 200; sticky enable
bindsym Control+$mod+a floating enable; resize set 400px 110px; move absolute position 824 992; sticky enable
# for_window [class="ada-mario"] floating enable
# for_window [class="ada-mario"] move absolute position 640 0
# ]]] moving windows #
# backgrounds [[[ #
@@ -286,12 +298,12 @@ set $ws3 "3 "
# set $ws3 "3 "
workspace $ws3 output $main
bindsym $mod+F3 workspace $ws3; exec $browser
# bindsym Mod4+b workspace $ws3; layout stacked; exec urxvt -e fish -c "buku-fzf"
# bindsym Mod4+$mod+b workspace $ws3; layout stacked; exec urxvt -e fish -c "buku-fzf fq"
# bindsym Mod4+b layout stacked; exec urxvt -e fish -c "buku-fzf"
# bindsym Mod4+$mod+b layout stacked; exec urxvt -e fish -c "buku-fzf fq"
bindsym Mod4+b layout tabbed; exec urxvt -e fish -c "buku-fzf"
bindsym Mod4+$mod+b layout tabbed; exec urxvt -e fish -c "buku-fzf fq"
# bindsym Mod4+b workspace $ws3; layout stacked; exec $term -e fish -c "buku-fzf"
# bindsym Mod4+$mod+b workspace $ws3; layout stacked; exec $term -e fish -c "buku-fzf fq"
# bindsym Mod4+b layout stacked; exec $term -e fish -c "buku-fzf"
# bindsym Mod4+$mod+b layout stacked; exec $term -e fish -c "buku-fzf fq"
bindsym Mod4+b layout tabbed; exec $term -e fish -c "buku-fzf"
bindsym Mod4+$mod+b layout tabbed; exec $term -e fish -c "buku-fzf fq"
set $ws4 "4 "
workspace $ws4 output $secondary
@@ -301,11 +313,11 @@ set $ws5 "5 "
workspace $ws5 output $secondary
assign [class="Steam"] $ws5
bindsym $mod+F5 workspace $ws5; exec $browser
# bindsym Mod4+g workspace $ws5; layout stacking; exec urxvt -e steam
# bindsym Mod4+g workspace $ws5; layout stacking; exec $term -e steam
bindsym Mod4+g workspace $ws5; layout tabbed; exec gimp
# bindsym Mod4+g workspace $ws5; exec mgba-qt
bindsym Mod4+i workspace $ws5; exec idea
bindsym Mod4+m workspace $ws5; layout tabbed; exec urxvt -e ~/.minetest/minetest/bin/minetest
bindsym Mod4+m workspace $ws5; layout tabbed; exec $term -e ~/.minetest/minetest/bin/minetest
bindsym Mod4+t workspace $ws5; exec thunderbird
bindsym Mod4+5 workspace $ws5; exec godot
bindsym Mod4+F5 workspace $ws5; exec cd ~/coding/ada-mario && godot -e
@@ -326,34 +338,40 @@ bindsym Mod4+k workspace $ws6; exec slack
set $ws7 "7 "
workspace $ws7 output $secondary
bindsym $mod+F7 workspace $ws7; exec $term
# bindsym $mod+F7 workspace $ws7; exec $term
bindsym $mod+F7 workspace $ws7; exec $term -e mosh kevin@165.22.239.234 tmux a
# bindsym Mod4+v workspace $ws7; exec VBoxManage startvm "369-a1"
set $ws8 "8 "
# assign [class="jetbrains-"] $ws8
workspace $ws8 output $secondary
bindsym $mod+F8 workspace $ws8; exec $term
# bindsym $mod+F8 workspace $ws8; exec $term
# bindsym $mod+F8 workspace $ws8; exec $term -e tmux a -t journal
bindsym $mod+F8 workspace $ws8; exec $term -e fish -c 'tmux-attach journal'
set $ws9 "9 "
workspace $ws9 output $secondary
bindsym $mod+F9 workspace $ws9; exec $term
# bindsym $mod+F9 workspace $ws9; exec $term
# bindsym $mod+F9 workspace $ws9; exec $term -e tmux a -t config
bindsym $mod+F9 workspace $ws9; exec $term -e fish -c 'tmux-attach config'
set $ws10 "10 "
# set $ws10 "10 🎵"
assign [class="spotify"] $ws10
workspace $ws10 output $secondary
set $hp 2
# bindsym Mod4+v workspace $ws10; exec urxvt -e alsamixer -c 0
bindsym Mod4+v workspace $ws10; exec urxvt -e alsamixer -c 1
bindsym Mod4+$mod+c workspace $ws10; exec urxvt -e cava
# bindsym Mod4+h workspace $ws10; exec urxvt -e alsamixer -c $hp
# bindsym Mod4+v workspace $ws10; exec $term -e alsamixer -c 0
bindsym Mod4+v workspace $ws10; exec $term -e alsamixer -c 1
bindsym Mod4+$mod+c workspace $ws10; exec $term -e cava
# bindsym Mod4+h workspace $ws10; exec $term -e alsamixer -c $hp
bindsym Mod4+s workspace $ws10; exec spotify
set $ws11 "11 "
# set $ws11 "11 📊"
# assign [class="Summoners War Exporter"] $ws11
workspace $ws11 output $secondary
bindsym $mod+F11 workspace $ws11; exec urxvt -e htop -s PERCENT_CPU
bindsym $mod+F11 workspace $ws11; exec $term -e htop -s PERCENT_CPU
# bindsym $mod+F11 workspace $ws11; exec $term -e gotop -m
bindsym Mod4+a workspace $ws11; exec antimicro
set $ws12 "12 "
@@ -457,8 +475,8 @@ bar {
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
font pango:$sb_font 17
{{ else }}
# font pango:$sb_font 19
font pango:$sb_font 17
# font pango:$sb_font 17
font pango:$sb_font 16
{{ end }}
colors {
# 0 (transparent) -> 255 (opaque) in hex
@@ -487,7 +505,6 @@ bar {
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
font pango:$sb_font 18
{{ else }}
# font pango:$sb_font 22
font pango:$sb_font 20
{{ end }}
# output $main

View File

@@ -1,7 +1,8 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDCCrA4s1Tkf53zwbpxBQMWvul2ASWherM2PzDpWNuFg9Pi9D5xDwE+w2cFGUM1boTDsAxd+r+o1tA/J7wlok8ZrRPnkD5Rpr3itCnDU1ZCnNBk8i5Ip6j+AEcs8g4HRTG15IeXXkqWwd+cKt2PNMI7QcVUGOXctZOjVaWl9bAt9K++KM/RlFH/cvm/2ABNG9WPNvY3s8XkQoSxD2F8dolHn+ZXbriAPkfPYbENhuKXTrmc988VvWJd40/4V9XrwCQF9xl5FROfqhJgedueR6aeZbO3JC/i21eTZqqfso267FCUWpF8ZWHpRUq83T1vqIZTlNfHSZu08YTNYVx936gmnYfhgZxl2+FgBmwiUAZRRzg7v8/VrAE/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= u0_a127@localhost
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvFnQfT7+EmSiFatWKG/BSGYOzZR4FD3c12u4G91bdrPBQYgHEVnIBs+dCYbjqxfmDkTsO4erk3A7fN7Sv4ZhzYN8Lr6lEI4CZLRLVfew7gdiOrONmsP3etUnNCqQT3X/IvkULrtCdd+dueiFjUGJBqBAUb9F3YjQwQ7ueaBhzxaJm9uX8bCIpogvF0dFIfB9fTeTv5Nhoq5/3JpzD0cuSxbKC+Brf/Hn1YEkVN7DXV70UU/AGOorhG8tE3QuZsdE/fLgXjMA1txp6JNW0Qf1YGOlKTjmaeS8wSos4a+u1N35LLoaaJY9G9g6QKClvqq2ktzetaKMwESVvTKDeiGz9w== termux
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDOzLyABVS1kDnT/d2FjnytmaUTCYVqngiG38Vp+VARjBouCFV9Kjgz1To/jIuFuk4soiLFa41IgR4xgtZ6o03/WVUa3PbjY8d3NiBIt39cf2C763CTGm6GD15h0/mzVQIVTLB9xBUrF2GfhKMEgrVo3XaKrfZaAhAtJ4lovr/xuL+rqEXPF9K2a8I2XdaIMygqBtVgVhGPdKAmBivUyilWJjboWUmqtly/IfDnlQk8XTccnr+hxLqvPFRmshgNeVulzUX6TFrbc7IzS0LyfCIuMLXYD0l7dIW1QCIg/mhWBFaFBo9JWMTvLVh3sBUYNbH8STuQcEvGmWCfvSE/q481 kevin@x1-carbon

View File

@@ -7,3 +7,4 @@ gist.github.com,192.30.253.119 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9t
[git.minetest.land]:29418,[138.68.99.164]:29418 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFZHwhZPX7dbFHJKgBm6EhGdmq3d3V+wIjyozeBk+xyi0IJqEII6QGHd9RCadBHBYo6Fqm0CBeltKqahzK2xVG0=
git.ataraxy.tk ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEJZ1V+aIttpI7AxD84rSGu/xxMDDdn/A5EzkJlfs3g41Fq67xDJ0p7G9u2BwReN9wdns2YOh29JaBxtttgNTxw=
khkm.tk ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEJZ1V+aIttpI7AxD84rSGu/xxMDDdn/A5EzkJlfs3g41Fq67xDJ0p7G9u2BwReN9wdns2YOh29JaBxtttgNTxw=
ataraxy.tk,165.22.239.234 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEJZ1V+aIttpI7AxD84rSGu/xxMDDdn/A5EzkJlfs3g41Fq67xDJ0p7G9u2BwReN9wdns2YOh29JaBxtttgNTxw=

View File

@@ -92,7 +92,7 @@ set -g status-left "#[fg=colour233,bg=colour240] #S #[fg=colour240,bg=colour235]
set -g status-right-style bg=colour233,fg=colour243
set -g status-right-length 150
# set -g status-right "#[fg=colour235,bg=colour233]#[fg=colour240,bg=colour235] %H:%M #[fg=colour240,bg=colour235]#[fg=colour233,bg=colour240] %d-%b-%y #[fg=colour39,bg=colour240]#[fg=colour233,bg=colour39,bold] #H "
set -g status-right "#[fg=colour235,bg=colour233]#[fg=colour240,bg=colour235] %H:%M #[fg=colour240,bg=colour235]#[fg=colour233,bg=colour240] %a-%d-%m #[fg=colour39,bg=colour240]"
# set -g status-right "#[fg=colour235,bg=colour233]#[fg=colour240,bg=colour235] %H:%M #[fg=colour240,bg=colour235]#[fg=colour233,bg=colour240] %a-%m-%d #[fg=colour39,bg=colour240]"
# }}}
# Window status

View File

@@ -57,7 +57,7 @@ autocmd CursorHold * if !bufexists("[Command Line]") | checktime | endif
" commands for file types [[[ "
autocmd BufNewFile,BufRead .* set syntax=sh
autocmd FileType *css,htmldjango,html,javascript,json,lisp,markdown,tex,text,yaml set tabstop=2 shiftwidth=2
autocmd FileType *css,gitcommit,htmldjango,html,javascript,json,lisp,markdown,tex,text,yaml set tabstop=2 shiftwidth=2
" autocmd BufNewFile,BufRead *.md set filetype=markdown
" autocmd Filetype markdown set textwidth=0
" autocmd Filetype html set foldmarker=0
@@ -436,6 +436,8 @@ nnoremap <leader>sc :set spell spelllang=en_us<CR>
nnoremap <leader>sh :!%:p
" sort lines until end of file
nnoremap <leader>so q:i.,$sort<CR>
" vertical split "
nnoremap <leader>sp :sp
" sort lines
nnoremap <leader>sol q:i.,.+sort<ESC>Fsi
" set syntax to shell (for dotfiles)
@@ -443,6 +445,8 @@ nnoremap <leader>sys :set syn=sh<CR>
vnoremap <leader>t :!tac<CR>
" capitalize letter
nnoremap <leader>u vU
" horizontal split "
nnoremap <leader>vs :vs
" open vimrc in vertical split
nnoremap <leader>vv :vsp ~/.vimrc<CR>
" copy next thing to system clipboard

View File

@@ -0,0 +1,64 @@
# If you want to synchronize calcurse with a CalDAV server using
# calcurse-caldav, create a new directory ~/.calcurse/caldav/, copy this file
# to ~/.calcurse/caldav/config and adjust the configuration below.
[General]
# Path to the calcurse binary that is used for importing/exporting items.
Binary = calcurse
# Host name of the server that hosts CalDAV.
# Hostname = p63-caldav.icloud.com
Hostname = cal.khkm.tk
# Path to the CalDAV calendar on the host specified above.
# Path = /1031369542/calendars/School
Path = /cal.php/calendars/Kevin/default
# Type of authentication to use. Must be "basic" or "oauth2"
AuthMethod = basic
# Enable this if you want to skip SSL certificate checks.
InsecureSSL = No
# This option allows you to filter the types of tasks synced. To this end, the
# value of this option should be a comma-separated list of item types, where
# each item type is either "event", "apt", "recur-event", "recur-apt", "todo",
# "recur" or "cal". Note that the comma-separated list must not contain any
# spaces. Refer to the documentation of the --filter-type command line argument
# of calcurse for more details. Set this option to "cal" if the configured
# CalDAV server doesn't support tasks, such as is the case with Google
# Calendar.
SyncFilter = cal,todo
# Disable this option to actually enable synchronization. If it is enabled,
# nothing is actually written to the server or to the local data files. If you
# combine DryRun = Yes with Verbose = Yes, you get a log of what would have
# happened with this option disabled.
# DryRun = Yes
DryRun = No
# Enable this if you want detailed logs written to stdout.
Verbose = Yes
# Credentials for HTTP Basic Authentication. Leave this commented out if you do
# not want to use authentication.
[Auth]
# Username = kevin.mok@live.ca
Username = Kevin
# Optionally specify additional HTTP headers here.
#[CustomHeaders]
#User-Agent = Mac_OS_X/10.9.2 (13C64) CalendarAgent/176
# Use the following to synchronize with an OAuth2-based service
# such as Google Calendar.
#[OAuth2]
#ClientID = your_client_id
#ClientSecret = your_client_secret
# Scope of access for API calls. Synchronization requires read/write.
#Scope = https://example.com/resource/scope
# Change the redirect URI if you receive errors, but ensure that it is identical
# to the redirect URI you specified in the API settings.
#RedirectURI = http://127.0.0.1

32
private_dot_calcurse/conf Normal file
View File

@@ -0,0 +1,32 @@
appearance.calendarview=monthly
appearance.compactpanels=yes
appearance.defaultpanel=calendar
appearance.layout=1
appearance.headerline=yes
appearance.eventseparator=no
appearance.dayseparator=no
appearance.emptyline=no
appearance.notifybar=yes
appearance.sidebarwidth=0
appearance.theme=red on default
appearance.todoview=hide-completed
appearance.headingpos=right-justified
daemon.enable=no
daemon.log=no
format.inputdate=1
format.notifydate=%a %F
format.notifytime=%T
format.outputdate=%D
format.dayheading=%B %e, %Y
general.autogc=no
general.autosave=yes
general.confirmdelete=yes
general.confirmquit=no
general.firstdayofweek=monday
general.multipledays=yes
general.periodicsave=0
general.systemevents=yes
general.systemdialogs=no
notification.command=printf '\a'
notification.notifyall=flagged-only
notification.warning=300

55
private_dot_calcurse/keys Normal file
View File

@@ -0,0 +1,55 @@
#
# Calcurse keys configuration file
#
# In this file the keybindings used by Calcurse are defined.
# It is generated automatically by Calcurse and is maintained
# via the key configuration menu of the interactive user
# interface. It should not be edited directly.
generic-cancel ESC
generic-select SPC
generic-credits @
generic-help ?
generic-quit q Q
generic-save s S ^S
generic-reload R
generic-copy C
generic-paste p ^V
generic-change-view TAB
generic-import i I
generic-export x X
generic-goto g G
generic-other-cmd o O
generic-config-menu c
generic-redraw ^R
generic-add-appt ^A
generic-add-todo ^T
generic-prev-day T ^H
generic-next-day t ^L
generic-prev-week W ^K
generic-next-week w
generic-prev-month M
generic-next-month m
generic-prev-year Y
generic-next-year y
generic-scroll-down ^N
generic-scroll-up ^P
generic-goto-today ^G
generic-command :
move-right l L RGT
move-left h H LFT
move-down j J DWN
move-up k K UP
start-of-week 0
end-of-week $
add-item a A
del-item d D
edit-item e E
view-item v V RET
pipe-item |
flag-item !
repeat r
edit-note n N
view-note >
raise-priority +
lower-priority -

View File

@@ -50,9 +50,9 @@ sed "s/\s*#.*$//;/^\s*$/d" "$key_dirs" | tee \
}' >> "$ranger_mappings"
sed "s/\s*#.*$//;/^\s*$/d" "$key_files" | tee \
>(awk '{print v$1"=\"$EDITOR "$2"\" \\"}' >> "$aliases") \
>(awk '{print "abbr v"$1, "\"$EDITOR "$2"\""}' >> "$fish_abbr") \
| awk '{print "map v"$1" shell $EDITOR "$2}' >> "$ranger_mappings"
>(awk '{print n$1"=\"$EDITOR "$2"\" \\"}' >> "$aliases") \
>(awk '{print "abbr n"$1, "\"$EDITOR "$2"\""}' >> "$fish_abbr") \
| awk '{print "map n"$1" shell $EDITOR "$2}' >> "$ranger_mappings"
sed -e '/^$/d' -e '/[ ]*#.*/d' "$key_aliases" | sort | tee \
>(awk '{printf "abbr " $1; $1 = ""; print $0; }' >> "$fish_abbr") \

8
scripts/executable_twem Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# printf 'twem.tk/.png' | xclip -selection clipboard
sleep .3
xdotool type 'twem.tk/.png'
for i in {1..4} ; do
xdotool key Left
done