z_mirror/dotfiles

git clone https://git.raiguard.me/z_mirror/dotfiles

Caleb HeuerAlpine Linux changes for laptopb3386d4

uraya-alpine
412 B19 linesraw
1#!/bin/sh
2
3entries="Lock screen\nLog out\nSuspend\nReboot\nShut down"
4
5selected=$(printf "$entries" | fuzzel -d -w 24 -l 5)
6
7case "$selected" in
8    "Lock screen")
9        exec swaylock;;
10    "Log out")
11        swaymsg exit;;
12        # niri msg action quit -s;;
13    "Suspend")
14        exec loginctl suspend;;
15    "Reboot")
16        exec loginctl reboot;;
17    "Shut down")
18        exec loginctl poweroff -i;;
19esac