Hyprland config

This commit is contained in:
LarsZauberer 2024-04-13 19:35:09 +02:00
commit 61cb059df9
3 changed files with 27 additions and 2 deletions

View file

@ -55,8 +55,25 @@ in {
kb_layout = "ch";
};
bezier = [
"wind, 0.05, 0.9, 0.1, 1.05"
"winIn, 0.1, 1.1, 0.1, 1.1"
"winOut, 0.3, -0.3, 0, 1"
"liner, 1, 1, 1, 1"
];
animation = [
"workspaces,1,10,default"
"windows, 1, 6, wind, slide"
"windowsIn, 1, 6, winIn, slide"
"windowsOut, 1, 5, winOut, slide"
"windowsMove, 1, 5, wind, slide"
"border, 1, 1, liner"
"borderangle, 1, 30, liner, loop"
"fade, 1, 10, default"
"workspaces, 1, 5, wind"
];
exec-once = [
];
bind = [
@ -64,6 +81,8 @@ in {
"$mod, return, exec, alacritty"
"$mod SHIFT, return, exec, firefox"
"$mod SHIFT, m, exit"
", F11, exec, pamixer -d 2"
", F12, exec, pamixer -i 2"
# Application
"$mod SHIFT, c, exec, code --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu"
@ -80,7 +99,7 @@ in {
"$mod, F, fullscreen"
# Screenshot
"$mod SHIFT, s, exec, grim -g 'slurp -d' - | wl-copy"
"$mod SHIFT, s, exec, grim -g '$(slurp -d)' - | wl-copy"
]
++ (
builtins.concatLists (builtins.genList (

View file

@ -14,6 +14,11 @@
"DP-2,2560x1440@144,0x0,1"
"DP-1,1920x1080@60,2560x0,1"
];
extra = {
exec-once = [
"hyprctl dispatch moveworkspacetomonitor 1 DP-2"
];
};
};
};

View file

@ -52,6 +52,7 @@ in {
grim
slurp
wl-clipboard
pavucontrol
];
};
}