diff --git a/modules/hm/default.nix b/modules/hm/default.nix index b0cb288..c9e3d83 100644 --- a/modules/hm/default.nix +++ b/modules/hm/default.nix @@ -36,12 +36,12 @@ in hyde.enable = true; # enable hyde module hyprland = { enable = true; # enable hyprland module - extraConfig = ""; # extra config appended to userprefs.conf + extraConfig = builtins.readFile ./userprefs.conf; # extra config appended to userprefs.conf overrideMain = null; # complete override of hyprland.conf suppressWarnings = false; # suppress warnings # Animation configurations animations = { - enable = true; # enable animation configurations + enable = false; # enable animation configurations preset = "standard"; # string from override or default: "standard" # or "LimeFrenzy", "classic", "diablo-1", "diablo-2", "disable", "dynamic", "end4", "fast", "high", "ja", "me-1", "me-2", "minimal-1", "minimal-2", "moving", "optimized", "standard", "vertical" extraConfig = ""; # additional animation configuration overrides = { }; # override specific animation files by name diff --git a/modules/hm/keybindings.conf b/modules/hm/keybindings.conf index 2370f42..14ddbea 100644 --- a/modules/hm/keybindings.conf +++ b/modules/hm/keybindings.conf @@ -167,4 +167,13 @@ bindd = $mainMod Alt, 8, $d move to workspace 8 (silent), movetoworkspacesilent, bindd = $mainMod Alt, 9, $d move to workspace 9 (silent), movetoworkspacesilent, 9 bindd = $mainMod Alt, 0, $d move to workspace 10 (silent), movetoworkspacesilent, 10 +bindd = $mainMod, o, hyprexpo:expo, toggle + +bindd = $mainMod, period, layoutmsg, move +col +bindd = $mainMod, comma, layoutmsg, move -col +bindd = $mainMod SHIFT, period, layoutmsg, movewindowto r +bindd = $mainMod SHIFT, comma, layoutmsg, movewindowto l +bindd = $mainMod SHIFT, up, layoutmsg, movewindowto u +bindd = $mainMod SHIFT, down, layoutmsg, movewindowto d + $d=#! unset the group name \ No newline at end of file diff --git a/modules/hm/userprefs.conf b/modules/hm/userprefs.conf new file mode 100644 index 0000000..793b5a6 --- /dev/null +++ b/modules/hm/userprefs.conf @@ -0,0 +1,68 @@ + +# █░█ █▀ █▀▀ █▀█   █▀█ █▀█ █▀▀ █▀▀ █▀ +# █▄█ ▄█ ██▄ █▀▄   █▀▀ █▀▄ ██▄ █▀░ ▄█ + +# Set your personal hyprland configuration here +# See https://wiki.hyprland.org/Configuring for more information + +# // █ █▄░█ █▀█ █░█ ▀█▀ +# // █ █░▀█ █▀▀ █▄█ ░█░ + + +# Uncomment to enable // change to a preferred value +# 🔗 See https://wiki.hyprland.org/Configuring/Variables/#input +input { + # kb_layout = us + # follow_mouse = 1 + # sensitivity = 0 + # force_no_accel = 0 + # accel_profile = flat + # numlock_by_default = true + + # 🔗 See https://wiki.hyprland.org/Configuring/Variables/#touchpad + touchpad { + natural_scroll = no + } + +} + + + +# 🔗 See https://wiki .hyprland.org/Configuring/Variables/#gestures +gestures { +# workspace_swipe = true +# workspace_swipe_fingers = 3 +} + +# for window shallow similar to devour +misc { + # enable_swallow = true + # swallow_regex = (foot|kitty|allacritty|Alacritty|ghostty|Ghostty|org.wezfurlong.wezterm) +} + +# Don't show update on first launch +ecosystem { + # no_update_news = true +} + +general { + layout = scrolling +} + +plugin { + hyprscrolling { + column_width = 0.7 + fullscreen_on_one_column = false + } + hyprexpo { + columns = 3 + gap_size = 5 + bg_col = rgb(111111) + workspace_method = center current # [center/first] [workspace] e.g. first 1 or center m+1 + + gesture_distance = 300 # how far is the "max" for the gesture + } + +} + +exec-once = kime \ No newline at end of file