fuck you and your mom
This commit is contained in:
@@ -60,7 +60,7 @@ assets/Wallpapers/ # Wallpaper images
|
|||||||
|
|
||||||
### Window Manager Selection
|
### Window Manager Selection
|
||||||
|
|
||||||
Set in `flake.nix` via `window_manager` variable (options: `"hyprland"`, `"river"`, `"niri"`, `"all"`). Currently set to `"hyprland"`. This variable is passed to modules for conditional WM configuration.
|
Set in `flake.nix` via `window_manager` variable (options: `"hyprland"`, `"niri"`, `"all"`). Currently set to `"hyprland"`. This variable is passed to modules for conditional WM configuration.
|
||||||
|
|
||||||
### Theming
|
### Theming
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,6 @@
|
|||||||
;; change `org-directory'. It must be set before org loads!
|
;; change `org-directory'. It must be set before org loads!
|
||||||
(setq org-directory "~/org/")
|
(setq org-directory "~/org/")
|
||||||
|
|
||||||
(require 'direnv)
|
|
||||||
|
|
||||||
|
|
||||||
;; Whenever you reconfigure a package, make sure to wrap your config in an
|
;; Whenever you reconfigure a package, make sure to wrap your config in an
|
||||||
|
|||||||
@@ -50,15 +50,16 @@ in
|
|||||||
# Layout settings (aligned with hyprland gaps)
|
# Layout settings (aligned with hyprland gaps)
|
||||||
layout = {
|
layout = {
|
||||||
gaps = 10; # hyprland: gaps_out = 10
|
gaps = 10; # hyprland: gaps_out = 10
|
||||||
center-focused-column = "never";
|
center-focused-column = "on-overflow";
|
||||||
|
|
||||||
preset-column-widths = [
|
preset-column-widths = [
|
||||||
{ proportion = 1.0 / 3.0; }
|
{ proportion = 1.0 / 3.0; }
|
||||||
{ proportion = 1.0 / 2.0; }
|
{ proportion = 1.0 / 2.0; }
|
||||||
{ proportion = 2.0 / 3.0; }
|
{ proportion = 2.0 / 3.0; }
|
||||||
|
{ proportion = 0.9; }
|
||||||
];
|
];
|
||||||
|
|
||||||
default-column-width = { proportion = 1.0 / 2.0; };
|
default-column-width = { proportion = 0.9; };
|
||||||
|
|
||||||
focus-ring = {
|
focus-ring = {
|
||||||
enable = true; # Hyprland doesn't have separate focus ring
|
enable = true; # Hyprland doesn't have separate focus ring
|
||||||
|
|||||||
26
dots/xdg.nix
26
dots/xdg.nix
@@ -14,20 +14,24 @@
|
|||||||
portal = {
|
portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
config.common.default = [
|
config = {
|
||||||
"hyprland;kde"
|
common.default = [ "gtk" ];
|
||||||
"kde"
|
} // lib.optionalAttrs (window_manager == "hyprland" || window_manager == "all") {
|
||||||
"gtk"
|
hyprland.default = [ "hyprland" "gtk" ];
|
||||||
];
|
} // lib.optionalAttrs (window_manager == "niri" || window_manager == "all") {
|
||||||
|
niri.default = [ "gnome" "gtk" ];
|
||||||
|
};
|
||||||
|
|
||||||
xdgOpenUsePortal = true;
|
xdgOpenUsePortal = true;
|
||||||
|
|
||||||
extraPortals = with pkgs; [
|
extraPortals = with pkgs;
|
||||||
xdg-desktop-portal-wlr
|
[ xdg-desktop-portal-gtk ]
|
||||||
xdg-desktop-portal-gtk
|
++ lib.optionals (window_manager == "hyprland" || window_manager == "all") [
|
||||||
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland
|
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland
|
||||||
kdePackages.xdg-desktop-portal-kde
|
]
|
||||||
];
|
++ lib.optionals (window_manager == "niri" || window_manager == "all") [
|
||||||
|
xdg-desktop-portal-gnome
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
mime.enable = true;
|
mime.enable = true;
|
||||||
|
|||||||
@@ -50,7 +50,10 @@ in
|
|||||||
builtins.readFile "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
|
builtins.readFile "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
|
||||||
|
|
||||||
# Niri
|
# Niri
|
||||||
programs.niri.enable = useNiri;
|
programs.niri = {
|
||||||
|
enable = useNiri;
|
||||||
|
#package = inputs.niri.packages.${pkgs.stdenv.hostPlatform.system}.niri-stable;
|
||||||
|
};
|
||||||
|
|
||||||
# Hyprland
|
# Hyprland
|
||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
|
|||||||
Reference in New Issue
Block a user