Compare commits
3 Commits
1643f30906
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
cec5ec5493
|
|||
|
5833dff19e
|
|||
|
7b4c2df7af
|
@ -98,7 +98,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
hyprland = {
|
hyprland = {
|
||||||
enable = !headless;
|
enable = false;
|
||||||
dunst.enable = !config.modules.hyprpanel.enable; # Disable for hyprpanel
|
dunst.enable = !config.modules.hyprpanel.enable; # Disable for hyprpanel
|
||||||
bars.enable = false;
|
bars.enable = false;
|
||||||
dynamicCursor.enable = false;
|
dynamicCursor.enable = false;
|
||||||
@ -225,8 +225,8 @@ in
|
|||||||
|
|
||||||
windowrules = [
|
windowrules = [
|
||||||
# Fix jetbrains tooltip flicker
|
# Fix jetbrains tooltip flicker
|
||||||
"float,class:^(jetbrains-.*)$,title:^(win[0-9]+)$"
|
"match:class ^(jetbrains-.*)$, match:title ^(win[0-9]+)$, float 1"
|
||||||
"nofocus,class:^(jetbrains-.*)$,title:^(win[0-9]+)$"
|
"match:class ^(jetbrains-.*)$, match:title ^(win[0-9]+)$, no_initial_focus 1"
|
||||||
];
|
];
|
||||||
|
|
||||||
workspacerules = {
|
workspacerules = {
|
||||||
|
|||||||
@ -111,19 +111,19 @@
|
|||||||
|
|
||||||
windowrule = let
|
windowrule = let
|
||||||
mkWorkspaceRule = workspace: class:
|
mkWorkspaceRule = workspace: class:
|
||||||
"workspace ${workspace}, "
|
"match:class ^(${class})$, "
|
||||||
+ "class:^(${class})$";
|
+ "workspace ${workspace}";
|
||||||
mkWorkspaceRules = workspace: class-list:
|
mkWorkspaceRules = workspace: class-list:
|
||||||
builtins.map (mkWorkspaceRule workspace) class-list;
|
builtins.map (mkWorkspaceRule workspace) class-list;
|
||||||
|
|
||||||
mkFloatingRule = attrs:
|
mkFloatingRule = attrs:
|
||||||
"float"
|
(lib.optionalString (builtins.hasAttr "class" attrs) "match:class ^(${attrs.class})$, ")
|
||||||
+ (lib.optionalString (builtins.hasAttr "class" attrs) ", class:^(${attrs.class})$")
|
+ (lib.optionalString (builtins.hasAttr "title" attrs) "match:title ^(${attrs.title})$, ")
|
||||||
+ (lib.optionalString (builtins.hasAttr "title" attrs) ", title:^(${attrs.title})$");
|
+ "float 1";
|
||||||
|
|
||||||
mkTranslucentRule = class:
|
mkTranslucentRule = class:
|
||||||
"opacity ${hyprland.transparent-opacity} ${hyprland.transparent-opacity}, "
|
"match:class ^(${class})$, "
|
||||||
+ "class:^(${class})$";
|
+ "opacity ${hyprland.transparent-opacity} ${hyprland.transparent-opacity}";
|
||||||
in
|
in
|
||||||
lib.mkMerge [
|
lib.mkMerge [
|
||||||
(hyprland.workspacerules
|
(hyprland.workspacerules
|
||||||
@ -165,15 +165,15 @@
|
|||||||
# Because those are not windows, but layers,
|
# Because those are not windows, but layers,
|
||||||
# we have to blur them explicitly
|
# we have to blur them explicitly
|
||||||
layerrule = [
|
layerrule = [
|
||||||
"blur,rofi"
|
"match:class rofi, blur 1"
|
||||||
"ignorealpha 0.001,rofi" # Fix pixelated corners
|
# "match:class rofi, ignore_alpha 0.001" # Fix pixelated corners
|
||||||
"xray 0,rofi" # Render on top of other windows
|
# "match:class rofi, xray 0" # Render on top of other windows
|
||||||
"dimaround,rofi"
|
# "match:class rofi, dim_around 1"
|
||||||
|
|
||||||
"blur,waybar"
|
"match:class waybar, blur 1"
|
||||||
"blur,gtk4-layer-shell"
|
"match:class gtk4-layer-shell, blur 1"
|
||||||
"blur,bar-0"
|
"match:class bar-0, blur 1"
|
||||||
"blur,bar-1"
|
"match:class bar-1, blur 1"
|
||||||
];
|
];
|
||||||
|
|
||||||
decoration = {
|
decoration = {
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
enable = true;
|
enable = false;
|
||||||
restartIfChanged = true;
|
restartIfChanged = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -166,7 +166,7 @@
|
|||||||
|
|
||||||
# Wallpaper
|
# Wallpaper
|
||||||
blurWallpaperOnOverview = true;
|
blurWallpaperOnOverview = true;
|
||||||
blurredWallpaperLayer = true;
|
blurredWallpaperLayer = false;
|
||||||
wallpaperFillMode = "Fill";
|
wallpaperFillMode = "Fill";
|
||||||
|
|
||||||
# Control center
|
# Control center
|
||||||
|
|||||||
@ -100,7 +100,9 @@ in {
|
|||||||
prefer-no-csd = true; # Disable client-side decorations (e.g. window titlebars)
|
prefer-no-csd = true; # Disable client-side decorations (e.g. window titlebars)
|
||||||
|
|
||||||
spawn-at-startup = [
|
spawn-at-startup = [
|
||||||
{argv = ["noctalia-shell"];}
|
# TODO: Depend on options
|
||||||
|
# {argv = ["noctalia-shell"];}
|
||||||
|
{argv = ["dms" "run"];}
|
||||||
|
|
||||||
{argv = ["kitty" "--hold" "fastfetch"];}
|
{argv = ["kitty" "--hold" "fastfetch"];}
|
||||||
{argv = ["zeal"];}
|
{argv = ["zeal"];}
|
||||||
@ -331,6 +333,7 @@ in {
|
|||||||
hotkey-overlay = {title = "Edit the NixFlake.";};
|
hotkey-overlay = {title = "Edit the NixFlake.";};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# TODO: Enable with Noctalia option
|
||||||
# Noctalia
|
# Noctalia
|
||||||
# "Mod+A" = {
|
# "Mod+A" = {
|
||||||
# action = spawn "noctalia-shell" "ipc" "call" "launcher" "toggle";
|
# action = spawn "noctalia-shell" "ipc" "call" "launcher" "toggle";
|
||||||
@ -349,6 +352,7 @@ in {
|
|||||||
# hotkey-overlay = {title = "Toggle the session menu.";};
|
# hotkey-overlay = {title = "Toggle the session menu.";};
|
||||||
# };
|
# };
|
||||||
|
|
||||||
|
# TODO: Enable with DMS option
|
||||||
# DankMaterialShell
|
# DankMaterialShell
|
||||||
"Mod+A" = {
|
"Mod+A" = {
|
||||||
action = spawn "dms" "ipc" "call" "spotlight" "toggle";
|
action = spawn "dms" "ipc" "call" "spotlight" "toggle";
|
||||||
|
|||||||
@ -116,6 +116,12 @@
|
|||||||
fsType = "nfs";
|
fsType = "nfs";
|
||||||
options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
|
options = ["defaults" "rw" "noatime" "_netdev" "bg" "soft"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"/media/Box" = {
|
||||||
|
device = "192.168.86.20:/mnt/Seagate4TB/Box";
|
||||||
|
fsType = "nfs";
|
||||||
|
options = ["defaults" "rw" "relatime" "_netdev" "bg" "soft"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
|
|||||||
Reference in New Issue
Block a user