diff options
| author | ryukamish <[email protected]> | 2026-06-02 12:41:18 +0530 |
|---|---|---|
| committer | ryukamish <[email protected]> | 2026-06-02 12:41:18 +0530 |
| commit | 7ace5532ea2fb1ad35890843d5e7de1edac22e70 (patch) | |
| tree | 0a1a44bb22653775fa4267ab4a0c79a3f534f753 /scripts/rofi-powermenu | |
| parent | b3e31df862b4f37084957c4f29abb737547067ec (diff) | |
fix: rofi popup dynamically adjusts relative to screen size
Diffstat (limited to 'scripts/rofi-powermenu')
| -rwxr-xr-x | scripts/rofi-powermenu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rofi-powermenu b/scripts/rofi-powermenu index d7c2927..47b929c 100755 --- a/scripts/rofi-powermenu +++ b/scripts/rofi-powermenu @@ -1,7 +1,7 @@ #!/usr/bin/env bash power_args=$(printf '%b' ' Lock\nLogout\n Restart\n Suspend\n Hibernate\n Shutdown' | - rofi -dmenu -p "" -i -theme-str 'window {width: 12em; padding: 2px; height: 16em;}') + rofi -dmenu -p "" -i -theme-str 'window {width: 16%; padding: 2px; height: 40%;}') _have_cmd() { command -v "$1" &>/dev/null |
