diff options
author | Adam Stück <adam@adast.xyz> | 2023-03-22 07:49:52 +0100 |
---|---|---|
committer | Adam Stück <adam@adast.xyz> | 2023-04-28 20:31:52 +0200 |
commit | 1abce784cf269fd98ee5faa09e52ba642f2e61ec (patch) | |
tree | 716d9b1961dc7235c665747454f03d5f488bffac /.local/bin/dmenu/dm-power | |
parent | c1fae7c333a7c89347b1955e23aadae47e28f20f (diff) |
switched from i3 to sway
Diffstat (limited to '.local/bin/dmenu/dm-power')
-rwxr-xr-x | .local/bin/dmenu/dm-power | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/.local/bin/dmenu/dm-power b/.local/bin/dmenu/dm-power deleted file mode 100755 index fb856bb..0000000 --- a/.local/bin/dmenu/dm-power +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -DMENU_CMD="dmenu -p 'sys:' -l 8 -b -i -fn 'JetBrainsMono Nerd Font:size=11'" - -case "$(printf "Shutdown\nRestart\nLogout\nSuspend\nLock" | eval "$DMENU_CMD")" in - Shutdown) exec systemctl poweroff;; - Restart) exec systemctl reboot;; - Logout) exec loginctl terminate-session ${XDG_SESSION_ID-};; - Suspend) exec systemctl suspend;; - Lock) exec systemctl --user start lock.target;; -esac |