fixed dwm

This commit is contained in:
vali 2024-04-14 14:35:10 +02:00
commit 6b1b9e5b2e
10 changed files with 11 additions and 6 deletions

View file

@ -52,11 +52,8 @@
ssh.enable = true;
btop.enable = true;
mpv.enable = true;
i3.enable = true;
dwm.enable = true;
schizofox.enable = true;
displaymanager.enable = true;
#neovim.enable = true;
#git = {
# enable = true;
# userName = "vali";

View file

@ -6,5 +6,6 @@ _: {
./profile.nix
./i3
./dwm/dwm.nix
];
}

Binary file not shown.

View file

@ -1740,7 +1740,7 @@ void
togglefullscr(const Arg *arg)
{
if(selmon->sel)
setfullscreen(selmon->sel, !selmon->sel>isfullscreen);
setfullscreen(selmon->sel, !selmon->sel->isfullscreen);
}
void

Binary file not shown.

View file

@ -12,6 +12,11 @@ in {
windowManager.dwm = {
enable = true;
};
displayManager.sddm = {
enable = true;
setupScript = "xrandr --output HDMI-1 --rotate normal --output DP-2 --rotate normal --left-of HDMI-1 --output HDMI-0 --right-of HDMI-1";
# defaultSession = "dwm";
};
};
nixpkgs.overlays = [
(final: prev: {

View file

@ -8,5 +8,6 @@ _: {
../../../options/common/pin-registry.nix
../../../options/common/preserve-system.nix
#../../options/
../../../options/desktop/monitors.nix
];
}

View file

@ -15,6 +15,7 @@ in {
element-desktop
eza
fastfetch
feh
(fenix.complete.withComponents [
"cargo"
"clippy"
@ -74,6 +75,7 @@ in {
vlc
wget
xclip
xfce.thunar
xorg.libX11.dev
xorg.libXft
xorg.libXinerama

View file

@ -2,7 +2,7 @@ _: {
imports = [
./home-manager.nix
./system.nix
# ./xdg.nix
./xdg.nix
./displaymanager.nix
];
}

View file

@ -63,7 +63,6 @@ in {
atexit.register(write_history)
'';
xdg = {
cacheHome = "${hmCfg.home.homeDirectory}/.cache";
configHome = "${hmCfg.home.homeDirectory}/.config";