feat: switched back to hyprland

This commit is contained in:
Nick 2025-01-08 01:05:45 -06:00
parent dd99b3a827
commit b0dc23c7c0
144 changed files with 1347 additions and 477 deletions

View file

@ -0,0 +1,9 @@
[
"border, 1, 2.2, bounce"
"fadeIn, 1, 0.1, bounce"
"fadeOut, 1, 4.5, bounce"
"fadeSwitch, 1, 2.2, bounce"
"windows, 1, 2.2, bounce"
"windowsOut, 1, 1.1, bounce"
"workspaces, 1, 2.2, bounce, slide"
]

View file

@ -0,0 +1,6 @@
[
"wind, 0, 1, 0.5, 1"
"winIn, 0, 0.5, 0, 1"
"winOut, 0, 0.5, 0, 1"
"bounce, 0.7, 1.7, 0.5, 1"
]

View file

@ -0,0 +1,84 @@
let
superBinds = builtins.map (x: "SUPER, " + x) [
# Apps
"Space, exec, rm -r /home/$USER/.cache/tofi* ; tofi-drun"
"C, exec, code"
"D, exec, obsidian"
"T, exec, ghostty -e zellij a dotfiles"
"E, exec, ghostty -e y"
"B, exec, firefox"
"V, exec, vesktop"
"W, exec, bitwarden"
"H, exec, feishin"
"R, exec, ghostty -e btm"
"N, exec, signal-desktop"
"M, exec, element-desktop"
"End, exec, hyprctl dispatch exit"
"S, exec, steam"
"period, exec, emote"
# Workspaces
"1, workspace, 1"
"2, workspace, 2"
"3, workspace, 3"
"4, workspace, 4"
"5, workspace, 5"
# Windows
"F, togglefloating"
"X, killactive"
"Tab, fullscreen, 0"
"P, pin, enable"
"bracketleft, splitratio, -0.1"
"bracketright, splitratio, +0.1"
# Window Focus
"left , movefocus, l"
"down , movefocus, d"
"up , movefocus, u"
"right , movefocus, r"
# Audio
"F8, exec, playerctl next"
"F7, exec, playerctl previous"
"F6, exec, playerctl play-pause"
];
superShiftBinds = builtins.map (x: "SUPER SHIFT, " + x) [
# Super+shift binds
"S, exec, grim -g \"$(slurp)\" - | wl-copy -t image/png"
"Print, exec, grim -g \"$(slurp)\""
"ScrollDown, workspace, previous"
"left , movewindow, l"
"down , movewindow, d"
"up , movewindow, u"
"right , movewindow, r"
];
superCtrlBinds = builtins.map (x: "SUPER CTRL, " + x) [
# Super+shift binds
"Space, workspace, previous"
"S, layoutmsg, togglesplit"
"equal, splitratio, 0.33"
"minus, splitratio, -0.33"
];
altBinds = builtins.map (x: "ALT, " + x) [
# Alt binds
];
shiftBinds = builtins.map (x: "SHIFT, " + x) [
# Shift binds
];
ctrlBinds = builtins.map (x: "CTRL, " + x) [
# Ctrl binds
];
ctrlShiftBinds = builtins.map (x: "CTRL SHIFT, " + x) [
# Ctrl+shift binds
"1, movetoworkspacesilent, 1"
"2, movetoworkspacesilent, 2"
"3, movetoworkspacesilent, 3"
"4, movetoworkspacesilent, 4"
];
in
superBinds ++ superShiftBinds ++ superCtrlBinds ++ altBinds ++ ctrlBinds ++ ctrlShiftBinds ++ shiftBinds
# Docs
# https://wiki.hyprland.org/Getting-Started/Master-Tutorial/

View file

@ -0,0 +1,10 @@
let
superBinds = builtins.map (x: "SUPER, " + x) [
"mouse:272, resizewindow"
];
altBinds = builtins.map (x: "ALT, " + x) [
"mouse:272, movewindow"
];
in
superBinds ++ altBinds

View file

@ -0,0 +1,3 @@
{
"allow_workspace_cycles" = "1";
}

View file

@ -0,0 +1,36 @@
{
active_opacity = 0.95;
inactive_opacity = 0.95;
fullscreen_opacity = 1;
rounding = 10;
dim_inactive = 1;
dim_strength = 0.05;
shadow = {
enabled = true;
color = "rgba(00000055)";
ignore_window = true;
offset = "0 2";
range = 20;
render_power = 3;
scale = 0.97;
};
blur = {
enabled = true;
size = 5;
passes = 2;
brightness = 1;
contrast = 1.300000;
ignore_opacity = true;
noise = 0.011700;
new_optimizations = true;
xray = true;
popups = true;
popups_ignorealpha = 0.2;
};
}

View file

@ -0,0 +1,4 @@
{
pseudotile = true;
preserve_split = true;
}

View file

@ -0,0 +1,12 @@
[
"swaylock"
"grim"
"wl-clipboard"
"wpaperd"
"gammastep"
"dunst"
"playerctrld"
"waybar"
"blueman-manager &"
"nm-applet"
]

View file

@ -0,0 +1,7 @@
{
gaps_in = 5;
gaps_out = 5;
border_size = 2;
"col.active_border" = "rgb(c6a0f6)";
"col.inactive_border" = "0xff292a37";
}

View file

@ -0,0 +1,6 @@
{
sensitivity = 0.07;
accel_profile = "flat";
follow_mouse = 1;
numlock_by_default = true;
}

View file

@ -0,0 +1,5 @@
{
focus_on_activate = 1;
force_default_wallpaper = 0;
# vrr = 1;
}

View file

@ -0,0 +1,19 @@
let
centerWindows = [
"center, ^(gnome-characters)$"
"center, ^(mpv)$"
"center, ^(nomacs)$"
];
opaqueWindows = builtins.map (x: "opaque, " + x) [
"^(firefox)$"
"^(org.kde.kdenlive)$"
"^(krita)$"
"^(mpv)$"
"^(Brave-browser)$"
"^(Gimp-2.10)$"
"^(org.kde.okular)$"
"^(vlc)$"
"^(obsidian)$"
];
in
centerWindows ++ opaqueWindows

View file

@ -0,0 +1,30 @@
let
blueman = "(.blueman-manager-wrapped)";
easyeffects = "(com.github.wwmm.easyeffects)";
nomacs = "(org.nomacs.ImageLounge)";
mpv = "(mpv)";
emote = "(emote)";
proton = "(.protonvpn-app-wrapped)";
maxsizeWindows = [
"maxsize 640x360, class:^${blueman}$"
"maxsize 640x360, class:^${easyeffects}$"
"maxsize 960x540, class:^${mpv}$"
"maxsize 960x540, class:^${nomacs}$"
"maxsize 1000x1000, class:^${proton}$"
];
floatWindows = builtins.map (x: "float, " + x) [
"class:${blueman}"
"class:${easyeffects}"
"class:${emote}"
"class:${mpv}"
"class:${nomacs}"
"class:${proton}"
"title:^(Picture-in-Picture)$"
];
pinWindows = builtins.map (x: "pin, " + x) [
"title:^(Picture-in-Picture)$"
];
in
maxsizeWindows ++ floatWindows ++ pinWindows

View file

@ -0,0 +1,3 @@
{
force_zero_scaling = true;
}