diff options
Diffstat (limited to 'profiles/station/suckless.nix')
| -rw-r--r-- | profiles/station/suckless.nix | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/profiles/station/suckless.nix b/profiles/station/suckless.nix new file mode 100644 index 0000000..d10414d --- /dev/null +++ b/profiles/station/suckless.nix @@ -0,0 +1,73 @@ +{ + flake, + config, + pkgs, + suckless, + ... +}: let +in { + xsession = { + enable = true; + initExtra = '' + ${pkgs.xorg.xmodmap}/bin/xmodmap -e "remove mod1 = Alt_R" + ${pkgs.xorg.xmodmap}/bin/xmodmap -e "add mod3 = Alt_R" + wal -R + dwm + dwmblocks & + ''; + }; + services.picom = { + enable = true; + activeOpacity = 0.99; + inactiveOpacity = 0.7; + opacityRules = [ + "100:class_g = 'dwm'" + "100:name *= 'Firefox'" + "100:name *= 'mpv'" + "100:name *= 'LibreWolf'" + ]; + settings = { + inactive-opacity-override = false; + frame-opacity = 1; + }; + }; + services.dunst = { + enable = true; + settings = { + global = { + monitor = 0; + follow = "keyboard"; + width = 370; + height = 350; + offset = "0x19"; + padding = 2; + horizontal_padding = 2; + transparency = 25; + font = "Monospace 12"; + format = "<b>%s</b>\\n%b"; + }; + urgency_low = { + background = "#1d2021"; + foreground = "#928374"; + timeout = 3; + }; + urgency_normal = { + foreground = "#ebdbb2"; + background = "#458588"; + timeout = 5; + }; + urgency_critical = { + background = "#1cc24d"; + foreground = "#ebdbb2"; + frame_color = "#fabd2f"; + timeout = 10; + }; + }; + }; + home.packages = with pkgs; [ + st + dwm + dwmblocks + libnotify + ]; +} |
