hyprland settings

This commit is contained in:
Kopatz
2025-03-23 16:37:17 +01:00
parent 7c1bd18582
commit 030e91b81f
3 changed files with 23 additions and 13 deletions

View File

@@ -217,8 +217,6 @@ in
'' ''
Shift_L, Print, exec, ${grim} -g "$(${slurp} -d)" ~/Pictures/$(date +'%s_grim.png')'' Shift_L, Print, exec, ${grim} -g "$(${slurp} -d)" ~/Pictures/$(date +'%s_grim.png')''
"$mainMod, SPACE, exec, ${rofi} -modi drun -show drun -config ~/.config/rofi/rofidmenu.rasi" "$mainMod, SPACE, exec, ${rofi} -modi drun -show drun -config ~/.config/rofi/rofidmenu.rasi"
" , XF86MonBrightnessUp, exec, ${brightnessctl} s +5%"
" , XF86MonBrightnessDown, exec, ${brightnessctl} s 5%-"
" , XF86AudioPlay, exec, ${playerctl} play-pause" " , XF86AudioPlay, exec, ${playerctl} play-pause"
" , XF86AudioNext, exec, ${playerctl} next" " , XF86AudioNext, exec, ${playerctl} next"
" , XF86AudioPrev, exec, ${playerctl} previous" " , XF86AudioPrev, exec, ${playerctl} previous"
@@ -229,11 +227,10 @@ in
"$mainMod, right, movefocus, r" "$mainMod, right, movefocus, r"
"$mainMod, up, movefocus, u" "$mainMod, up, movefocus, u"
"$mainMod, down, movefocus, d" "$mainMod, down, movefocus, d"
"$mainMod SHIFT, left, resizeactive, -30 0" "$mainMod CTRL, left, movewindow, l"
"$mainMod SHIFT, right, resizeactive, 30 0" "$mainMod CTRL, right, movewindow, r"
"$mainMod SHIFT, up, resizeactive, 0 -30" "$mainMod CTRL, up, movewindow, u"
"$mainMod SHIFT, down, resizeactive, 0 30" "$mainMod CTRL, down, movewindow, d"
# Switch workspaces with mainMod + [0-9] # Switch workspaces with mainMod + [0-9]
"$mainMod, 1, workspace, 1" "$mainMod, 1, workspace, 1"
@@ -267,6 +264,18 @@ in
# "ALT, Tab, bringactivetotop," # "ALT, Tab, bringactivetotop,"
]; ];
# e = repeat when held
binde =
let brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl";
in [
" , XF86MonBrightnessUp, exec, ${brightnessctl} s +5%"
" , XF86MonBrightnessDown, exec, ${brightnessctl} s 5%-"
"$mainMod SHIFT, left, resizeactive, -30 0"
"$mainMod SHIFT, right, resizeactive, 30 0"
"$mainMod SHIFT, up, resizeactive, 0 -30"
"$mainMod SHIFT, down, resizeactive, 0 30"
];
bindm = [ bindm = [
# Move/resize windows with mainMod + LMB/RMB and dragging # Move/resize windows with mainMod + LMB/RMB and dragging
"$mainMod, mouse:272, movewindow" "$mainMod, mouse:272, movewindow"

View File

@@ -48,6 +48,7 @@ in {
cava cava
dex # starts applications according to .desktop files dex # starts applications according to .desktop files
hyprshade hyprshade
#waybar
#qt5.qtwayland #qt5.qtwayland
#qt6.qmake #qt6.qmake
#qt6.qtwayland #qt6.qtwayland

View File

@@ -17,19 +17,19 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "lact"; pname = "lact";
version = "0.7.1"; version = "0.7.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ilya-zlobintsev"; owner = "ilya-zlobintsev";
repo = "LACT"; repo = "LACT";
#rev = "v${version}"; rev = "v${version}";
#hash = "sha256-zaN6CQSeeoYFxLO6E1AMKAjeNOcPi2OsGfYkvZLPKcw="; hash = "sha256-6nNt/EnJKHdldjpCW2pLPBkU5TLGEaqtnUUBraeRa3I=";
rev = "e472dec45682f96a272b77d368791121e10ba7da"; #rev = "e472dec45682f96a272b77d368791121e10ba7da";
hash = "sha256-d081f49ojJzz0N28lIu3NZ8SSvSuoz2HfjQl5Zu8PpU="; #hash = "sha256-d081f49ojJzz0N28lIu3NZ8SSvSuoz2HfjQl5Zu8PpU=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-vc8KqMov2Og5wRS4b9n9Vixtg4vwCM/MlkCDbqsG3Kg="; cargoHash = "sha256-NoWngD0LJ+cteoQIJ0iye0MZgmLuuxN2YHHyMqeEABc=";
nativeBuildInputs = nativeBuildInputs =
[ blueprint-compiler pkg-config wrapGAppsHook4 rustPlatform.bindgenHook ]; [ blueprint-compiler pkg-config wrapGAppsHook4 rustPlatform.bindgenHook ];