diff options
| author | awy <awy@awy.one> | 2025-11-29 18:35:49 +0300 |
|---|---|---|
| committer | awy <awy@awy.one> | 2025-11-29 18:35:49 +0300 |
| commit | 8d90f5a577b75b8a792b7a2f02d98a31e9ff19c4 (patch) | |
| tree | 868e0d8389fb2b4e413409f65f57caa9c0b37eda /.local/bin/sysact | |
| parent | db008a76e93dcfbf00fec5a141a1e1bd122b04a7 (diff) | |
| download | hyprdots-8d90f5a577b75b8a792b7a2f02d98a31e9ff19c4.tar.gz | |
uupdate
Diffstat (limited to '.local/bin/sysact')
| -rwxr-xr-x | .local/bin/sysact | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/sysact b/.local/bin/sysact index ac910c5..ea7b659 100755 --- a/.local/bin/sysact +++ b/.local/bin/sysact @@ -1,6 +1,6 @@ #!/bin/sh -# A mew wrapper script for system functions. +# A dmenu wrapper script for system functions. export WM="Hyprland" case "$(readlink -f /sbin/init)" in *systemd*) ctl='systemctl' ;; @@ -23,7 +23,7 @@ lock(){ kill -44 $(pidof waybar) } -case "$(printf " lock\n leave $WM\n renew $WM\n hibernate\n reboot\n shutdown\n sleep\n display off" | mew -i -p 'Action: ')" in +case "$(printf " lock\n leave $WM\n renew $WM\n hibernate\n reboot\n shutdown\n sleep\n display off" | rofi -theme-str 'listview {scrollbar: false;}' -theme-str 'window {width: 10%;}' -dmenu -l 8 -i -p 'Action')" in ' lock') lock ;; " leave $WM") hyprctl dispatch exit ;; " renew $WM") hyprctl reload ;; |