xmonad: modernise tooling

This commit is contained in:
Serĉanto de Scio 2023-09-06 10:59:19 +10:00
parent ebf87dbdde
commit 91637675ce
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -18,9 +18,10 @@
plasma5.enable = true; # Enable Plasma desktop environment plasma5.enable = true; # Enable Plasma desktop environment
}; };
displayManager = { displayManager = {
defaultSession = "none+xmonad"; # Set KDE configured to use xmonad as default defaultSession = "none+xmonad"; # Set to use xmonad as default
gdm.enable = false; # Enable the GNOME display manager gdm.enable = false; # Enable the GNOME display manager
sddm.enable = true; # Enable the Plasma display manager sddm.enable = false; # Enable the Plasma display manager
lightdm.greeters.pantheon.enable = true;
}; };
layout = "us"; # Set your preferred keyboard layout. layout = "us"; # Set your preferred keyboard layout.
libinput.enable = true; # Enable touchpad support. libinput.enable = true; # Enable touchpad support.
@ -49,21 +50,28 @@
# Install any additional fonts that I require to be used with xmonad # Install any additional fonts that I require to be used with xmonad
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs; [
open-sans # Used in in my xmobar configuration open-sans # Used in in my polybar configuration
]; ];
# Install other packages that I require to be used with xmonad. # Install other packages that I require to be used with xmonad.
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
feh # A light-weight image viewer to set backgrounds feh # A light-weight image viewer to set backgrounds
haskellPackages.libmpd # Shows MPD status in xmobar haskellPackages.libmpd # Shows MPD status in polybar
mpc_cli # CLI for MPD, called from xmonad mpc_cli # CLI for MPD, called from xmonad
libnotify # Notification client for my Xmonad setup libnotify # Notification client for my Xmonad setup
scrot # CLI screen capture utility polybarFull # A fast and easy-to-use tool for creating status bars
rofi # run dialog and dmenu replacement
flameshot # Powerful yet simple to use screenshot software
xbrightness # X11 brigthness and gamma software control xbrightness # X11 brigthness and gamma software control
xflux # Adjusts your screen to emit warmer light at night xflux # Adjusts your screen to emit warmer light at night
xorg.xrandr # CLI to X11 RandR extension xorg.xrandr # CLI to X11 RandR extension
xscreensaver # My preferred screensaver xscreensaver # My preferred screensaver
(haskellPackages.ghcWithPackages (hpkgs: [
hpkgs.xmonad
hpkgs.xmonad-contrib
]))
]; ];
programs.dconf.enable = true; programs.dconf.enable = true;
programs.light.enable = true; # install backlight control and udev rules
} }