Skip to content

Commit

Permalink
feat: remove sway configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsgruk committed Nov 13, 2023
1 parent 5a35d91 commit dcbcf7c
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 441 deletions.
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ The machines configured thus far are:

The following is a list of the key elements of my setup, with links to their config:

| Type | Details |
| :---: | :----------------------------------------------------- |
| Shell | [zsh], [starship], [nvim], [tmux], [neofetch] |
| WM | [hyprland] [sway], [waybar], [swaylock], [mako], [gtk] |
| Apps | [vscode], [zathura], [alacritty] |
| Type | Details |
| :---: | :---------------------------------------------- |
| Shell | [zsh], [starship], [nvim], [tmux], [neofetch] |
| WM | [hyprland], [waybar], [swaylock], [mako], [gtk] |
| Apps | [vscode], [zathura], [alacritty] |

## Screenshots

Expand All @@ -53,14 +53,13 @@ The following is a list of the key elements of my setup, with links to their con
[alacritty]: ./home/common/desktop/alacritty.nix
[gtk]: ./home/common/desktop/gtk.nix
[hyprland]: ./home/common/desktop/hyprland/default.nix
[mako]: ./home/common/desktop/sway/services.nix
[mako]: ./home/common/desktop/mako.nix
[neofetch]: ./home/common/shell/neofetch.nix
[nvim]: ./home/common/shell/vim.nix
[starship]: ./home/common/shell/starship.nix
[sway]: ./home/common/desktop/sway/default.nix
[swaylock]: ./home/common/desktop/sway/swaylock.nix
[swaylock]: ./home/common/desktop/swaylock.nix
[tmux]: ./home/common/shell/tmux.nix
[vscode]: ./home/common/desktop/vscode.nix
[zathura]: ./home/common/desktop/zathura.nix
[waybar]: ./home/common/desktop/sway/waybar/default.nix
[waybar]: ./home/common/desktop/waybar/default.nix
[zsh]: ./home/common/shell/zsh.nix
7 changes: 3 additions & 4 deletions home/common/desktop/rofi/powermenu/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
rofi-wayland
systemd
swaylock-effects
]
++ lib.optional (desktop == "sway") sway
++ lib.optional (desktop == "hyprland") hyprland)}
hyprland
])}
${(builtins.readFile ./powermenu.sh)}
'';

Expand Down
6 changes: 1 addition & 5 deletions home/common/desktop/rofi/powermenu/powermenu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,7 @@ run_cmd() {
elif [[ $1 == '--suspend' ]]; then
systemctl suspend
elif [[ $1 == '--logout' ]]; then
if [[ "$desktop" == "hyprland" ]]; then
hyprctl dispatch exit
elif [[ "$desktop" == "sway" ]]; then
swaymsg exit
fi
hyprctl dispatch exit
fi
else
exit 0
Expand Down
64 changes: 0 additions & 64 deletions home/common/desktop/sway/config/displays.nix

This file was deleted.

111 changes: 0 additions & 111 deletions home/common/desktop/sway/config/keybindings.nix

This file was deleted.

78 changes: 0 additions & 78 deletions home/common/desktop/sway/config/window-rules.nix

This file was deleted.

Loading

0 comments on commit dcbcf7c

Please sign in to comment.