Skip to content

Commit

Permalink
remove dwm
Browse files Browse the repository at this point in the history
  • Loading branch information
siph committed Aug 14, 2023
1 parent 250b1f9 commit 35be42b
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 40 deletions.
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ native nix packaged games and edit audio projects with Ardour.
Development is done in neovim + tmux and Intellij Idea CE. The neovim
configuration lives in it's own
[repository](https://www.github.com/siph/nixvim-flake) and is complete with
LSP, syntax highlighting, debugging and more. Hyprland and DWM provide
LSP, syntax highlighting, debugging and more. Hyprland and Xmonad provide
mouse-free window management. This combined with editor keybinds/configurations
means that a majority of things can be accomplished without leaving home-row.

Expand All @@ -54,7 +54,6 @@ There are too many applications to mention but some primary applications are:
- **Desktop Environments**
- KDE Plasma
- Hyprland
- DWM

## Usage

Expand Down Expand Up @@ -89,13 +88,6 @@ Launch [Hyprland](./home-manager/chris/applications/misc/hyprland/hyprland.conf)
start-hyprland
```

#### DWM

Launch [configured DWM](https://www.gitlab.com/xsiph/dwm) session + extras.
```shell
startx-dwm
```

#### Xmonad

Launch [Xmonad](./home-manager/chris/applications/misc/xmonad/xmonad.hs) session, polybar, dunst + extras.
Expand Down
1 change: 0 additions & 1 deletion home-manager/applications/shells/nushell/config.nu
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ def get-type [] {
}

## Scripts
alias startx-dwm = startx ~/.xinitrc dwm
alias startx-kde = startx ~/.xinitrc kde
alias startx-xmonad = startx ~/.xinitrc xmonad
alias start-hyprland = ~/.local/bin/start-hyprland
Expand Down
1 change: 0 additions & 1 deletion home-manager/applications/shells/zsh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
";
initExtra = "
alias cat='bat'
alias startx-dwm='startx ~/.xinitrc dwm'
alias startx-kde='startx ~/.xinitrc kde'
alias startx-xmonad='startx ~/.xinitrc xmonad'
alias tree='broot'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,32 +1,13 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [ feh dmenu ];
home.packages = with pkgs; [ feh ];
home.file = {
".clock" = {
text = ''
#!/usr/bin/env bash
while true; do
xsetroot -name "$(date '+ %I:%M:%S %P ')"
sleep 1
done
'';
executable = true;
};
".xinitrc" = {
text = ''
#!/usr/bin/env bash
session=''${1}
case $session in
dwm) "$HOME/.fehbg" &
picom &
xinput set-prop 'Logitech G500' 'libinput Accel Speed' -0.65 &
xset s off &
xset s 0 0 &
xset -dpms &
"$HOME/.clock" &
export _JAVA_AWT_WM_NONREPARENTING=1
exec dwm ;;
kde) export DESKTOP_SESSION=plasma
xinput set-prop 'Logitech G500' 'libinput Accel Speed' -0.65 &
exec startplasma-x11 ;;
Expand Down
1 change: 0 additions & 1 deletion nixos/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
startx.enable = true;
};
desktopManager.plasma5.enable = true;
windowManager.dwm.enable = true;
};
pipewire = {
enable = true;
Expand Down
8 changes: 0 additions & 8 deletions overlay/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ let
# You can change versions, add patches, set compilation flags, anything really.
# https://nixos.wiki/wiki/Overlays
modifications = final: prev: {
dwm = prev.dwm.overrideAttrs (oldAttrs: {
src = inputs.nixpkgs.legacyPackages.${system}.fetchFromGitLab {
owner = "xsiph";
repo = "dwm";
rev = "6d27f8a235150a234b5158908406af294b31cf55";
sha256 = "0oXZj+mHUPcCCniWk6uwIcvfpRQcKT05CAlk1KsnMAo=";
};
});
waybar = prev.waybar.overrideAttrs (oldAttrs: {
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
});
Expand Down

0 comments on commit 35be42b

Please sign in to comment.