diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..4ceecd7 --- /dev/null +++ b/README.txt @@ -0,0 +1,8 @@ +Select Logout Command depending on your setup: + +Use for Display Manager e.g., sddm (DEFAULT) +sleep 1; hyprctl dispatch exit + +Use for Arch Linux text based login +sleep 1; loginctl terminate-user $USER + diff --git a/icons/hibernate.png b/icons/hibernate.png new file mode 100644 index 0000000..bf2b001 Binary files /dev/null and b/icons/hibernate.png differ diff --git a/icons/lock.png b/icons/lock.png new file mode 100644 index 0000000..da59b10 Binary files /dev/null and b/icons/lock.png differ diff --git a/icons/logout.png b/icons/logout.png new file mode 100644 index 0000000..8a25922 Binary files /dev/null and b/icons/logout.png differ diff --git a/icons/reboot.png b/icons/reboot.png new file mode 100644 index 0000000..e5fd221 Binary files /dev/null and b/icons/reboot.png differ diff --git a/icons/shutdown.png b/icons/shutdown.png new file mode 100644 index 0000000..663ca03 Binary files /dev/null and b/icons/shutdown.png differ diff --git a/icons/suspend.png b/icons/suspend.png new file mode 100644 index 0000000..af099b9 Binary files /dev/null and b/icons/suspend.png differ diff --git a/layout b/layout new file mode 100644 index 0000000..6a3a3c3 --- /dev/null +++ b/layout @@ -0,0 +1,36 @@ +{ + "label" : "lock", + "action" : "sleep 1; hyprlock", + "text" : "Lock", + "keybind" : "l" +} +{ + "label" : "hibernate", + "action" : "sleep 1; systemctl hibernate", + "text" : "Hibernate", + "keybind" : "h" +} +{ + "label" : "logout", + "action" : "$HOME/dotfiles/hypr/scripts/exit.sh", + "text" : "Exit", + "keybind" : "e" +} +{ + "label" : "shutdown", + "action" : "sleep 1; systemctl poweroff", + "text" : "Shutdown", + "keybind" : "s" +} +{ + "label" : "suspend", + "action" : "sleep 1; systemctl suspend", + "text" : "Suspend", + "keybind" : "u" +} +{ + "label" : "reboot", + "action" : "sleep 1; systemctl reboot", + "text" : "Reboot", + "keybind" : "r" +} diff --git a/noise.png b/noise.png new file mode 100644 index 0000000..028b188 Binary files /dev/null and b/noise.png differ diff --git a/style.css b/style.css new file mode 100644 index 0000000..de33915 --- /dev/null +++ b/style.css @@ -0,0 +1,100 @@ +/* + _ _ +__ _| | ___ __ _ ___ _ _| |_ +\ \ /\ / / |/ _ \ / _` |/ _ \| | | | __| + \ V V /| | (_) | (_| | (_) | |_| | |_ + \_/\_/ |_|\___/ \__, |\___/ \__,_|\__| + |___/ + +by Stephan Raabe (2023) +----------------------------------------------------- +*/ + +/* ----------------------------------------------------- + * Import Pywal colors + * ----------------------------------------------------- */ +@import '../../.cache/wal/colors-waybar.css'; + +/* ----------------------------------------------------- + * General + * ----------------------------------------------------- */ + +/* * { */ +/* font-family: Fira Code Medium; */ +/* font-size: 16pt; */ +/* background-image: none; */ +/* transition: 20ms; */ +/* box-shadow: none; */ +/* } */ + +window { + font-family: Hurmit Nerd Font; + font-size: 16pt; + color: #cdd6f4; /* text */ + background-color: rgba(54, 56, 64, 0.73); +} + +button { + color: @color7; + font-size:20px; + + background-repeat: no-repeat; + background-position: center; + background-size: 25%; + + border-style: solid; + background-color: rgba(12, 12, 12, 0.5); + border: 3px solid @color6; + + box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); +} + +button:focus, +button:active, +button:hover { + color: @color11; + background-color: rgba(12, 12, 12, 0.5); + border: 3px solid @color2; +} + +/* +----------------------------------------------------- +Buttons +----------------------------------------------------- +*/ + +#lock { + margin: 16px; + border-radius: 20px; + background-image: image(url("icons/lock.png")); +} + +#logout { + margin: 16px; + border-radius: 20px; + background-image: image(url("icons/logout.png")); +} + +#suspend { + margin: 16px; + border-radius: 20px; + background-image: image(url("icons/suspend.png")); +} + +#hibernate { + margin: 16px; + border-radius: 20px; + background-image: image(url("icons/hibernate.png")); +} + +#shutdown { + margin: 16px; + border-radius: 20px; + background-image: image(url("icons/shutdown.png")); +} + +#reboot { + margin: 16px; + border-radius: 20px; + background-image: image(url("icons/reboot.png")); +}