Declared hyprland configs
This commit is contained in:
70
hyprland/hypr/plugins.nix
Normal file
70
hyprland/hypr/plugins.nix
Normal file
@@ -0,0 +1,70 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
plugins = with pkgs.hyprlandPlugins; [
|
||||
hyprexpo
|
||||
hyprbars
|
||||
hyprwinwrap
|
||||
hyprscrolling
|
||||
];
|
||||
|
||||
settings = {
|
||||
plugin = {
|
||||
hyprexpo = {
|
||||
columns = 3;
|
||||
gap_size = 5;
|
||||
enable_gesture = true;
|
||||
gesture_fingers = 3;
|
||||
gesture_positive = false;
|
||||
gesture_distance = 300;
|
||||
workspace_method = "first 1";
|
||||
};
|
||||
|
||||
hyprbars = {
|
||||
bar_buttons_alignment = "right";
|
||||
bar_height = 40;
|
||||
icon_on_hover = true;
|
||||
bar_color = "rgba(46, 46, 50, 1.0)";
|
||||
bar_blur = true;
|
||||
bar_part_of_window = true;
|
||||
hyprbars-button = [
|
||||
"rgb(424246), 20, , hyprctl dispatch killactive"
|
||||
"rgb(424246), 20, ⤡, hyprctl dispatch fullscreen 0"
|
||||
"rgb(424246), 20, ⮻, hyprctl dispatch togglefloating"
|
||||
];
|
||||
};
|
||||
|
||||
hyprwinwrap = {
|
||||
class = "cava-bg";
|
||||
};
|
||||
|
||||
overview = {
|
||||
onBottom = false;
|
||||
switchOnDrop = false;
|
||||
exitOnSwitch = false;
|
||||
showNewWorkspace = true;
|
||||
showEmptyWorkspace = true;
|
||||
reverseSwipe = false;
|
||||
panelHeight = 150;
|
||||
};
|
||||
|
||||
hyprscrolling = {
|
||||
fullscreen_on_one_column = true;
|
||||
column_width = 0.45;
|
||||
};
|
||||
|
||||
imgborders = {
|
||||
enabled = true;
|
||||
image = "~/.border.png";
|
||||
sizes = "6,6,6,6 # left, right, top, bottom";
|
||||
insets = "4,4,4,4 # left, right, top, bottom";
|
||||
scale = 3.5;
|
||||
smooth = false;
|
||||
blur = false;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user