diff --git a/README.md b/README.md index 4a66fa0..2ec83fb 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ cd ~/config ln -s ~/Projects/hypr-dotfiles/hypr hypr ln -s ~/Projects/hypr-dotfiles/waybar waybar ln -s ~/Projects/hypr-dotfiles/tofi tofi +ln -s ~/Projects/hypr-dotfiles/wlogout wlogout +ln -s ~/Projects/hypr-dotfiles/kitty kitty ``` You also need to install all the dependencies: @@ -36,9 +38,11 @@ You also need to install all the dependencies: - hyprland - hypridle - hyprlock +- wlogout - tofi - waybar - nmtui +- kitty - python3 - Curved Square font https://www.1001freefonts.com/curved-square.font - FontAwesome diff --git a/wlogout/icons/hibernate.svg b/wlogout/icons/hibernate.svg new file mode 100644 index 0000000..d86e8fc --- /dev/null +++ b/wlogout/icons/hibernate.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.onlinewebfonts.com/icon + + diff --git a/wlogout/icons/lock.svg b/wlogout/icons/lock.svg new file mode 100644 index 0000000..a8f73b6 --- /dev/null +++ b/wlogout/icons/lock.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.onlinewebfonts.com/icon + + diff --git a/wlogout/icons/logout.svg b/wlogout/icons/logout.svg new file mode 100644 index 0000000..12a6a23 --- /dev/null +++ b/wlogout/icons/logout.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.onlinewebfonts.com/icon + + diff --git a/wlogout/icons/reboot.svg b/wlogout/icons/reboot.svg new file mode 100644 index 0000000..5b3f2f4 --- /dev/null +++ b/wlogout/icons/reboot.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.onlinewebfonts.com/icon + + diff --git a/wlogout/icons/shutdown.svg b/wlogout/icons/shutdown.svg new file mode 100644 index 0000000..6bd85c6 --- /dev/null +++ b/wlogout/icons/shutdown.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.onlinewebfonts.com/icon + + diff --git a/wlogout/icons/suspend.svg b/wlogout/icons/suspend.svg new file mode 100644 index 0000000..5f0d8a3 --- /dev/null +++ b/wlogout/icons/suspend.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.onlinewebfonts.com/icon + + diff --git a/wlogout/layout b/wlogout/layout new file mode 100644 index 0000000..7576910 --- /dev/null +++ b/wlogout/layout @@ -0,0 +1,36 @@ +{ + "label" : "lock", + "action" : "hyprctl dispatch exec hyprlock", + "text" : "Lock", + "keybind" : "l" +} +{ + "label" : "hibernate", + "action" : "systemctl hibernate", + "text" : "Hibernate", + "keybind" : "h" +} +{ + "label" : "logout", + "action" : "hyprctl dispatch exit", + "text" : "Logout", + "keybind" : "e" +} +{ + "label" : "shutdown", + "action" : "systemctl poweroff", + "text" : "Shutdown", + "keybind" : "s" +} +{ + "label" : "suspend", + "action" : "systemctl suspend", + "text" : "Suspend", + "keybind" : "u" +} +{ + "label" : "reboot", + "action" : "systemctl reboot", + "text" : "Reboot", + "keybind" : "r" +} diff --git a/wlogout/style.css b/wlogout/style.css new file mode 100644 index 0000000..b9fc668 --- /dev/null +++ b/wlogout/style.css @@ -0,0 +1,52 @@ +* { + background-image: none; + box-shadow: none; +} + +window { + background-image: url("../hypr/wallpapers/Purple-blurred.jpg"); +} + +button { + font-family: "JetBrainsMono Nerd Font Mono"; + border-color: #89b4fa; + color: rgba(213, 93, 124, 0.933); + background-color: rgba(0, 0, 0, 0.6); + border: 3px solid rgba(89, 89, 89, 0.667); + border-radius: 8px; + background-repeat: no-repeat; + background-position: 50% 45%; + background-size: 18%; + margin: 13px; +} + +button:hover { + /* 20% Overlay 2, 80% mantle */ + background-color: rgba(0, 0, 0, 0.9); + border-color: rgba(213, 93, 124, 0.933); + outline-style: none; +} + +#lock { + background-image: url("icons/lock.svg"); +} + +#logout { + background-image: url("icons/logout.svg"); +} + +#suspend { + background-image: url("icons/suspend.svg"); +} + +#hibernate { + background-image: url("icons/hibernate.svg"); +} + +#shutdown { + background-image: url("icons/shutdown.svg"); +} + +#reboot { + background-image: url("icons/reboot.svg"); +}