Added NCSway

This commit is contained in:
2026-02-27 00:17:12 +01:00
parent 76ec2c05d3
commit 0a714851c6
8 changed files with 947 additions and 367 deletions
+60 -14
View File
@@ -463,6 +463,9 @@ The tree below shows the full repository layout, with the standardized internal
#+begin_src bash :tangle no
├── assets
│   ├── conf
│   │   ├── app.
├── assets
│   ├── conf
│   │   ├── apps
│   │   │   ├── flatpaks.conf
│   │   │   └── packages.conf
@@ -475,12 +478,31 @@ The tree below shows the full repository layout, with the standardized internal
│   │   │   │   ├── hypridle.conf
│   │   │   │   ├── hyprland.conf
│   │   │   │   ├── hyprlock.conf
│   │   │   │   ├── hyprscrolling.conf
│   │   │   │   ├── hyprshell
│   │   │   │   │   ├── config.ron
│   │   │   │   │   └── styles.css
│   │   │   │   └── scripts
│   │   │   │   ├── hyprscrolling-per-monitor.sh
│   │   │   │   ├── hyprscroll-overflow.sh
│   │   │   │   ├── lid-lock.sh
│   │   │   │   ├── lid-restore.sh
│   │   │   │   └── powermenu.sh
│   │   │   ├── wallpaper
│   │   │   │   ├── gif
│   │   │   │   ├── pictures
│   │   │   │   │   ├── 1.jpg
│   │   │   │   │   ├── 2.jpg
│   │   │   │   │   ├── 3.jpg
│   │   │   │   │   ├── 4.png
│   │   │   │   │   ├── 5.jpg
│   │   │   │   │   ├── 6.jpg
│   │   │   │   │   ├── 7.jpg
│   │   │   │   │   ├── 8.jpg
│   │   │   │   │   └── 9.jpg
│   │   │   │   ├── videos
│   │   │   │   │   ├── dark_water_large.mp4
│   │   │   │   │   └── white_blobs_small.mp4
│   │   │   │   └── wallpaper.conf
│   │   │   └── waybar
│   │   │   ├── config.jsonc
@@ -489,6 +511,7 @@ The tree below shows the full repository layout, with the standardized internal
│   │   │   └── terminal
│   │   │   ├── alacritty.toml
│   │   │   ├── aliases.conf
│   │   │   ├── Catppuccin-Mocha.conf
│   │   │   ├── enabled_shells.conf
│   │   │   ├── kitty.conf
│   │   │   ├── starship.toml
@@ -497,14 +520,8 @@ The tree below shows the full repository layout, with the standardized internal
│   │   │   └── ssh
│   │   │   └── ssh-client.conf
│   │   └── services
│   ├── cursors
│   │   └── Bibata_Cursor-main
│   ├── icons
│   │   └── papirus-icon-theme-master
│   ├── lock.png
│   ── scripts
│   └── themes
│   └── Catppuccin-Mocha-Standard-Blue-Dark
│   ── scripts
├── configuration
│   ├── apps
│   │   ├── ai.nix
@@ -537,15 +554,18 @@ The tree below shows the full repository layout, with the standardized internal
│   │   └── theme.nix
│   ├── default.nix
│   ├── desktop
│   │   ├── animated_wallpaper.nix
│   │   ├── hyprexpo.nix
│   │   ├── hypridle.nix
│   │   ├── hyprland.nix
│   │   ├── hyprlock.nix
│   │   ├── hyprscrolling.nix
│   │   ├── hyprshell.nix
│   │   ├── walker.nix
│   │   ├── powermenu.nix
│   │   ├── rotating_wallpaper.nix
│   │   ── waybar.nix
│   │   ── walker.nix
│   │   ├── waybar.nix
│   │   └── workspace_wallpaper.nix
│   └── dev
│   ├── alacritty.nix
│   ├── dev.nix
@@ -559,10 +579,6 @@ The tree below shows the full repository layout, with the standardized internal
│   └── zsh.nix
├── LICENSE
├── machines
│   ├── machine1
│   │   ├── configuration.nix
│   │   ├── hardware-configuration.nix
│   │   └── home.nix
│   └── traveldroid
│   ├── configuration.nix
│   ├── hardware-configuration.nix
@@ -598,7 +614,6 @@ The tree below shows the full repository layout, with the standardized internal
| Window Manager | [[https://hyprland.org/][Hyprland]] |
| Bar | [[https://github.com/Alexays/Waybar][Waybar]] |
| Application Launcher | [[https://github.com/abenz1267/walker][Walker]] |
| Notification Daemon | [[https://github.com/dunst-project/dunst][Dunst]] |
| Terminal Emulator | [[https://alacritty.org/][Alacritty]] |
| Shell | [[https://ohmyz.sh/][Zsh]] and [[https://starship.rs/][Starship]] |
| Text Editor | [[https://www.gnu.org/software/emacs/][Emacs]] |
@@ -1636,6 +1651,7 @@ This module will import all necessities.
./desktop/hyprlock.nix
./desktop/hyprscrolling.nix
./desktop/hyprshell.nix
./desktop/ncsway.nix
./desktop/powermenu.nix
#./desktop/animated_wallpaper.nix
#./desktop/rotating_wallpaper.nix
@@ -1658,6 +1674,36 @@ This module will import all necessities.
}
#+end_src
** NCSway
Takes care of notifications
#+begin_src nix :tangle home/desktop/ncsway.nix :noweb tangle :mkdirp yes
{ config, pkgs, lib, flakeRoot, ... }:
let
repoConf = flakeRoot + "/assets/conf/desktop/notifications/swaync/config.json";
repoStyle = flakeRoot + "/assets/conf/desktop/notifications/swaync/style.css";
in
{
home.packages = [ pkgs.swaynotificationcenter ];
# Ensure config directory exists in ~/.config
xdg.configFile."swaync/config.json".source = repoConf;
xdg.configFile."swaync/style.css".source = repoStyle;
# Start swaync automatically (systemd user service)
systemd.user.services.swaync = {
Unit = {
Description = "Sway Notification Center";
PartOf = [ "graphical-session.target" ];
};
Service = {
ExecStart = "${pkgs.swaynotificationcenter}/bin/swaync";
Restart = "always";
};
Install = {
WantedBy = [ "graphical-session.target" ];
};
};
}
#+end_src
** Powermenu
Creates a script for a powermenu
#+begin_src nix :tangle home/desktop/powermenu.nix :noweb tangle :mkdirp yes