mirror of
https://git.aramjonghu.nl/AramJonghu/hypr.git
synced 2026-06-07 21:58:24 +02:00
Compare commits
10 Commits
5ba84f935a
...
laptop
| Author | SHA1 | Date | |
|---|---|---|---|
|
551d507c31
|
|||
|
7cf2a3d08d
|
|||
|
f387a0790e
|
|||
|
b7e706fde1
|
|||
|
b6349ceaec
|
|||
| d3611e011d | |||
|
1fea63a56f
|
|||
|
ddd43eb621
|
|||
|
51d21f38b1
|
|||
|
6ef6203053
|
+4
-2
@@ -1,6 +1,7 @@
|
|||||||
hl.bind("SUPER + mouse:272", hl.dsp.window.drag(), { mouse = true })
|
hl.bind("SUPER + mouse:272", hl.dsp.window.drag(), { mouse = true })
|
||||||
hl.bind("SUPER + mouse:273", hl.dsp.window.resize(), { mouse = true })
|
hl.bind("SUPER + mouse:273", hl.dsp.window.resize(), { mouse = true })
|
||||||
|
|
||||||
|
hl.bind("SUPER + S", hl.dsp.window.float())
|
||||||
hl.bind("SUPER + Q", hl.dsp.window.close())
|
hl.bind("SUPER + Q", hl.dsp.window.close())
|
||||||
hl.bind("SUPER + M", hl.dsp.exit())
|
hl.bind("SUPER + M", hl.dsp.exit())
|
||||||
hl.bind("SUPER + RETURN", hl.dsp.exec_cmd("ghostty"))
|
hl.bind("SUPER + RETURN", hl.dsp.exec_cmd("ghostty"))
|
||||||
@@ -50,9 +51,10 @@ hl.bind(
|
|||||||
hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true })
|
hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true })
|
||||||
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true })
|
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true })
|
||||||
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })
|
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })
|
||||||
hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brighnessctl set +5%"), { locked = true, repeating = true })
|
|
||||||
hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brighnessctl set -5%"), { locked = true, repeating = true })
|
|
||||||
hl.bind("XF86WebCam", hl.dsp.exec_cmd(""), { locked = true, repeating = true })
|
hl.bind("XF86WebCam", hl.dsp.exec_cmd(""), { locked = true, repeating = true })
|
||||||
|
-- Broken on Artix -> Seems to not expose XF86 keys when not on DE (KDE Plasma worked)
|
||||||
|
-- hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl set +5%"), { locked = true, repeating = true })
|
||||||
|
-- hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl set -5%"), { locked = true, repeating = true })
|
||||||
|
|
||||||
hl.bind("PRINT", hl.dsp.global("zshell:screenshotFreeze"))
|
hl.bind("PRINT", hl.dsp.global("zshell:screenshotFreeze"))
|
||||||
hl.bind("SUPER + R", hl.dsp.global("zshell:toggle-launcher"))
|
hl.bind("SUPER + R", hl.dsp.global("zshell:toggle-launcher"))
|
||||||
|
|||||||
+22
-25
@@ -1,29 +1,26 @@
|
|||||||
hl.env("ZSH","/usr/share/oh-my-zsh/")
|
hl.env("ZSH", "/usr/share/oh-my-zsh/")
|
||||||
hl.env("BROWSER","firefox")
|
hl.env("BROWSER", "firefox")
|
||||||
hl.env("TERM","tmux-256color")
|
hl.env("TERM", "tmux-256color")
|
||||||
hl.env("VISUAL","nvim")
|
hl.env("VISUAL", "nvim")
|
||||||
hl.env("EDITOR","nvim")
|
hl.env("EDITOR", "nvim")
|
||||||
|
|
||||||
hl.env("HYPRCURSOR_THEME","catppuccin-macchiato-light-cursors")
|
hl.env("HYPRCURSOR_THEME", "catppuccin-macchiato-light-cursors")
|
||||||
hl.env("HYPRCURSOR_SIZE","28")
|
hl.env("HYPRCURSOR_SIZE", "28")
|
||||||
|
|
||||||
hl.env("ELECTRON_OZONE_PLATFORM_HINT","auto")
|
hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto")
|
||||||
hl.env("QT_AUTO_SCREEN_SCALE_FACTOR","1")
|
hl.env("QT_AUTO_SCREEN_SCALE_FACTOR", "1")
|
||||||
hl.env("QT_QPA_PLATFORM","wayland")
|
hl.env("QT_QPA_PLATFORM", "wayland")
|
||||||
hl.env("QT_QPA_PLATFORMTHEME","qt6ct")
|
hl.env("QT_QPA_PLATFORMTHEME", "qt6ct")
|
||||||
hl.env("QT_WAYLAND_DISABLE_WINDOWDECORATION","1")
|
hl.env("QT_WAYLAND_DISABLE_WINDOWDECORATION", "1")
|
||||||
|
|
||||||
hl.env("XDG_SESSION_DESKTOP","Hyprland")
|
hl.env("XDG_SESSION_DESKTOP", "Hyprland")
|
||||||
hl.env("XDG_SESSION_TYPE","wayland")
|
hl.env("XDG_SESSION_TYPE", "wayland")
|
||||||
hl.env("CLUTTER_BACKEND","wayland")
|
hl.env("CLUTTER_BACKEND", "wayland")
|
||||||
hl.env("GDK_BACKEND","wayland")
|
hl.env("GDK_BACKEND", "wayland")
|
||||||
hl.env("SDL_VIDEODRIVER","wayland")
|
hl.env("SDL_VIDEODRIVER", "wayland")
|
||||||
|
|
||||||
hl.env("XDG_CONFIG_HOME","/home/aram/.config")
|
hl.env("XDG_CONFIG_HOME", "/home/aram/.config")
|
||||||
hl.env("XDG_CACHE_HOME","/home/aram/.cache")
|
hl.env("XDG_CACHE_HOME", "/home/aram/.cache")
|
||||||
hl.env("XDG_DATA_HOME","/home/aram/.local/share")
|
hl.env("XDG_DATA_HOME", "/home/aram/.local/share")
|
||||||
hl.env("XDG_PICTRES_HOME","/home/aram/Pictures")
|
hl.env("XDG_PICTRES_HOME", "/home/aram/Pictures")
|
||||||
hl.env("HYPRSHOT_DIR","/home/aram/Pictures/Screenshots")
|
hl.env("HYPRSHOT_DIR", "/home/aram/Pictures/Screenshots")
|
||||||
|
|
||||||
hl.env("RUSTICL_ENABLE","radeonsi")
|
|
||||||
hl.env("AMD_VULKAN_ICD","RADV")
|
|
||||||
|
|||||||
@@ -6,5 +6,5 @@ hl.on("hyprland.start", function()
|
|||||||
hl.exec_cmd("wl-paste --type image --watch cliphist store")
|
hl.exec_cmd("wl-paste --type image --watch cliphist store")
|
||||||
hl.exec_cmd("hyprsunset -i")
|
hl.exec_cmd("hyprsunset -i")
|
||||||
hl.exec_cmd("nextcloud --background")
|
hl.exec_cmd("nextcloud --background")
|
||||||
hl.exec_cmd("brightnessctl set 100%")
|
hl.exec_cmd("zigbright listen")
|
||||||
end)
|
end)
|
||||||
|
|||||||
@@ -1,17 +1,18 @@
|
|||||||
hl.monitor({
|
hl.monitor({
|
||||||
output = "eDP-1",
|
output = "eDP-1",
|
||||||
mode = "2560x1600@60",
|
mode = "2880x1800@120",
|
||||||
position = "0x0",
|
position = "0x0",
|
||||||
scale = 1.25,
|
scale = 1,
|
||||||
bitdepth = 10,
|
bitdepth = 10,
|
||||||
cm = "srgb",
|
cm = "hdr",
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.monitor({
|
hl.monitor({
|
||||||
output = "",
|
output = "",
|
||||||
mode = "highres@highrr",
|
mode = "3840x2160@30",
|
||||||
position = "auto",
|
position = "auto",
|
||||||
scale = 2,
|
scale = 1.5,
|
||||||
bitdepth = 10,
|
bitdepth = 10,
|
||||||
cm = "srgb",
|
cm = "srgb",
|
||||||
|
mirror = "eDP-1"
|
||||||
})
|
})
|
||||||
|
|||||||
+94
-33
@@ -14,6 +14,13 @@ hl.layer_rule({
|
|||||||
ignore_alpha = 0.5,
|
ignore_alpha = 0.5,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
hl.gesture = {
|
||||||
|
fingers = 3,
|
||||||
|
direction = "horizontal",
|
||||||
|
action = "workspace",
|
||||||
|
workspace_swipe_touch = true,
|
||||||
|
}
|
||||||
|
|
||||||
hl.config({
|
hl.config({
|
||||||
input = {
|
input = {
|
||||||
kb_layout = "us",
|
kb_layout = "us",
|
||||||
@@ -27,22 +34,23 @@ hl.config({
|
|||||||
scroll_factor = 0.4,
|
scroll_factor = 0.4,
|
||||||
middle_button_emulation = true,
|
middle_button_emulation = true,
|
||||||
},
|
},
|
||||||
gestures = {
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
gestures = { workspace_swipe_touch = true },
|
||||||
general = {
|
general = {
|
||||||
gaps_in = 2,
|
gaps_in = 2,
|
||||||
gaps_out = 2,
|
gaps_out = 2,
|
||||||
border_size = 2,
|
border_size = 2,
|
||||||
col = {
|
col = {
|
||||||
active_border = {
|
active_border = {
|
||||||
colors = { C.colors.mauveAlpha, C.colors.greenAlpha, C.colors.sapphireAlpha, C.colors.lavenderAlpha },
|
colors = {
|
||||||
angle = 90,
|
C.colors.mauveAlpha,
|
||||||
},
|
C.colors.greenAlpha,
|
||||||
inactive_border = {
|
C.colors.sapphireAlpha,
|
||||||
colors = { C.colors.surface1Alpha },
|
C.colors.lavenderAlpha,
|
||||||
|
},
|
||||||
angle = 90,
|
angle = 90,
|
||||||
},
|
},
|
||||||
|
inactive_border = { colors = { C.colors.surface1Alpha }, angle = 90 },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
decoration = {
|
decoration = {
|
||||||
@@ -70,48 +78,101 @@ hl.config({
|
|||||||
input_methods = true,
|
input_methods = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
ecosystem = {
|
ecosystem = { no_donation_nag = true, no_update_news = true },
|
||||||
no_donation_nag = true,
|
misc = { disable_hyprland_logo = true },
|
||||||
no_update_news = true,
|
debug = { full_cm_proto = true },
|
||||||
},
|
dwindle = { preserve_split = true },
|
||||||
misc = {
|
|
||||||
disable_hyprland_logo = true,
|
|
||||||
},
|
|
||||||
debug = {
|
|
||||||
full_cm_proto = true,
|
|
||||||
},
|
|
||||||
dwindle = {
|
|
||||||
preserve_split = true,
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
||||||
local animations = {
|
local animations = {
|
||||||
{ leaf = "border", enabled = true, speed = 4, bezier = "linear" },
|
{ leaf = "border", enabled = true, speed = 4, bezier = "linear" },
|
||||||
{ leaf = "borderangle", enabled = false, speed = 3, bezier = "linear", style = "loop" },
|
{
|
||||||
|
leaf = "borderangle",
|
||||||
|
enabled = false,
|
||||||
|
speed = 3,
|
||||||
|
bezier = "linear",
|
||||||
|
style = "loop",
|
||||||
|
},
|
||||||
{ leaf = "fadeOut", enabled = true, speed = 3, bezier = "default" },
|
{ leaf = "fadeOut", enabled = true, speed = 3, bezier = "default" },
|
||||||
{ leaf = "fadeIn", enabled = true, speed = 4, bezier = "default" },
|
{ leaf = "fadeIn", enabled = true, speed = 4, bezier = "default" },
|
||||||
{ leaf = "fadeLayers", enabled = true, speed = 1, bezier = "default" },
|
{ leaf = "fadeLayers", enabled = true, speed = 1, bezier = "default" },
|
||||||
{ leaf = "fadePopups", enabled = true, speed = 1, bezier = "default" },
|
{ leaf = "fadePopups", enabled = true, speed = 1, bezier = "default" },
|
||||||
{ leaf = "global", enabled = true, speed = 6, bezier = "default" },
|
{ leaf = "global", enabled = true, speed = 6, bezier = "default" },
|
||||||
{ leaf = "layers", enabled = true, speed = 5, bezier = "cubic-bezier", style = "fade" },
|
{
|
||||||
{ leaf = "windows", enabled = true, speed = 3, bezier = "wind", style = "popin" },
|
leaf = "layers",
|
||||||
{ leaf = "windowsIn", enabled = true, speed = 3, bezier = "winIn", style = "popin 90%" },
|
enabled = true,
|
||||||
{ leaf = "windowsOut", enabled = true, speed = 3, bezier = "winOut", style = "popin 90%" },
|
speed = 5,
|
||||||
{ leaf = "windowsMove", enabled = true, speed = 1, bezier = "wind", style = "slide" },
|
bezier = "cubic-bezier",
|
||||||
|
style = "fade",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
leaf = "windows",
|
||||||
|
enabled = true,
|
||||||
|
speed = 3,
|
||||||
|
bezier = "wind",
|
||||||
|
style = "popin",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
leaf = "windowsIn",
|
||||||
|
enabled = true,
|
||||||
|
speed = 3,
|
||||||
|
bezier = "winIn",
|
||||||
|
style = "popin 90%",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
leaf = "windowsOut",
|
||||||
|
enabled = true,
|
||||||
|
speed = 3,
|
||||||
|
bezier = "winOut",
|
||||||
|
style = "popin 90%",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
leaf = "windowsMove",
|
||||||
|
enabled = true,
|
||||||
|
speed = 1,
|
||||||
|
bezier = "wind",
|
||||||
|
style = "slide",
|
||||||
|
},
|
||||||
{ leaf = "workspaces", enabled = true, speed = 4, bezier = "default" },
|
{ leaf = "workspaces", enabled = true, speed = 4, bezier = "default" },
|
||||||
}
|
}
|
||||||
|
|
||||||
local curves = {
|
local curves = {
|
||||||
{ name = "wind", config = { type = "bezier", points = { { 0.05, 0.9 }, { 0.1, 1 } } } },
|
{
|
||||||
{ name = "winIn", config = { type = "bezier", points = { { 0.1, 1.0 }, { 0.1, 1 } } } },
|
name = "wind",
|
||||||
|
config = { type = "bezier", points = { { 0.05, 0.9 }, { 0.1, 1 } } },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "winIn",
|
||||||
|
config = { type = "bezier", points = { { 0.1, 1.0 }, { 0.1, 1 } } },
|
||||||
|
},
|
||||||
{ name = "winOut", config = { type = "bezier", points = { { 1, 0.35 }, { 1, 1 } } } },
|
{ name = "winOut", config = { type = "bezier", points = { { 1, 0.35 }, { 1, 1 } } } },
|
||||||
{ name = "linear", config = { type = "bezier", points = { { 1, 1 }, { 1, 1 } } } },
|
{ name = "linear", config = { type = "bezier", points = { { 1, 1 }, { 1, 1 } } } },
|
||||||
{ name = "cubic-bezier", config = { type = "bezier", points = { { 0.215, 0.61 }, { 0.355, 1 } } } },
|
{
|
||||||
{ name = "easeOutQuint", config = { type = "bezier", points = { { 0.23, 1 }, { 0.32, 1 } } } },
|
name = "cubic-bezier",
|
||||||
{ name = "easeInOutCubic", config = { type = "bezier", points = { { 0.65, 0.05 }, { 0.36, 1 } } } },
|
config = { type = "bezier", points = { { 0.215, 0.61 }, { 0.355, 1 } } },
|
||||||
{ name = "almostLinear", config = { type = "bezier", points = { { 0.5, 0.5 }, { 0.75, 1 } } } },
|
},
|
||||||
|
{
|
||||||
|
name = "easeOutQuint",
|
||||||
|
config = { type = "bezier", points = { { 0.23, 1 }, { 0.32, 1 } } },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "easeInOutCubic",
|
||||||
|
config = { type = "bezier", points = { { 0.65, 0.05 }, { 0.36, 1 } } },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "almostLinear",
|
||||||
|
config = { type = "bezier", points = { { 0.5, 0.5 }, { 0.75, 1 } } },
|
||||||
|
},
|
||||||
{ name = "quick", config = { type = "bezier", points = { { 0.15, 0 }, { 0.1, 1 } } } },
|
{ name = "quick", config = { type = "bezier", points = { { 0.15, 0 }, { 0.1, 1 } } } },
|
||||||
{ name = "easy", config = { type = "spring", mass = 1, stiffness = 71.2633, dampening = 15.8273644 } },
|
{
|
||||||
|
name = "easy",
|
||||||
|
config = {
|
||||||
|
type = "spring",
|
||||||
|
mass = 1,
|
||||||
|
stiffness = 71.2633,
|
||||||
|
dampening = 15.8273644,
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, curve in ipairs(curves) do
|
for _, curve in ipairs(curves) do
|
||||||
|
|||||||
Reference in New Issue
Block a user