Merge branch 'master' of ssh://ssh.nx2.site:50022/nx2/dotfiles

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2026-03-30 15:00:18 +02:00
18 changed files with 200 additions and 156 deletions

View File

@@ -51,7 +51,7 @@ in {
home = {
packages = with pkgs; [
chatterino2
unstable.chatterino2
streamlink
# mpv
];

View File

@@ -98,7 +98,6 @@
cursor-shape = {
normal = "block";
insert = "bar";
select = "underline";
};
file-picker = {
hidden = false; # Enables ignoring hidden files
@@ -190,7 +189,7 @@
keys = {
normal = {
"C-g" = [ ":new" ":insert-output lazygit" ":buffer-close!" ":redraw" ];
"C-m" = [ ":pipe fgl" "toggle_comments" ];
"C-m" = [ ":pipe nxfgl" "toggle_comments" ];
"A-`" = [ "no_op" ];
"`" = [ "no_op" ];
"ö" = { "s" = [ "switch_case" ]; "u" = [ "switch_to_uppercase" ]; "l" = [ "switch_to_lowercase" ]; };
@@ -325,7 +324,6 @@
"constant.numeric" = foreground;
"constructor" = secondary.bright;
"debug" = yellow.base;
"diagnostic.modifiers" = [ "underline" ];
"diff.delta" = subtle.bright;
"diff.minus" = negative.bright;
"diff.plus" = positive.bright;

View File

@@ -40,15 +40,15 @@ in {
hyprshade
hyprshot
slurp
xdg-desktop-portal-hyprland
# xdg-desktop-portal-hyprland
];
wayland.windowManager.hyprland = {
enable = true;
# package = pkgs-unstable.hyprland;
package = pkgs.hyprland;
# package = inputs.hyprland.packages.${pkgs.system}.hyprland;
# package = pkgs.hyprland;
package = inputs.hyprland.packages.${hyper.system}.hyprland;
xwayland.enable = true;
systemd.enable = true;
plugins = [
@@ -248,74 +248,74 @@ in {
# "hyprswitch --daemon"
];
windowrulev2 = [
"bordercolor rgba(${rice.lib.nohash rice.color.special.bright}ff), pinned:1"
windowrule = [
"border_color rgba(${rice.lib.nohash rice.color.special.bright}ff) rgba(${rice.lib.nohash rice.color.special.brighter}ff), match:pin 1"
"bordersize 0, floating:0, onworkspace:w[tv1]"
"rounding 0, floating:0, onworkspace:w[tv1]"
"bordersize 0, floating:0, onworkspace:f[1]"
"rounding 0, floating:0, onworkspace:f[1]"
"border_size 0, match:float 0, match:workspace w[tv1]"
"rounding 0, match:float 0, match:workspace w[tv1]"
"border_size 0, match:float 0, match:workspace f[1]"
"rounding 0, match:float 0, match:workspace f[1]"
] ++ [
"center 1,class:^(gimp)$"
"center 1,match:class ^(gimp)$"
"float, class:^(ibus-ui.*)$"
"float, class:^(ibus-ui-gtk3)$"
"float, class:^(imv)$"
"float, class:^(org.kde.polkit-kde-authentication-agent-1)$"
"float, class:^(presenter)$" # sent
"float, class:^(thunderbird)$"
"float, title:^(Compact folders)$"
"float, title:^(Ibus-ui.*)$"
"float, title:^(Ibus-ui-gtk3)$"
"float, title:^(Page Info .*)$"
"float, title:^(Picture-in-Picture)$"
"float, title:^(wlogout)$"
"float on, match:class ^(ibus-ui.*)$"
"float on, match:class ^(ibus-ui-gtk3)$"
"float on, match:class ^(imv)$"
"float on, match:class ^(org.kde.polkit-kde-authentication-agent-1)$"
"float on, match:class ^(presenter)$" # sent
"float on, match:class ^(thunderbird)$"
"float on, match:title ^(Compact folders)$"
"float on, match:title ^(Ibus-ui.*)$"
"float on, match:title ^(Ibus-ui-gtk3)$"
"float on, match:title ^(Page Info .*)$"
"float on, match:title ^(Picture-in-Picture)$"
"float on, match:title ^(wlogout)$"
"fullscreen, class:^(imv)$"
"fullscreen, class:^(sent)$"
"fullscreen, class:^(wlogout)$"
"fullscreen on, match:class ^(imv)$"
"fullscreen on, match:class ^(sent)$"
"fullscreen on, match:class ^(wlogout)$"
"noanim, class:^(imv)$"
"noanim, class:^(presenter)$" # sent
"no_anim on, match:class ^(imv)$"
"no_anim on, match:class ^(presenter)$" # sent
"opacity ${transparency}, class:^(Code)$"
"opacity ${transparency}, class:^(code-oss)$"
"opacity ${transparency}, class:^(discord)$"
# "opacity ${transparency}, class:^(vesktop)$"
# "opacity ${transparency}, class:^(Element)$"
"opacity ${transparency}, class:^(lutris)$"
"opacity ${transparency}, class:^(neovide)$"
# "opacity ${transparency}, class:^(obsidian)$"
"opacity ${transparency}, class:^(VSCodium)$"
"opacity ${transparency}, title:^(wlogout)$"
"opaque, title:^(GNU Image Manipulation Program)$"
"opaque, fullscreen:1"
"opacity ${transparency}, match:class ^(Code)$"
"opacity ${transparency}, match:class ^(code-oss)$"
"opacity ${transparency}, match:class ^(discord)$"
# "opacity ${transparency}, match:class ^(vesktop)$"
# "opacity ${transparency}, match:class ^(Element)$"
"opacity ${transparency}, match:class ^(lutris)$"
"opacity ${transparency}, match:class ^(neovide)$"
# "opacity ${transparency}, match:class ^(obsidian)$"
"opacity ${transparency}, match:class ^(VSCodium)$"
"opacity ${transparency}, match:title ^(wlogout)$"
"opaque on, match:title ^(GNU Image Manipulation Program)$"
"opaque on, match:fullscreen 1"
"pin, title:^(Picture-in-Picture)$"
"pin on, match:title ^(Picture-in-Picture)$"
"tile, class:^(sent)$"
"tile on, match:class ^(sent)$"
"workspace 100, class:^(gamescope)$"
"workspace 100, match:class ^(gamescope)$"
"float, title:^(terminal-file-picker)$"
"dimaround, title:^(terminal-file-picker)$"
"center, title:^(terminal-file-picker)$"
"size 80% 80%, title:^(terminal-file-picker)$"
"float on, match:title ^(terminal-file-picker)$"
"dim_around on, match:title ^(terminal-file-picker)$"
"center on, match:title ^(terminal-file-picker)$"
"size 80% 80%, match:title ^(terminal-file-picker)$"
# "size 30% 30%, initialTitle:^(Select Calendar)$"
];
"float on, match:initial_title ^(Select Calendar)$"
"size 30% 30%, match:initial_title ^(Select Calendar)$"
];
layerrule = [
"blur,waybar"
"blur,bar-0" # hyprpanel
"blur,bar-1"
"blur,bar-2"
"blur,bar-3"
"blur,bar-4"
"dimaround,rofi"
"blur,rofi"
"xray,rofi"
"blur on, match:namespace waybar"
"blur on, match:namespace bar-0" # hyprpanel
"blur on, match:namespace bar-1"
"blur on, match:namespace bar-2"
"blur on, match:namespace bar-3"
"blur on, match:namespace bar-4"
"blur on, match:namespace rofi"
"dim_around on, match:namespace rofi"
];
@@ -389,6 +389,7 @@ in {
"SUPER, W, submap, browserSM "
# "SUPER, E, exec, element-desktop"
"SUPER, R, exec, rofi -show drun"
"SUPER SHIFT, R, exec, rofi -show drun"
# "SUPER, T, exec, alacritty"
# "SUPER SHIFT, T, exec, alacritty -e sh -c "ssh nxace""
"SUPER, T, exec, SESSION_FROM_DE=TRUE ${terminal}"
@@ -435,7 +436,7 @@ in {
"SUPER SHIFT, C, exec, hyprpicker -n -a"
"SUPER, V, togglefloating, "
# "SUPER, B, exec, bitwarden"
"SUPER, N, togglesplit"
"SUPER, N, layoutmsg, togglesplit"
# "SUPER, M, exec, /home/nx2/scripts/meme-full-screen/meme-full-screen.sh "
''SUPER, M, exec, sh -c "hyprshade on $(find ${hyper.home}/.config/hypr/shaders -type f | sed -E 's-.*shaders/(.+)\.glsl-\1-g' | rofi -dmenu)"''
"SUPER Shift, M, exec, hyprshade off"

View File

@@ -14,10 +14,11 @@
latest.antigravity
element-desktop
obsidian
fontforge-gtk
zoom-us
inkscape
audacity
gemini-cli
unstable.gemini-cli
libreoffice
]) else []);
}

View File

@@ -492,11 +492,9 @@ in {
xdgOpenUsePortal = true;
config.common."org.freedesktop.impl.portal.FileChooser" = "termfilechooser";
extraPortals = [ tfc ] ++ (with pkgs; [
xdg-desktop-portal-hyprland
xdg-desktop-portal
xdg-desktop-portal-gnome
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
xdg-desktop-portal-wlr
]);
};