My Nix Configuration
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

[flake] remove wlogout

dish 83dbc6ca 369b9367

-110
-1
homeModules/profiles/desktop/default.nix
··· 44 44 playerctl 45 45 poptracker 46 46 thunderbird 47 - wlogout 48 47 wl-clipboard 49 48 zotero 50 49 ];
-1
homeModules/profiles/gui/default.nix
··· 21 21 obs.enable = mkDefault true; 22 22 onagre.enable = mkDefault true; 23 23 vscodium.enable = mkDefault false; 24 - wlogout.enable = mkDefault true; 25 24 zed-editor.enable = mkDefault true; 26 25 }; 27 26 services = {
-1
homeModules/programs/default.nix
··· 15 15 ./ssh 16 16 ./starship 17 17 ./vscodium 18 - ./wlogout 19 18 ./zed-editor 20 19 ]; 21 20 }
-55
homeModules/programs/wlogout/default.nix
··· 1 - { 2 - pkgs, 3 - config, 4 - lib, 5 - ... 6 - }: 7 - let 8 - cfg = config.py.programs.wlogout; 9 - pkg = config.programs.wlogout.package; 10 - in 11 - { 12 - options.py.programs.wlogout.enable = lib.mkEnableOption "wlogout"; 13 - config.programs.wlogout = lib.mkIf cfg.enable { 14 - enable = true; 15 - style = import ./style.nix { inherit pkg; }; 16 - layout = [ 17 - { 18 - label = "hibernate"; 19 - action = "systemctl hibernate"; 20 - text = "Hibernate"; 21 - keybind = "h"; 22 - } 23 - { 24 - label = "reboot"; 25 - action = "systemctl reboot"; 26 - text = "Reboot"; 27 - keybind = "r"; 28 - } 29 - { 30 - label = "suspend"; 31 - action = "systemctl suspend"; 32 - text = "Suspend"; 33 - keybind = "u"; 34 - } 35 - { 36 - label = "suspend-then-hibernate"; 37 - action = "systemctl suspend-then-hibernate"; 38 - text = "Supend then Hibernate"; 39 - keybind = "p"; 40 - } 41 - { 42 - label = "lock"; 43 - action = "hyprlock"; 44 - text = "Lock"; 45 - keybind = "l"; 46 - } 47 - { 48 - label = "shutdown"; 49 - action = "systemctl poweroff"; 50 - text = "Shutdown"; 51 - keybind = "s"; 52 - } 53 - ]; 54 - }; 55 - }
-52
homeModules/programs/wlogout/style.nix
··· 1 - { pkg, ... }: 2 - let 3 - icon-path = "${pkg}/share/wlogout/icons"; 4 - in 5 - '' 6 - * { 7 - background-image: none; 8 - } 9 - window { 10 - background-image: image(url("/home/thehedgehog/bgs/wallpapers/xenia/chimmie_valentine_xenia.png"), url("/home/thehedgehog/bgs/wallpapers/xenia/chimmie_valentine_xenia.png")); 11 - background-size: cover; 12 - } 13 - button { 14 - color: #cdd6f4; 15 - background-color: #11111b; 16 - border: none; 17 - border-color: #6c7086; 18 - background-repeat: no-repeat; 19 - background-position: center; 20 - background-size: 25%; 21 - } 22 - 23 - button:focus, button:active, button:hover { 24 - background-color: #1e1e2e; 25 - outline-style: none; 26 - border:none; 27 - } 28 - 29 - #lock { 30 - background-image: image(url("${icon-path}/lock.png"), url("${icon-path}/lock.png")); 31 - } 32 - 33 - #suspend-then-hibernate { 34 - background-image: image(url("${icon-path}/suspend.png"), url("${icon-path}/suspend.png")); 35 - } 36 - 37 - #suspend { 38 - background-image: image(url("${icon-path}/suspend.png"), url("${icon-path}/suspend.png")); 39 - } 40 - 41 - #hibernate { 42 - background-image: image(url("${icon-path}/hibernate.png"), url("${icon-path}/hibernate.png")); 43 - } 44 - 45 - #shutdown { 46 - background-image: image(url("${icon-path}/shutdown.png"), url("${icon-path}/shutdown.png")); 47 - } 48 - 49 - #reboot { 50 - background-image: image(url("${icon-path}/reboot.png"), url("${icon-path}/reboot.png")); 51 - } 52 - ''