111 lines
2.7 KiB
Nix
111 lines
2.7 KiB
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
{
|
||
|
home.packages = with pkgs; [
|
||
|
rofi-wayland
|
||
|
pavucontrol
|
||
|
swww
|
||
|
wl-clipboard
|
||
|
lxqt.lxqt-policykit
|
||
|
grim
|
||
|
slurp
|
||
|
swappy
|
||
|
hyprpicker
|
||
|
emote
|
||
|
];
|
||
|
|
||
|
wayland.windowManager.hyprland.enable = true;
|
||
|
|
||
|
wayland.windowManager.hyprland.settings = {
|
||
|
monitor = "DP-1,2560x1440@165.00Hz,0x0,1,bitdepth,10";
|
||
|
|
||
|
env = [
|
||
|
"XCURSOR_THEME = Bibata-Modern-Ice "
|
||
|
"XCURSOR_SIZE = 24 "
|
||
|
"HYPRCURSOR_THEME = Bibata-Modern-Ice"
|
||
|
"HYPRCURSOR_SIZE = 24"
|
||
|
];
|
||
|
|
||
|
exec-once = [
|
||
|
"lxqt-policykit-agent &"
|
||
|
"swww init &"
|
||
|
"swww img ~/nix/modules/stylix/image.png &"
|
||
|
"waybar &"
|
||
|
];
|
||
|
|
||
|
"$mod" = "SUPER";
|
||
|
|
||
|
bind = [
|
||
|
"$mod, B, exec, emote &"
|
||
|
"$mod, Z, exec, grim - | swappy -f -"
|
||
|
"$mod, D, exec, prismlauncher -l minecraft"
|
||
|
"$mod, S, exec, brave"
|
||
|
"$mod, A, exec, rofi -show drun"
|
||
|
"$mod, TAB, exec, alacritty"
|
||
|
"$mod, A, exec, rofi -show drun"
|
||
|
"$mod, E, exec, nemo &"
|
||
|
"$mod, X, exec, keepassxc"
|
||
|
"$mod, F, exec, freetube"
|
||
|
"$mod, C, exec, hyprpicker -a"
|
||
|
"$mod, Q, killactive"
|
||
|
"$mod, M, exit, hyprland"
|
||
|
"$mod, W, togglefloating"
|
||
|
"$mod, U, exec, systemctl suspend"
|
||
|
"$mod, L, exec, amixer -q sset Master 5%+"
|
||
|
"$mod, K, exec, amixer -q sset Master 5%-"
|
||
|
"$mod, Return, fullscreen"
|
||
|
"$mod, left, movefocus, l"
|
||
|
"$mod, right, movefocus, r"
|
||
|
"$mod, up, movefocus, u"
|
||
|
"$mod, down, movefocus, d"
|
||
|
"$mod, 1, workspace, 1"
|
||
|
"$mod, 2, workspace, 2"
|
||
|
"$mod, 3, workspace, 3"
|
||
|
"$mod, 4, workspace, 4"
|
||
|
"$mod, 5, workspace, 5"
|
||
|
"$mod, 6, workspace, 6"
|
||
|
"$mod, 7, workspace, 7"
|
||
|
"$mod, 8, workspace, 8"
|
||
|
"$mod, 9, workspace, 9"
|
||
|
"$mod, 0, workspace, 10"
|
||
|
"$mod+Shift, 1, movetoworkspace, 1"
|
||
|
"$mod+Shift, 2, movetoworkspace, 2"
|
||
|
"$mod+Shift, 3, movetoworkspace, 3"
|
||
|
"$mod+Shift, 4, movetoworkspace, 4"
|
||
|
"$mod+Shift, 5, movetoworkspace, 5"
|
||
|
"$mod+Shift, 6, movetoworkspace, 6"
|
||
|
"$mod+Shift, 7, movetoworkspace, 7"
|
||
|
"$mod+Shift, 8, movetoworkspace, 8"
|
||
|
"$mod+Shift, 9, movetoworkspace, 9"
|
||
|
"$mod+Shift, 0, movetoworkspace, 10"
|
||
|
];
|
||
|
|
||
|
bindm= [
|
||
|
"$mod, mouse:272, movewindow"
|
||
|
"$mod, mouse:273, resizewindow"
|
||
|
];
|
||
|
|
||
|
general = {
|
||
|
gaps_in = 3;
|
||
|
gaps_out = 5;
|
||
|
border_size = 0;
|
||
|
# allow_tearing = false;
|
||
|
};
|
||
|
|
||
|
misc ={
|
||
|
disable_hyprland_logo = true;
|
||
|
disable_splash_rendering = true;
|
||
|
};
|
||
|
|
||
|
decoration = {
|
||
|
rounding = 5;
|
||
|
};
|
||
|
|
||
|
input = {
|
||
|
kb_layout = "us,de";
|
||
|
kb_variant = ",qwerty";
|
||
|
kb_options = "grp:alt_shift_toggle";
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|