psamim / dotfiles

My dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Description

Related to Emacs, Org-mode or ledger-cli

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).

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.

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.

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.

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.

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.

This small shell script needs to be in PATH so that ledger-cli can update its price database using --download option.

Other

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.

A shell script to check if kernel needs a reboot to upgrade. I use this in bars to display REBOOT so that I know.

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.

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).

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.

This shell script inverts colors of the currently active window using picom and toggles it.

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.

Shell script to generate brown noise.

About

My dotfiles


Languages

Language:Emacs Lisp 38.7%Language:Shell 22.8%Language:Lua 17.8%Language:Haskell 5.5%Language:Vim Script 5.5%Language:Python 4.2%Language:JavaScript 1.6%Language:Ruby 1.3%Language:Perl 1.1%Language:YASnippet 0.8%Language:Common Lisp 0.5%Language:SCSS 0.1%Language:CSS 0.1%Language:AppleScript 0.0%