2026-01-27

This commit is contained in:
Weckyy702
2026-01-27 16:56:07 +01:00
parent 156bd44710
commit 3defad84fb
6 changed files with 112 additions and 20 deletions

View File

@@ -1,6 +1,7 @@
{ config, pkgs, username, inputs, ...}: {
imports = [
inputs.nixvim.homeModules.nixvim
inputs.catppuccin.homeModules.catppuccin
];
#NOTE: MUST be kept up to date with nixpkgs!
@@ -12,15 +13,24 @@
home.packages = with pkgs; [
mpv
bitwarden-desktop
feh
grim
slurp
xdg-user-dirs
libqalculate
];
programs.wofi.enable = true;
catppuccin.enable = true;
wayland.windowManager.hyprland = {
enable = true;
settings = import ./hyprland/settings.nix;
};
#TODO: decide on waybar
programs.nixvim = {
enable = true;
@@ -71,7 +81,7 @@
# For automatic login
profileExtra = ''
if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
exec hyprland
exec hyprland > /var/log/hypr.log
fi
'';

View File

@@ -1,10 +1,14 @@
{
"$mod" = "SUPER";
"$browser" = "zen";
"$term" = "kitty";
general = {
border_size = 0;
border_size = 2;
gaps_in = 5;
gaps_out = 10;
layout = "dwindle";
allow_tearing = false;
resize_on_border = true;
};
@@ -14,20 +18,35 @@
input = {
kb_layout = "de";
follow_mouse = 1;
};
bind = builtins.concatLists [
[
"$mod, Q, exit"
"$mod, Return, exec, kitty"
"$mod, D, exec, wofi --show drun"
"$mod, F2, exec, zen"
"$mod, c, killactive"
"$mod, f, fullscreen"
]
# Switch workspaces
(map (i: "$mod, ${builtins.toString i}, workspace, ${builtins.toString i}") [1 2 3 4 5 6 7 8 9])
(map (i: "$mod+SHIFT, ${builtins.toString i}, movetoworkspace, ${builtins.toString i}") [1 2 3 4 5 6 7 8 9])
bind = [
"$mod, Q, exit"
"$mod, Return, exec, $term"
"$mod, D, exec, wofi --show drun"
"$mod, F2, exec, $browser"
"$mod, c, killactive"
"$mod, f, fullscreen"
"$mod, h, movefocus, l"
"$mod, j, movefocus, d"
"$mod, k, movefocus, u"
"$mod, l, movefocus, r"
"$mod+SHIFT, h, movewindow, l"
"$mod+SHIFT, j, movewindow, d"
"$mod+SHIFT, k, movewindow, u"
"$mod+SHIFT, l, movewindow, r"
", Print, exec, grim -g \"$(slurp)\" \"/home/weckyy702/Pictures/screenshots/$(date -Iseconds).png\""
"$mod+SHIFT, s, exec, hyprlock"
]
++
# Switch workspaces
(map (i: "$mod, ${builtins.toString i}, workspace, ${builtins.toString i}") [1 2 3 4 5 6 7 8 9])
++
(map (i: "$mod+SHIFT, ${builtins.toString i}, movetoworkspacesilent, ${builtins.toString i}") [1 2 3 4 5 6 7 8 9]);
bindm = [
"$mod, mouse:272, movewindow"
];
decoration = {
@@ -38,11 +57,11 @@
};
animations.enabled = false;
misc.disable_hyprland_logo = true;
cursor.inactive_timeout = 5;
ecosystem.no_update_news = true;
ecosystem.no_donation_nag = true;