Todo and countdown module
- caps unlock
- caps lock
- waybar themes with matching rofi theme
waybar.mp4
git clone https://github.com/Harsh-bin/waybar-config.git
cd waybar-config
chmod +x ./install.sh
./install.sh
This is important: configuration relies on the Foot terminal,
"custom/countdown":
{
"exec": "~/.config/waybar/scripts/countdown/countdown.sh",
"return-type": "json",
"format": "{}",
"interval": 3600,
"on-click-right": "foot bash ~/.config/waybar/scripts/countdown/countdown.sh interactive", # change this to your preferred terminal
"on-scroll-up": "~/.config/waybar/scripts/countdown/countdown.sh scroll-up",
"on-scroll-down": "~/.config/waybar/scripts/countdown/countdown.sh scroll-down"
},
and also the todo.sh script used by the custom/todo module.
you must either install it or update configuration and a single line in todo.sh to use a different terminal emulator.
Example: Change the browser used by the custom/chrome module
- Open the file
config.jsoncand editcustom/chrome
"custom/chrome":
{
"format": "",
"tooltip": true,
"tooltip-format": "Browser",
"on-click": "google-chrome-stable",
"on-click-right": "chromium",
"on-click-middle": "brave"
}
- Edit the
on-click,on-click-right, oron-click-middlecommands to your preferred browsers. For example, to make left-click openfirefox, right-click openbrave, and middle-clickgoogle-chromechange it to:
"custom/chrome":
{
"format": "",
"tooltip": true,
"tooltip-format": "Browser",
"on-click": "firefox",
"on-click-right": "brave",
"on-click-middle": "google-chrome-stable"
}
Apply the same edit pattern to other custom/* modules.
lock.sh— lock screen helper requires swaylock-effectspower.sh— uses zenity to show menu (shutdown, reboot, logout)logout cmd is configured for labwc modify this according to your DEtheme.sh— cycle through the waybar themes on right clicking the menu modulecountdown.sh— used by thecustom/countdownmoduletodo.shandtodo_tui.sh— used by thecustom/todomodule














