blob: 1553425888d1c9cc1f3c1b4607d0f512167d0f6a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/usr/bin/env bash
set -euo pipefail
# SPDX-FileCopyrightText: 2025-present Ahum Maitra theahummaitra@gmail.com
#
# SPDX-License-Identifier: GPL-3.0-or-later
# Repository url : https://github.com/TheAhumMaitra/cautious-waddle
# User choice
choice=$(wallust theme list \
| sed '1d' \
| sed 's/^- //' \
| rofi -dmenu -p "Select Global Theme")
# If user requested to exit, then exit
[[ -z "$choice" ]] && exit 0
# Apply the theme
wallust theme "$choice"
# Inform user about theme changed
notify-send "Global theme changed" "Global Theme selected $choice"
# Give warning to user for Waybar theme refresh
notify-send "Press SUPER+ALT+R to Refresh Waybar Theme"
|