fixed dwm

This commit is contained in:
Charlie Root 2024-04-14 14:35:10 +02:00
commit 3f88de4555
10 changed files with 11 additions and 6 deletions

View file

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

View file

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

Binary file not shown.

View file

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

Binary file not shown.

View file

@ -12,6 +12,11 @@ in {
windowManager.dwm = { windowManager.dwm = {
enable = true; 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 = [ nixpkgs.overlays = [
(final: prev: { (final: prev: {

View file

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

View file

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

View file

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

View file

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