mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
578fe3f5a0
This commit contains the following changes: - nixos/sway: Remove the beta references - sway: Drop buildDocs - nixos/sway: Improve the documentation - sway,nixos/sway: Adapt Sway to NixOS - Copy the default configuration file to /etc/sway/config (Sway will still load the identical file from the Nix store but this makes it easier to copy the default configuration file). - This will also remove all references to the Nix store from the default configuration file as they will eventually be garbage collected which is a problem if the user copies it. - I've also decided to drop the default wallpaper (alternatively we could copy it to a fixed location). - nixos/sway: Drop the package option
22 lines
596 B
Diff
22 lines
596 B
Diff
diff --git a/config.in b/config.in
|
|
--- a/config.in
|
|
+++ b/config.in
|
|
@@ -21,8 +21,8 @@ set $menu dmenu_path | dmenu | xargs swaymsg exec
|
|
|
|
### Output configuration
|
|
#
|
|
-# Default wallpaper (more resolutions are available in @datadir@/backgrounds/sway/)
|
|
-output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
|
+# Default wallpaper
|
|
+#output * bg ~/.config/sway/backgrounds/Sway_Wallpaper_Blue_1920x1080.png fill
|
|
#
|
|
# Example configuration:
|
|
#
|
|
@@ -213,5 +213,3 @@ bar {
|
|
inactive_workspace #32323200 #32323200 #5c5c5c
|
|
}
|
|
}
|
|
-
|
|
-include @sysconfdir@/sway/config.d/*
|
|
|