diff options
| author | Mike Vink <59492084+ivi-vink@users.noreply.github.com> | 2025-01-19 12:28:58 +0000 |
|---|---|---|
| committer | Mike Vink <59492084+ivi-vink@users.noreply.github.com> | 2025-01-19 12:39:25 +0000 |
| commit | 10f12f49f7aa1197f0bc3cc999137540ec260c9b (patch) | |
| tree | 788d322312ab69a1ad71117f5ebf2a4750adab5e /profiles/graphical | |
| parent | 0f6de348ad935de38cadd10bde68515c63595836 (diff) | |
use surf+tabbed
Diffstat (limited to 'profiles/graphical')
| -rw-r--r-- | profiles/graphical/suckless.nix | 184 |
1 files changed, 97 insertions, 87 deletions
diff --git a/profiles/graphical/suckless.nix b/profiles/graphical/suckless.nix index 9d9617f..4cf4c3a 100644 --- a/profiles/graphical/suckless.nix +++ b/profiles/graphical/suckless.nix @@ -4,96 +4,106 @@ lib, machine, ... -}: with lib; mkIf (!machine.isDarwin) { - nixpkgs.overlays = [(import (self + "/overlays/suckless.nix") {inherit pkgs; home = self;})]; - services.xserver.enable = true; - services.xserver.displayManager.startx.enable = true; - services.libinput.enable = true; - hm = { - xsession = { - enable = true; - }; - services.picom = { - enable = true; - activeOpacity = 1; - inactiveOpacity = 0.7; - opacityRules = [ - "100:class_g = 'Wfica'" - "100:class_g = 'dwm'" - "100:class_g = 'Zathura'" - "100:name *= 'Firefox'" - "100:name *= 'mpv'" - "100:name *= 'LibreWolf'" - "100:name *= 'Steam'" - "100:name *= 'Risk of Rain'" - "100:name *= 'KVM'" - ]; - settings = { - inactive-opacity-override = false; - frame-opacity = 1; +}: +with lib; + mkIf (!machine.isDarwin) { + nixpkgs.overlays = [ + (import (self + "/overlays/suckless.nix") { + inherit pkgs; + home = self; + }) + ]; + services.xserver.enable = true; + services.xserver.displayManager.startx.enable = true; + services.libinput.enable = true; + hm = { + xsession = { + enable = true; }; - }; - services.dunst = { - enable = true; - settings = { - global = { - monitor = 0; - follow = "keyboard"; - width = 370; - height = 350; - offset = "0x19"; - padding = 2; - horizontal_padding = 2; - transparency = 0; - font = "Monospace 12"; - format = "<b>%s</b>\\n%b"; + services.picom = { + enable = true; + activeOpacity = 1; + inactiveOpacity = 0.7; + opacityRules = [ + "100:class_g = 'Wfica'" + "100:class_g = 'dwm'" + "100:class_g = 'Zathura'" + "100:name *= 'Firefox'" + "100:name *= 'mpv'" + "100:name *= 'LibreWolf'" + "100:name *= 'Steam'" + "100:name *= 'Risk of Rain'" + "100:name *= 'KVM'" + ]; + settings = { + inactive-opacity-override = false; + frame-opacity = 1; }; - 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; + }; + services.dunst = { + enable = true; + settings = { + global = { + monitor = 0; + follow = "keyboard"; + width = 370; + height = 350; + offset = "0x19"; + padding = 2; + horizontal_padding = 2; + transparency = 0; + 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; [ - libnotify - sxiv - st - dwm - dwmblocks - pywal - inotify-tools + home.packages = with pkgs; [ + libnotify + pywal + inotify-tools - dmenu - # librewolf - ungoogled-chromium - xclip - xdotool - maim - asciinema - asciinema-agg - fontconfig - surfraw - ]; - }; - fonts = { - fontconfig = { - enable = true; + dwm + dwmblocks + sxiv + st + dmenu + tabbed + surfraw + surf + + # librewolf + ungoogled-chromium + xclip + xdotool + maim + asciinema + asciinema-agg + fontconfig + ]; }; - packages = with pkgs; [ - nerd-fonts.fira-code - nerd-fonts.jetbrains-mono - ]; - }; -} + fonts = { + fontconfig = { + enable = true; + }; + packages = with pkgs; [ + nerd-fonts.fira-code + nerd-fonts.jetbrains-mono + ]; + }; + } |
