fixed dwm
This commit is contained in:
parent
056a201ce8
commit
3f88de4555
10 changed files with 11 additions and 6 deletions
|
@ -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";
|
||||||
|
|
|
@ -6,5 +6,6 @@ _: {
|
||||||
./profile.nix
|
./profile.nix
|
||||||
./i3
|
./i3
|
||||||
./dwm/dwm.nix
|
./dwm/dwm.nix
|
||||||
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
|
@ -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.
|
@ -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: {
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -2,7 +2,7 @@ _: {
|
||||||
imports = [
|
imports = [
|
||||||
./home-manager.nix
|
./home-manager.nix
|
||||||
./system.nix
|
./system.nix
|
||||||
# ./xdg.nix
|
./xdg.nix
|
||||||
./displaymanager.nix
|
./displaymanager.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue