Split i3 classic config with XFCE+i3 config

This commit is contained in:
Fabio Scotto di Santolo
2026-02-28 21:46:37 +01:00
parent ec0b9a5b8d
commit 0d1007d41f
10 changed files with 314 additions and 11 deletions

View File

@@ -0,0 +1,7 @@
#/usr/bin/env bash
BACKGROUND="${XDG_CONFIG_HOME:-${HOME}/.config}/i3/lockscreen.png"
i3lock --image="${BACKGROUND}" \
--color=000000 \
--ignore-empty-password \
--show-failed-attempts

View File

@@ -0,0 +1,12 @@
#!/bin/bash
chosen=$(echo -e "⏻ Shutdown\n Restart\n Logout\n Suspend\n Hibernate" | rofi -dmenu -p "Power Menu:" -theme-str 'window {width: 20%;}')
case "$chosen" in
"⏻ Shutdown") systemctl poweroff ;;
" Restart") systemctl reboot ;;
" Logout") loginctl terminate-session $XDG_SESSION_ID ;;
" Suspend") systemctl suspend ;;
" Hibernate") systemctl hibernate ;;
*) exit 0 ;;
esac