Browse Source

Update with shortcuts on rofipower

pull/32/head
darkeddie 2 years ago
parent
commit
2ad7b840f7
  1. 2
      config/hypr/scripts/RofiPower.sh
  2. 12
      config/rofi/config-powermenu.rasi

2
config/hypr/scripts/RofiPower.sh

@ -7,7 +7,7 @@ uptime_info=$(uptime -p | sed -e 's/up //g')
host=$(hostnamectl hostname) host=$(hostnamectl hostname)
# Options with Icons and Text # Options with Icons and Text
options=("Lock" "Suspend" "Logout" "Reboot" "Shutdown" "Hibernate") options=("Lock(l)" "Suspend(u)" "Logout(e)" "Reboot(r)" "Shutdown(s)" "Hibernate(h)")
icons=("" "" "󰿅" "󱄌" "" "󰒲") icons=("" "" "󰿅" "󱄌" "" "󰒲")
# Rofi CMD # Rofi CMD

12
config/rofi/config-powermenu.rasi

@ -3,7 +3,6 @@
/* ---- Configuration ---- */ /* ---- Configuration ---- */
configuration { configuration {
show-icons: false; show-icons: false;
auto-select: true;
} }
/* ---- Load pywal colors (custom wal template) ---- */ /* ---- Load pywal colors (custom wal template) ---- */
@ -19,8 +18,8 @@ window {
location: center; location: center;
anchor: center; anchor: center;
fullscreen: false; fullscreen: false;
width: 38%; width: 900px;
/*height: 30%;*/ height: 400px;
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
padding: 0px; padding: 0px;
@ -48,7 +47,7 @@ mainbox {
/* ---- Inputbar ---- */ /* ---- Inputbar ---- */
inputbar { inputbar {
enabled: true; enabled: true;
padding: 10px; padding: 20px;
background-color: transparent; background-color: transparent;
orientation: horizontal; orientation: horizontal;
children: ["prompt"]; children: ["prompt"];
@ -77,11 +76,12 @@ listview {
reverse: false; reverse: false;
fixed-height: false; fixed-height: false;
fixed-columns: true; fixed-columns: true;
spacing: 30px; spacing: 40px;
padding: 2% 30px; padding: 4% 40px;
background-color: transparent; background-color: transparent;
cursor: "default"; cursor: "default";
border: 0px; border: 0px;
border-color: @active-background;
} }
/* ---- Elements ---- */ /* ---- Elements ---- */

Loading…
Cancel
Save