Browse Source

calcurse config, i3 bindings

- replace urxvt commands with $term
- small, sticky cava
- twem link script
- paste emails
red-hat-laptop
Kevin Mok 5 years ago
parent
commit
1e65b54066
Signed by: Kevin-Mok GPG Key ID: AEA75288DC135CF5
  1. 26
      aliases/key_aliases.tmpl
  2. 1
      aliases/key_dirs.tmpl
  3. 5
      aliases/key_files.tmpl
  4. 3
      dot_config/fish/config.fish.tmpl
  5. 6
      dot_config/fish/functions/sync-alt-cal.fish
  6. 3
      dot_config/fish/functions/tmux-attach.fish
  7. 73
      dot_config/i3/config.tmpl
  8. 3
      dot_ssh/authorized_keys-all
  9. 2
      dot_tmux.conf
  10. 2
      dot_vimrc.tmpl
  11. 64
      private_dot_calcurse/caldav/config
  12. 32
      private_dot_calcurse/conf
  13. 55
      private_dot_calcurse/keys
  14. 8
      scripts/executable_twem

26
aliases/key_aliases.tmpl

@ -8,8 +8,8 @@
c "printf '\033c'"
d "cd ~/Downloads && printf '\033c'"
hst "history"
## nf "printf '\033c' && neofetch | lolcat"
nft "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"
@ -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,13 +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"
ssdh "mosh kevin@165.22.239.234 htop"
sdh "mosh kevin@165.22.239.234 htop"
# test server sites
svp "firefox pste.gq smol.gq git.ataraxy.tk"
svp "firefox git.ataraxy.tk khkm.tk cal.khkm.tk pste.gq smol.gq twem.tk"
# postgres ssh tunnel
ssdt "ssh kevin@165.22.239.234 -L 5433:localhost:5432"
sdt "ssh kevin@165.22.239.234 -L 5433:localhost:5432"
# ]]] ssh #
@ -256,6 +257,7 @@ nt "nginx -t"
# ]]] internet #
fl "file"
id "identify"
# rz "source ~/{{ .chezmoi.os }}-config/aliases/zsh_aliases"
@ -272,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"
@ -287,6 +290,9 @@ but "buku -zu --tag"
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"
@ -301,11 +307,12 @@ 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"
@ -338,6 +345,7 @@ tl "tmux ls"
tn "tmux new -s"
tnb "tmux new -s backup"
#]]]
usn "usernames --num 20"
vmd "vimdiff"
wg "wego"
ytd "youtube-dl"

1
aliases/key_dirs.tmpl

@ -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 }}

5
aliases/key_files.tmpl

@ -9,6 +9,7 @@ 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

3
dot_config/fish/config.fish.tmpl

@ -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
@ -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"

6
dot_config/fish/functions/sync-alt-cal.fish

@ -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

3
dot_config/fish/functions/tmux-attach.fish

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

73
dot_config/i3/config.tmpl

@ -1,6 +1,6 @@
# startup [[[ #
# set $term urxvt
# set $term $term
# set $term_alt st
set $term st
set $term_alt urxvt
@ -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 }}
@ -248,7 +253,8 @@ bindsym Control+$mod+l resize shrink width 5 px or 5 ppt
bindsym shift+x kill
bindsym Control+$mod+t sticky toggle
bindsym Control+$mod+a floating enable; resize set 400px 125px; move absolute position 1648 0; 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
@ -292,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
@ -307,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
@ -332,37 +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 urxvt -e tmux a -t journal
# 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 urxvt -e tmux a -t config
# 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 urxvt -e gotop -m
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 "

3
dot_ssh/authorized_keys-all

@ -3,5 +3,6 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDXFCZAL7Ox77Bc/hjIXLyL+xkKFuYFyj1q4ssMTZeb
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC8G5JnDfMqhXGIYh6Bj2NEgv4Ags9MWIvz6YWbttOG6kSyiT3WnrTMdoPT1NzC+Sm0xWiLKwVd+axR6E7Irk/QjZl7sJIVTKMv0yi1FnXkcwZPup6WXUsXx5021UVv7yIOKuosoXyFkgtM1Lhh2mJB+beNBlPcI0+ztxF96XDQYsuQEVIiKNGOb9zKE2W4vBr0+BGTh+90SvXUdzkm66lxAXnCjdaA/2TMi/yG2+0ROyRslJ7yPrgB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dIW1QCIg/mhWBFaFBo9JWMTvLVh3sBUYNbH8STuQcEvGmWCfvSE/q481 kevin@x1-carbon

2
dot_tmux.conf

@ -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

2
dot_vimrc.tmpl

@ -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

64
private_dot_calcurse/caldav/config

@ -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

@ -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

@ -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 -

8
scripts/executable_twem

@ -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
Loading…
Cancel
Save