Browse Source
calcurse config, i3 bindings
calcurse config, i3 bindings
- replace urxvt commands with $term - small, sticky cava - twem link script - paste emailsred-hat-laptop
Kevin Mok
5 years ago
14 changed files with 237 additions and 46 deletions
-
26aliases/key_aliases.tmpl
-
1aliases/key_dirs.tmpl
-
5aliases/key_files.tmpl
-
3dot_config/fish/config.fish.tmpl
-
6dot_config/fish/functions/sync-alt-cal.fish
-
3dot_config/fish/functions/tmux-attach.fish
-
73dot_config/i3/config.tmpl
-
3dot_ssh/authorized_keys-all
-
2dot_tmux.conf
-
2dot_vimrc.tmpl
-
64private_dot_calcurse/caldav/config
-
32private_dot_calcurse/conf
-
55private_dot_calcurse/keys
-
8scripts/executable_twem
@ -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 |
@ -0,0 +1,3 @@ |
|||
function tmux-attach |
|||
tmux a -t $argv[1] || tmux new -s $argv[1] |
|||
end |
@ -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 |
@ -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 |
@ -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 - |
@ -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 |
Write
Preview
Loading…
Cancel
Save
Reference in new issue