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; bg: #000000ff;
se: #101010ff; se: #101010ff;
fg: #FFFFFFff; fg: #FFFFFFff;
ac: #00B19Fff; ac: #EC407Aff;
} }

View file

@ -15,7 +15,7 @@
# full_circle full_square full_rounded full_alt # full_circle full_square full_rounded full_alt
# row_circle row_square row_rounded row_alt # row_circle row_square row_rounded row_alt
theme="full_circle" theme="row_circle"
dir="$HOME/.config/rofi/powermenu" dir="$HOME/.config/rofi/powermenu"
# random colors # random colors
@ -23,22 +23,21 @@ styles=($(ls -p --hide="colors.rasi" $dir/styles))
color="${styles[$(( $RANDOM % 8 ))]}" color="${styles[$(( $RANDOM % 8 ))]}"
# comment this line to disable random colors # 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 # comment these lines to disable random style
themes=($(ls -p --hide="powermenu.sh" --hide="styles" --hide="confirm.rasi" --hide="message.rasi" $dir)) #themes=($(ls -p --hide="powermenu.sh" --hide="styles" --hide="confirm.rasi" --hide="message.rasi" $dir))
theme="${themes[$(( $RANDOM % 24 ))]}" #theme="${themes[$(( $RANDOM % 24 ))]}"
uptime=$(uptime -p | sed -e 's/up //g') uptime=$(uptime -p | sed -e 's/up //g')
rofi_command="rofi -theme $dir/$theme" rofi_command="rofi -theme $dir/$theme"
# Options # Options
shutdown="" shutdown=""
reboot="" reboot="RE"
lock="" lock="🔓"
suspend="" suspend=""
logout="" logout="🔒"
# Confirmation # Confirmation
confirm_exit() { 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; background-alt: #29384Fff;
foreground: #FEFFF1ff; foreground: #FEFFF1ff;
border: #3A6081ff; border: #3A6081ff;

View file

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

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