Косметические изменения

This commit is contained in:
2026-01-07 11:26:18 +07:00
parent dc6bdb14e0
commit 4065c6d74d
2 changed files with 20 additions and 29 deletions

View File

@@ -4,7 +4,7 @@
*******************************************************/
configuration {
font: "Ubuntu Bold 13";
font: "JetBrainsMono NF Medium 13";
show-icons: false;
icon-theme: "Arc-X-D";
scroll-method: 0;
@@ -19,7 +19,7 @@ window {
border: 2;
padding: 10;
transparency: "real";
width: 210px;
width: 240px;
location: northwest;
y-offset: 30;
/*x-offset: 850;*/

View File

@@ -10,29 +10,20 @@ reboot="󱍷....Перегрузить"
selected_option=$(echo "$lock
$logout
$reboot
$shutdown" | rofi -dmenu\
-i\
-p "Power"\
$shutdown" | rofi -dmenu -i -p "Power" \
-config "~/.config/rofi/powermenu.rasi" \
-font "Symbols Nerd Font 14"\
-font "JetBrainsMono NF Medium 13" \
-width "15" \
-lines 5\
-line-margin 3\
-line-padding 10\
-scrollbar-width "0" )
-lines 5 -line-margin 3 -line-padding 10 -scrollbar-width "0")
# Do something based on selected option
if [ "$selected_option" == "$lock" ]
then
if [ "$selected_option" == "$lock" ]; then
/home/$USER/.config/bspwm/scripts/i3lock-fancy/i3lock-fancy.sh
elif [ "$selected_option" == "$logout" ]
then
elif [ "$selected_option" == "$logout" ]; then
bspc quit
elif [ "$selected_option" == "$shutdown" ]
then
elif [ "$selected_option" == "$shutdown" ]; then
systemctl poweroff
elif [ "$selected_option" == "$reboot" ]
then
elif [ "$selected_option" == "$reboot" ]; then
systemctl reboot
else
echo "No match"