modifications

This commit is contained in:
VincentKnightTesting 2022-03-14 17:21:34 -05:00
parent cf66d967f3
commit b0c58f46e0
6 changed files with 15 additions and 14 deletions

View File

@ -5,5 +5,5 @@
bg: #000000ff;
se: #101010ff;
fg: #FFFFFFff;
ac: #00B19Fff;
ac: #EC407Aff;
}

View File

@ -15,7 +15,7 @@
# full_circle full_square full_rounded full_alt
# row_circle row_square row_rounded row_alt
theme="full_circle"
theme="row_circle"
dir="$HOME/.config/rofi/powermenu"
# random colors
@ -23,22 +23,21 @@ styles=($(ls -p --hide="colors.rasi" $dir/styles))
color="${styles[$(( $RANDOM % 8 ))]}"
# comment this line to disable random colors
sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi
#sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi
# comment these lines to disable random style
themes=($(ls -p --hide="powermenu.sh" --hide="styles" --hide="confirm.rasi" --hide="message.rasi" $dir))
theme="${themes[$(( $RANDOM % 24 ))]}"
#themes=($(ls -p --hide="powermenu.sh" --hide="styles" --hide="confirm.rasi" --hide="message.rasi" $dir))
#theme="${themes[$(( $RANDOM % 24 ))]}"
uptime=$(uptime -p | sed -e 's/up //g')
rofi_command="rofi -theme $dir/$theme"
# Options
shutdown=""
reboot=""
lock=""
suspend=""
logout=""
shutdown=""
reboot="RE"
lock="🔓"
suspend=""
logout="🔒"
# Confirmation
confirm_exit() {

View File

@ -7,4 +7,4 @@
*
*/
@import "nightly.rasi"
@import "gotham.rasi"

View File

@ -1,5 +1,5 @@
* {
background: #24334Aff;
background: #0a0e14ff;
background-alt: #29384Fff;
foreground: #FEFFF1ff;
border: #3A6081ff;

View File

@ -10,6 +10,9 @@ super + space
# make sxhkd reload its configuration files:
super + Escape
pkill -USR1 -x sxhkd
super + shift + Escape
~/.config/rofi/powermenu/powermenu.sh
#screenshot
super + ctrl + s
wackysnap area

@ -1 +0,0 @@
Subproject commit 42e5763782fdc1aabb9f2624d468248d6978abe2