About
These are my dotfiles for everything I currently use or used to use. I use install.sh to put everything in place.
Screenshots and Posts
- My org-mode agenda, much better now with category icons!
- xmonad Productivity workflow (Emacs org-mode agenda, Astroid notmuch email client)
- My org-agenda on my phone
Description
Related to Emacs, Org-mode or ledger-cli
clocking
A shell script that displays the title of current active (clocked) heading in Org mode along with its Pomodoro counter and overall spent time. I use this in bars (polybar, awesomewm, i3blocks, etc).clocking.py
A python script that displays the current clocked heading in org-mode. A more fancy version of clocking
script. It has functions like clock_out
or go_to_clock
to be used for click events in i3blocks.
toggle-layout
This shell script toggles the keyboard layout. It checks the current active window, if it is Emacs it sends ctrl-\
to change the input method in Emacs otherwise it calls xkb-switch -n
. This lets me toggle layout with a single key binding whether I am in Emacs or not.
sync-agenda-svg
This script generates and SVG version of my org-agenda. Then I use the SVG file on my phone and also as my browser homepage. There is an screenshot of this in My org-agenda on my phone.
sync-cal
I use this shell script to export my org-mode agenda to an ICS file and upload it to a place where Google Calendar or other calendars can access. This way I have my scheduled items in Google Calendar and can share it with others. The actual function to export to ICS is defined here.
emc and emct
Shell scripts to open emacsclient
in terminal and in window mode. I use them alongside with a Emc.desktop file to make opening files in Emacs easier in file managers like Thunar or Dolphin; using βOpen Withβ¦β menu.
ledger-sync plugins
I use ledger-autosync to import CSV files from my bank into my ledger files. These are the plugins I use for the banks I use.
getquote
This small shell script needs to be in PATH so that ledger-cli can update its price database using --download
option.
Emacs doom configuration
Other
back
I use this shell script to backup everything. It uses Borg to backup and then uses Rclone to send backups to various locations. I run it manually every month. It contains many utility functions to create asymmetric and symmetric encrypted files using GPG, to create and transfer backups and mount LUKS encrypted drives.
reboot-p
A shell script to check if kernel needs a reboot to upgrade. I use this in bars to display REBOOT so that I know.
hdmi-sound-toggle
This shell script checks if HDMI is connected, if is connected it switches Pulseaudio profile to HDMI; Otherwise switches to a default profile. I use this in autorandrβs postswitch script to automatically switch to HDMI sound output.
arbtt-running
This shell script displays arbtt time trackerβs overall time spent today. Also if arbtt-capture is not running it displays a red alert showing OFF. It toggles arbtt-capture on or off on click (in i3blocks).
get-bing-wallpaper
This shell script gets todayβs Bing wallpaper and also writes the image description on the image. There are systemd user services to run this script once daily ,here is the user service and its timer. Also there is a separate service and timer to change the desktop wallpaper periodically.
invert
This shell script inverts colors of the currently active window using picom and toggles it.
xcape
Small systemd user service to start xcape to turn caps lock into escape, when pressed and released on its own. I also turn caps lock to control key in the keyboard-configure script. So my caps lock both works as an escape key and control key.
noise.sh
Shell script to generate brown noise.