summaryrefslogtreecommitdiffstats
path: root/x11.nix
diff options
context:
space:
mode:
Diffstat (limited to 'x11.nix')
-rw-r--r--x11.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/x11.nix b/x11.nix
index 743ffd0..47732ac 100644
--- a/x11.nix
+++ b/x11.nix
@@ -1,5 +1,8 @@
-{ config, pkgs, ... }:
{
+ config,
+ pkgs,
+ ...
+}: {
services.displayManager.ly = {
enable = true;
settings = {
@@ -11,7 +14,6 @@
bigclock = "en";
bigclock_seconds = true;
};
-
};
services.dunst = {
@@ -27,9 +29,9 @@
displayManager = {
setupCommands = "";
sessionCommands = ''
- #!/bin/sh
- ${pkgs.xrandr}/bin/xrandr --output DP-3 --primary --mode 2560x1440 --rate 180 --pos 0x0 --output DP-2 --mode 1920x1080 --rate 160 --pos 2560x360
- ${pkgs.feh}/bin/feh --no-fehbg --bg-fill '/home/andrew/Wallpapers/Daniel_in_the_Lions_Den_by_Briton_Riviere.jpg'
+ #!/bin/sh
+ ${pkgs.xrandr}/bin/xrandr --output DP-3 --primary --mode 2560x1440 --rate 180 --pos 0x0 --output DP-2 --mode 1920x1080 --rate 160 --pos 2560x360
+ ${pkgs.feh}/bin/feh --no-fehbg --bg-fill '/home/andrew/Wallpapers/Daniel_in_the_Lions_Den_by_Briton_Riviere.jpg'
'';
};
xkb = {
@@ -106,12 +108,12 @@
ExecStart = "${pkgs.sxhkd}/bin/sxhkd";
Restart = "on-failure";
};
- wantedBy = [ "graphical-session.target" ];
+ wantedBy = ["graphical-session.target"];
};
systemd.user.services.slstatus = {
description = "slstatus bar";
- wantedBy = [ "graphical-session.target" ];
+ wantedBy = ["graphical-session.target"];
path = with pkgs; [
pamixer