diff --git a/config/wlogout/assets/hibernate.png b/config/wlogout/assets/hibernate.png new file mode 100644 index 0000000..a6322aa Binary files /dev/null and b/config/wlogout/assets/hibernate.png differ diff --git a/config/wlogout/assets/lock.png b/config/wlogout/assets/lock.png new file mode 100644 index 0000000..f0b1eaf Binary files /dev/null and b/config/wlogout/assets/lock.png differ diff --git a/config/wlogout/assets/logout.png b/config/wlogout/assets/logout.png new file mode 100644 index 0000000..345a8aa Binary files /dev/null and b/config/wlogout/assets/logout.png differ diff --git a/config/wlogout/assets/reboot.png b/config/wlogout/assets/reboot.png new file mode 100644 index 0000000..29cfa2f Binary files /dev/null and b/config/wlogout/assets/reboot.png differ diff --git a/config/wlogout/assets/shutdown.png b/config/wlogout/assets/shutdown.png new file mode 100644 index 0000000..4d7d499 Binary files /dev/null and b/config/wlogout/assets/shutdown.png differ diff --git a/config/wlogout/assets/suspend.png b/config/wlogout/assets/suspend.png new file mode 100644 index 0000000..647bd66 Binary files /dev/null and b/config/wlogout/assets/suspend.png differ diff --git a/config/wlogout/layout b/config/wlogout/layout new file mode 100644 index 0000000..7013ee9 --- /dev/null +++ b/config/wlogout/layout @@ -0,0 +1,36 @@ +{ + "label" : "lock", + "action" : "loginctl lock-session", + "text" : "Lock", + "keybind" : "l" +} +{ + "label" : "hibernate", + "action" : "systemctl hibernate", + "text" : "Hibernate", + "keybind" : "h" +} +{ + "label" : "logout", + "action" : "loginctl terminate-user $USER", + "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/config/wlogout/style.css b/config/wlogout/style.css new file mode 100644 index 0000000..cf22cf3 --- /dev/null +++ b/config/wlogout/style.css @@ -0,0 +1,69 @@ +* { + background-image: none; + box-shadow: none; +} + +window { + background-color: rgba(24, 24, 37, 0.9); +} + +button { + border-radius: 0; + border-color: #89b4fa; + text-decoration-color: #89b4fa; + color: #89b4fa; + background-color: #1e1e2e; + border-style: solid; + border-width: 1px; + background-repeat: no-repeat; + background-position: center; + background-size: 25%; + padding: 10px; + margin: 10px; + border-radius: 8px; + border-width: 3px; +} + +button:focus, +button:active, +button:hover { + background-color: #181825; + outline-style: none; + border-color: #f38ba8; +} + +#lock { + background-image: image( + url("/home/ocbwoy3/config/config/wlogout/assets/lock.png") + ); +} + +#logout { + background-image: image( + url("/home/ocbwoy3/config/config/wlogout/assets/logout.png") + ); +} + +#suspend { + background-image: image( + url("/home/ocbwoy3/config/config/wlogout/assets/suspend.png") + ); +} + +#hibernate { + background-image: image( + url("/home/ocbwoy3/config/config/wlogout/assets/hibernate.png") + ); +} + +#shutdown { + background-image: image( + url("/home/ocbwoy3/config/config/wlogout/assets/shutdown.png") + ); +} + +#reboot { + background-image: image( + url("/home/ocbwoy3/config/config/wlogout/assets/reboot.png") + ); +} diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 92b241b..9299671 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -277,6 +277,11 @@ recursive = true; }; + home.file.".config/wlogout" = { + source = config.lib.file.mkOutOfStoreSymlink "/home/ocbwoy3/config/config/wlogout"; + recursive = true; + }; + home.file.".config/qt5ct" = { source = config.lib.file.mkOutOfStoreSymlink "/home/ocbwoy3/config/config/qt5ct"; recursive = true; diff --git a/hosts/default/packages.nix b/hosts/default/packages.nix index 2bd409e..330f2a0 100644 --- a/hosts/default/packages.nix +++ b/hosts/default/packages.nix @@ -19,7 +19,15 @@ environment.variables.LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib"; + # surely they should add programs.discord!! environment.systemPackages = with pkgs; [ + (discord-ptb.override { + withMoonlight = true; + # enable = true; + # version = pkgs.discord-ptb; + # disableBreakingUpdates = true; + }) + inputs.hyprsysteminfo.packages.${pkgs.stdenv.hostPlatform.system}.hyprsysteminfo # minecraft qemu