summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-12 00:49:57 -0700
committerFuwn <[email protected]>2024-09-12 00:49:57 -0700
commit1a7424c26bea2d28687b95312b547cb104ff683c (patch)
tree3e5b786f632d000b57da9d219bf01ad9d7ff53d7 /home
parenthome: pywal (diff)
downloadnixos-config-1a7424c26bea2d28687b95312b547cb104ff683c.tar.xz
nixos-config-1a7424c26bea2d28687b95312b547cb104ff683c.zip
home: hyprland
Diffstat (limited to 'home')
-rw-r--r--home/ebisu/fortune/desktop/hyprland/default.nix5
-rw-r--r--home/ebisu/fortune/desktop/hyprland/hyprland/binds.nix7
-rw-r--r--home/ebisu/fortune/desktop/hyprland/hyprland/plugins.nix128
3 files changed, 71 insertions, 69 deletions
diff --git a/home/ebisu/fortune/desktop/hyprland/default.nix b/home/ebisu/fortune/desktop/hyprland/default.nix
index 424c6e9..89165a9 100644
--- a/home/ebisu/fortune/desktop/hyprland/default.nix
+++ b/home/ebisu/fortune/desktop/hyprland/default.nix
@@ -17,11 +17,6 @@
variables = [ "--all" ];
};
-
- plugins = [
- # Hyprspace.packages.${pkgs.system}.Hyprspace
- hyprland-plugins.packages.${pkgs.system}.hyprtrails
- ];
};
xdg.configFile."hypr/xdph.conf".text = ''
diff --git a/home/ebisu/fortune/desktop/hyprland/hyprland/binds.nix b/home/ebisu/fortune/desktop/hyprland/hyprland/binds.nix
index f31b1c4..692b17c 100644
--- a/home/ebisu/fortune/desktop/hyprland/hyprland/binds.nix
+++ b/home/ebisu/fortune/desktop/hyprland/hyprland/binds.nix
@@ -43,12 +43,7 @@
"$mod, j, movefocus, d"
"$mod, l, movefocus, r"
"$mod, h, movefocus, l"
-
- # "$mod, j, layoutmsg, cyclenext"
- # "$mod, j, layoutmsg, cycleprev"
-
- # "$mod, tab, hycov:toggleoverview"
- # "$mod SHIFT, tab, overview:toggle"
+ "$mod, tab, hyprexpo:expo"
# Rofi
"$mod, grave, exec, rofi -modi emoji -show emoji"
diff --git a/home/ebisu/fortune/desktop/hyprland/hyprland/plugins.nix b/home/ebisu/fortune/desktop/hyprland/hyprland/plugins.nix
index 5507491..649b698 100644
--- a/home/ebisu/fortune/desktop/hyprland/hyprland/plugins.nix
+++ b/home/ebisu/fortune/desktop/hyprland/hyprland/plugins.nix
@@ -1,69 +1,81 @@
+{ inputs, pkgs, ... }:
{
- wayland.windowManager.hyprland.settings.plugin = {
- # split-monitor-workspaces = {
- # count = 10;
- # keep_focused = 0;
- # enable_notifications = 0;
- # };
+ wayland.windowManager.hyprland = {
+ plugins =
+ with inputs;
+ with pkgs;
+ [
+ hyprland-plugins.packages.${system}.hyprtrails
+ hyprfocus.packages.${system}.hyprfocus
+ hyprland-plugins.packages.${system}.hyprexpo
+ ];
- hyprtrails = {
- color = "rgba(cfddf619)";
- };
+ settings.plugin = {
+ # split-monitor-workspaces = {
+ # count = 10;
+ # keep_focused = 0;
+ # enable_notifications = 0;
+ # };
- hyprfocus = {
- enabled = true;
- animate_floating = true;
- animate_workspacechange = true;
- focus_animation = "flash";
+ hyprtrails = {
+ color = "rgba(cfddf619)";
+ };
- bezier = [
- "bezIn, 0.5, 0.0, 1.0, 0.5"
- "bezOut, 0.0, 0.5, 0.5, 1.0"
- "overshot, 0.05, 0.9, 0.1, 1.05"
- "smoothOut, 0.36, 0, 0.66, -0.56"
- "smoothIn, 0.25, 1, 0.5, 1"
- "realsmooth, 0.28, 0.29, .69, 1.08"
- ];
+ hyprfocus = {
+ enabled = true;
+ animate_floating = true;
+ animate_workspacechange = true;
+ focus_animation = "flash";
- flash = {
- flash_opacity = 0.85;
- in_bezier = "realsmooth";
- in_speed = 0.5;
- out_bezier = "realsmooth";
- out_speed = 3;
- };
+ bezier = [
+ "bezIn, 0.5, 0.0, 1.0, 0.5"
+ "bezOut, 0.0, 0.5, 0.5, 1.0"
+ "overshot, 0.05, 0.9, 0.1, 1.05"
+ "smoothOut, 0.36, 0, 0.66, -0.56"
+ "smoothIn, 0.25, 1, 0.5, 1"
+ "realsmooth, 0.28, 0.29, .69, 1.08"
+ ];
+
+ flash = {
+ flash_opacity = 0.85;
+ in_bezier = "realsmooth";
+ in_speed = 1;
+ out_bezier = "realsmooth";
+ out_speed = 3;
+ };
- shrink = {
- shrink_percentage = 0.99;
- in_bezier = "realsmooth";
- in_speed = 1;
- out_bezier = "realsmooth";
- out_speed = 2;
+ shrink = {
+ shrink_percentage = 0.99;
+ in_bezier = "realsmooth";
+ in_speed = 1;
+ out_bezier = "realsmooth";
+ out_speed = 2;
+ };
};
- };
- hycov = {
- overview_gappo = 10; # gaps width from screen edge
- overview_gappi = 10; # gaps width from clients
- enable_hotarea = 0; # enable mouse cursor hotarea, when cursor enter hotarea, it will toggle overview
- enable_click_action = 1; # enable mouse left button jump and right button kill in overview mode
- hotarea_monitor = "all"; # monitor name which hotarea is in, default is all
- hotarea_pos = 1; # position of hotarea (1: bottom left, 2: bottom right, 3: top left, 4: top right)
- hotarea_size = 10; # hotarea size, 10x10
- swipe_fingers = 4; # finger number of gesture,move any directory
- move_focus_distance = 100; # distance for movefocus,only can use 3 finger to move
- enable_gesture = 0; # enable gesture
- auto_exit = 1; # enable auto exit when no client in overview
- auto_fullscreen = 0; # auto make active window maximize after exit overview
- only_active_workspace = 0; # only overview the active workspace
- only_active_monitor = 0; # only overview the active monitor
- enable_alt_release_exit = 1; # alt swith mode arg,see readme for detail
- alt_replace_key = "Super_L"; # alt swith mode arg,see readme for detail
- alt_toggle_auto_next = 0; # auto focus next window when toggle overview in alt swith mode
- click_in_cursor = 1; # when click to jump,the target windwo is find by cursor, not the current foucus window.
- height_of_titlebar = 0; # height deviation of title bar height
- show_special = 0; # show windwos in special workspace in overview.
- raise_float_to_top = 1; # raise the window that is floating before to top after leave overview mode
+ hycov = {
+ overview_gappo = 10; # gaps width from screen edge
+ overview_gappi = 10; # gaps width from clients
+ enable_hotarea = 0; # enable mouse cursor hotarea, when cursor enter hotarea, it will toggle overview
+ enable_click_action = 1; # enable mouse left button jump and right button kill in overview mode
+ hotarea_monitor = "all"; # monitor name which hotarea is in, default is all
+ hotarea_pos = 1; # position of hotarea (1: bottom left, 2: bottom right, 3: top left, 4: top right)
+ hotarea_size = 10; # hotarea size, 10x10
+ swipe_fingers = 4; # finger number of gesture,move any directory
+ move_focus_distance = 100; # distance for movefocus,only can use 3 finger to move
+ enable_gesture = 0; # enable gesture
+ auto_exit = 1; # enable auto exit when no client in overview
+ auto_fullscreen = 0; # auto make active window maximize after exit overview
+ only_active_workspace = 0; # only overview the active workspace
+ only_active_monitor = 0; # only overview the active monitor
+ enable_alt_release_exit = 1; # alt swith mode arg,see readme for detail
+ alt_replace_key = "Super_L"; # alt swith mode arg,see readme for detail
+ alt_toggle_auto_next = 0; # auto focus next window when toggle overview in alt swith mode
+ click_in_cursor = 1; # when click to jump,the target windwo is find by cursor, not the current foucus window.
+ height_of_titlebar = 0; # height deviation of title bar height
+ show_special = 0; # show windwos in special workspace in overview.
+ raise_float_to_top = 1; # raise the window that is floating before to top after leave overview mode
+ };
};
};
}