Many updates

This commit is contained in:
2026-07-10 01:57:02 -03:00
parent 244cffa6eb
commit 18f447b8ee
12 changed files with 486 additions and 12 deletions

View File

@@ -28,7 +28,7 @@ listener {
on-resume = hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })' && brightnessctl -r # screen on when activity is detected after timeout has fired.
}
listener {
timeout = 1800 # 30min
on-timeout = systemctl suspend # suspend pc
}
# listener {
# timeout = 1800 # 30min
# on-timeout = systemctl suspend # suspend pc
# }

View File

@@ -48,10 +48,10 @@ local screenshots = os.getenv("HOME") .. "/pictures/screenshots"
-- Or execute your favorite apps at launch like this:
--
hl.on("hyprland.start", function()
hl.exec_cmd("brightnessctl -sd rgb:kbd_backlight set 0")
hl.exec_cmd("hyprpaper")
-- walker dependency
hl.exec_cmd("elephant")
-- hl.exec_cmd("elephant")
-- Notifications
hl.exec_cmd("swaync")
@@ -71,11 +71,13 @@ hl.on("hyprland.start", function()
-- Status bar
-- hl.exec_cmd("waybar")
-- hl.exec_cmd("pkill waybar; waybar &")
hl.exec_cmd("noctalia")
-- hl.exec_cmd("noctalia")
hl.exec_cmd("ashell")
-- Clipboard history
hl.exec_cmd("wl-paste --type text --watch cliphist store")
hl.exec_cmd("wl-paste --type image --watch cliphist store")
-- hl.exec_cmd("wl-paste --type text --watch cliphist store")
-- hl.exec_cmd("wl-paste --type image --watch cliphist store")
hl.exec_cmd("copyq")
end)
-------------------------------
@@ -187,9 +189,9 @@ hl.animation({ leaf = "layersIn", enabled = true, speed = 4, bezier = "easeOutQu
hl.animation({ leaf = "layersOut", enabled = true, speed = 1.5, bezier = "linear", style = "fade" })
hl.animation({ leaf = "fadeLayersIn", enabled = true, speed = 1.79, bezier = "almostLinear" })
hl.animation({ leaf = "fadeLayersOut", enabled = true, speed = 1.39, bezier = "almostLinear" })
hl.animation({ leaf = "workspaces", enabled = true, speed = 1.94, bezier = "almostLinear", style = "fade" })
hl.animation({ leaf = "workspacesIn", enabled = true, speed = 1.21, bezier = "almostLinear", style = "fade" })
hl.animation({ leaf = "workspacesOut", enabled = true, speed = 1.94, bezier = "almostLinear", style = "fade" })
hl.animation({ leaf = "workspaces", enabled = true, speed = 1.5, bezier = "default" })
hl.animation({ leaf = "workspacesIn", enabled = true, speed = 1.5, bezier = "default" })
hl.animation({ leaf = "workspacesOut", enabled = true, speed = 1.5, bezier = "default" })
hl.animation({ leaf = "zoomFactor", enabled = true, speed = 7, bezier = "quick" })
-- Ref https://wiki.hypr.land/Configuring/Basics/Workspace-Rules/
@@ -241,6 +243,7 @@ hl.config({
disable_hyprland_logo = true, -- If true disables the random hyprland logo / anime girl background. :(
disable_splash_rendering = true,
vrr = 2,
font_family = "MesloLGSDZ Nerd Font Mono",
},
})
@@ -422,6 +425,10 @@ hl.bind(mainMod .. " + Print", hl.dsp.exec_cmd("hyprshot -m region --freeze -o "
hl.bind("mouse:275", hl.dsp.exec_cmd("equibop --toggle-mic"))
hl.bind("mouse:276", hl.dsp.exec_cmd("equibop --toggle-deafen"))
hl.bind(mainMod .. " + B", hl.dsp.exec_cmd("ashell msg toggle-visibility"))
hl.bind(mainMod .. " + C", hl.dsp.exec_cmd("copyq toggle"))
-- GTK4 / libadwaita apps: prefer dark theme
hl.exec_cmd('gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"')
@@ -502,3 +509,12 @@ hl.window_rule({
},
idle_inhibit = "focus",
})
hl.window_rule({
name = "copyq-floating",
match = { class = "com.github.hluk.copyq" },
float = true,
center = true,
size = "800 500",
})

View File

@@ -3,3 +3,5 @@ wallpaper {
path = ~/.config/hypr/assets/.wallpaper
fit_mode = cover
}
splash = false