← Back

My custom tool that makes college easier

06/06/25

5 min read

Since I switched to Linux I have been looking for ways to be more productive as a student.

I found a post written by Gilles Castel that explained his awesome way of making notes using Latex and Python scripts.

Read the original post on Gilles’ website.

My tool is written in Bash. You can check out the code on Github.

How does it work?

The structure of my school directory is as following.

school (main) -> tree
.
├── course -> /home/kaj/school/semester/course-1
├── semester -> /home/kaj/school/semester-1
└── semester-1

course and semester are both symlinks to the current course or semester that I selected using ./school.sh courses and ./school.sh semesters.

Keybindings

All of my keybindings are managed by the sxhkd keyboard daemon. I use rofi to show the output of my tool.

super + s
    rofi -modi 'semesters:school-setup semesters' \
    -show semesters -p '' \
    -theme-str 'prompt \{ enabled: false; \}'
super + c
	rofi -modi 'courses:school-setup courses' \
    -show courses -p '' \
    -theme-str 'prompt \{ enabled: false; \}'

I also created keybindings for opening a terminal or file manager in the current course directory.

super + o
	pcmanfm /home/kaj/school/course
super + p
	alacritty --working-directory /home/kaj/school/course