Skip to content

psamim/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

05babe6 · Nov 3, 2024
Apr 16, 2022
Jan 31, 2022
May 13, 2016
Aug 21, 2021
Jun 29, 2022
Apr 16, 2022
Jan 31, 2022
Jul 21, 2017
Jun 21, 2024
Jun 5, 2024
Oct 7, 2024
Nov 5, 2020
Apr 16, 2022
May 27, 2024
Jan 7, 2022
Sep 2, 2024
Oct 25, 2016
Jan 31, 2022
Sep 2, 2024
May 27, 2024
Feb 15, 2021
Sep 2, 2024
Dec 4, 2023
Aug 6, 2020
Jul 27, 2014
Sep 24, 2020
Jan 16, 2024
Dec 10, 2021
Nov 3, 2024
Dec 10, 2021
Jun 14, 2015
Dec 30, 2021
Jun 6, 2021
Feb 3, 2018
Sep 1, 2024
Sep 21, 2021
Apr 3, 2020
Oct 7, 2024
Jun 27, 2022
May 29, 2016
Mar 2, 2024
Jan 31, 2022
Jun 17, 2019
Nov 3, 2024
Jun 15, 2017
Aug 9, 2016
Oct 29, 2013
Nov 24, 2015
Oct 17, 2020
Jul 27, 2021
Sep 12, 2016
Sep 24, 2020
May 1, 2024
Jan 8, 2024
Jan 31, 2022
Jan 9, 2022
Aug 16, 2016
Jul 27, 2022
Apr 16, 2022
Nov 29, 2019

Repository files navigation

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.