{ config, pkgs, lib, ... }: let mod = "Mod4"; in { xsession.enable = true; xsession.windowManager.i3 = { enable = true; config = { terminal = "${pkgs.alacritty}/bin/alacritty"; keybindings = lib.mkOptionDefault { "${mod}+r" = "exec --no-startup-id ${pkgs.rofi}/bin/rofi -show drun"; }; }; }; programs.rofi = { enable = true; theme = "purple"; extraConfig = { modi = "drun"; show-icons = true; combi-modi = "window,drun,ssh"; }; }; services.polybar = { enable = true; package = pkgs.polybarFull; script = ""; config = { "bar/main" = { background = "#000000"; foreground = "#fafafa"; }; "module/pulseaudio" = { type = "internal/pulseaudio"; use-ui-max = false; }; }; }; }