1
Fork 0

A billion changes, but I'm finally on this new config!

This commit is contained in:
Matei Adriel 2023-01-12 20:49:08 +01:00
parent 8b12288df6
commit c211604042
No known key found for this signature in database
29 changed files with 338 additions and 163 deletions
hosts/nixos/common/optional/xmonad

View file

@ -44,7 +44,7 @@ main =
("M-w", spawn "rofi -show window"),
("M-g", spawn myBrowser),
("M-d", spawn "Discord"),
("M-v", spawn "alacritty -e vimclip"),
("M-v", spawn "alacritty -e 'vimclip'"),
("M-s", spawn "spectacle -rcb"),
("M-S-s", spawn "spectacle -mcb"),
("M-C-s", spawn "spectacle -ucb"),
@ -61,11 +61,11 @@ main =
layouts = tall ||| Full
myLayoutHook = spacingHook layouts
startupApps =
[ (0, "alacritty"),
(1, "google-chrome-stable"),
(2, "Discord")
]
startupApps = []
-- [ (0, "alacritty"),
-- (1, "google-chrome-stable"),
-- (2, "Discord")
-- ]
startup :: X ()
startup = do

View file

@ -1,14 +1,4 @@
{ pkgs, ... }:
let
catpuccin-sddm = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "sddm";
sha256 = "1lg10dyxgz080qfcp6k3zk6374jlj067s6p5fgx5r135ivy8mrki";
rev = "bde6932e1ae0f8fdda76eff5c81ea8d3b7d653c0";
};
sddm-theme = "${catpuccin-sddm}/src/caputccin-latte";
in
{
services.xserver = {
enable = true;
@ -20,18 +10,17 @@ in
config = ./Main.hs;
};
# Proper wallpaper zooming
desktopManager.wallpaper.mode = "fill";
displayManager = {
# make xmonad session the default
defaultSession = "none+xmonad";
# enable sddm
# sddm = {
# enable = true;
# theme = sddm-theme;
# };
# enable startx
startx.enable = true;
# startx.enable = true;
sddm.enable = true;
# autoLogin = {
# enable = true;