diff --git a/.dotter/global.toml b/.dotter/global.toml
index 8f8a370..f13e66e 100644
--- a/.dotter/global.toml
+++ b/.dotter/global.toml
@@ -78,6 +78,7 @@ cargo.packages = []
"config/waybar" = "~/.config/waybar/"
"config/rofi" = "~/.config/rofi"
"config/wpaperd" = "~/.config/wpaperd"
+"config/wlogout" = "~/.config/wlogout"
[hyprland]
depends = ["wm"]
diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf
index 3ffbb3c..8d66b6b 100644
--- a/config/hypr/hyprland.conf
+++ b/config/hypr/hyprland.conf
@@ -11,12 +11,13 @@
# ╰──────────────────────────────────────────────────────────╯
# ── System apps ─────────────────────────────────────────────────────────
-exec-once = wpaperd
exec-once = pipewire
exec-once = udieskie
-exec-once =/ usr/libexec/polkit-gnome-authentication-agent-1
+exec-once = /usr/libexec/polkit-gnome-authentication-agent-1
+exec-once = hyprctl setcursor catppuccin-macchiato-lavender-cursors 24
# ── Utils ───────────────────────────────────────────────────────────────
+exec-once = ~/.cargo/bin/wpaperd -d
exec-once = waybar
exec-once = hyprpaper
exec-once = mako
@@ -34,6 +35,7 @@ monitor = WAYLAND-1, disable # hack for when running manually
# Some default env vars.
env = XCURSOR_SIZE,24
+env = QT_STYLE_OVERRIDE,kvantum
# ── Input devides ─────────────────────────────────────────────────────
input {
@@ -93,7 +95,7 @@ gestures {
}
misc {
- enable_swallow = true
+ enable_swallow = false
# swallow_regex = ""
# swallow_exception_regex = ""
@@ -112,6 +114,7 @@ master {
# ╰──────────────────────────────────────────────────────────╯
windowrulev2 = float, class:org.gnome.Nautilus
+windowrulev2 = float, class:xdg-desktop-portal-gtk
# ╭───────────────────────────────────────────────────────────╮
# │ Workspaces rules │
diff --git a/config/waybar/config.jsonc b/config/waybar/config.jsonc
index f08595e..c2b5320 100644
--- a/config/waybar/config.jsonc
+++ b/config/waybar/config.jsonc
@@ -125,7 +125,7 @@
},
"custom/power": {
"format": "",
- "on-click": "~/.config/rofi/powermenu/type-4/powermenu.sh"
+ "on-click": "wlogout"
},
"tray": {
"show-passive-items": true
diff --git a/config/wlogout/icons/hibernate.svg b/config/wlogout/icons/hibernate.svg
new file mode 100644
index 0000000..efd5a33
--- /dev/null
+++ b/config/wlogout/icons/hibernate.svg
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/config/wlogout/icons/lock.svg b/config/wlogout/icons/lock.svg
new file mode 100644
index 0000000..94d0705
--- /dev/null
+++ b/config/wlogout/icons/lock.svg
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/config/wlogout/icons/logout.svg b/config/wlogout/icons/logout.svg
new file mode 100644
index 0000000..2eb4984
--- /dev/null
+++ b/config/wlogout/icons/logout.svg
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/config/wlogout/icons/reboot.svg b/config/wlogout/icons/reboot.svg
new file mode 100644
index 0000000..de9fdc2
--- /dev/null
+++ b/config/wlogout/icons/reboot.svg
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/config/wlogout/icons/shutdown.svg b/config/wlogout/icons/shutdown.svg
new file mode 100644
index 0000000..1579c48
--- /dev/null
+++ b/config/wlogout/icons/shutdown.svg
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/config/wlogout/icons/suspend.svg b/config/wlogout/icons/suspend.svg
new file mode 100644
index 0000000..ae26ba2
--- /dev/null
+++ b/config/wlogout/icons/suspend.svg
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/config/wlogout/layout b/config/wlogout/layout
new file mode 100644
index 0000000..26b8bf4
--- /dev/null
+++ b/config/wlogout/layout
@@ -0,0 +1,36 @@
+{
+ "label" : "lock",
+ "action" : "loginctl lock-session",
+ "text" : "Lock",
+ "keybind" : "l"
+}
+{
+ "label" : "hibernate",
+ "action" : "loginctl hibernate",
+ "text" : "Hibernate",
+ "keybind" : "h"
+}
+{
+ "label" : "logout",
+ "action" : "loginctl terminate-user $USER",
+ "text" : "Logout",
+ "keybind" : "e"
+}
+{
+ "label" : "shutdown",
+ "action" : "loginctl poweroff",
+ "text" : "Shutdown",
+ "keybind" : "s"
+}
+{
+ "label" : "suspend",
+ "action" : "loginctl suspend",
+ "text" : "Suspend",
+ "keybind" : "u"
+}
+{
+ "label" : "reboot",
+ "action" : "loginctl reboot",
+ "text" : "Reboot",
+ "keybind" : "r"
+}
diff --git a/config/wlogout/style.css b/config/wlogout/style.css
new file mode 100644
index 0000000..c0cb003
--- /dev/null
+++ b/config/wlogout/style.css
@@ -0,0 +1,53 @@
+* {
+ background-image: none;
+ box-shadow: none;
+}
+
+window {
+ background-color: rgba(36, 39, 58, 0.9);
+}
+
+button {
+ border-radius: 0;
+ border-color: #8bd5ca;
+ text-decoration-color: #cad3f5;
+ color: #cad3f5;
+ background-color: #1e2030;
+ border-style: solid;
+ border-width: 1px;
+ background-repeat: no-repeat;
+ background-position: center;
+ background-size: 25%;
+}
+
+button:focus,
+button:active,
+button:hover {
+ /* 20% Overlay 2, 80% mantle */
+ background-color: rgb(53, 57, 75);
+ outline-style: none;
+}
+
+#lock {
+ background-image: url("/home/aleidk/.config/wlogout/icons/lock.svg");
+}
+
+#logout {
+ background-image: url("/home/aleidk/.config/wlogout/icons/logout.svg");
+}
+
+#suspend {
+ background-image: url("/home/aleidk/.config/wlogout/icons/suspend.svg");
+}
+
+#hibernate {
+ background-image: url("/home/aleidk/.config/wlogout/icons/hibernate.svg");
+}
+
+#shutdown {
+ background-image: url("/home/aleidk/.config/wlogout/icons/shutdown.svg");
+}
+
+#reboot {
+ background-image: url("/home/aleidk/.config/wlogout/icons/reboot.svg");
+}
diff --git a/config/wpaperd/config.toml b/config/wpaperd/config.toml
index 18fdef4..92febf9 100644
--- a/config/wpaperd/config.toml
+++ b/config/wpaperd/config.toml
@@ -1,5 +1,5 @@
[default]
-duration = "1m"
+duration = "10m"
mode = "center"
sorting = "ascending"