Update dotfiles (2026-05-08 15:35:43)
This commit is contained in:
@@ -1,22 +1,19 @@
|
||||
-----------------------
|
||||
---- LOOK AND FEEL ----
|
||||
-----------------------
|
||||
local C = require("color")
|
||||
|
||||
-- Refer to https://wiki.hypr.land/Configuring/Basics/Variables/
|
||||
hl.config({
|
||||
general = {
|
||||
gaps_in = 5,
|
||||
gaps_out = 20,
|
||||
gaps_in = 3,
|
||||
gaps_out = 6,
|
||||
|
||||
border_size = 2,
|
||||
|
||||
col = {
|
||||
active_border = { colors = { "rgba(33ccffee)", "rgba(00ff99ee)" }, angle = 45 },
|
||||
inactive_border = "rgba(595959aa)",
|
||||
active_border = { colors = { C.colors.vivian1, C.colors.ado }, angle = 90 },
|
||||
inactive_border = { colors = { C.colors.pink, C.colors.vivian2 }, angle = 60 },
|
||||
},
|
||||
|
||||
-- Set to true to enable resizing windows by clicking and dragging on borders and gaps
|
||||
resize_on_border = false,
|
||||
resize_on_border = true,
|
||||
|
||||
-- Please see https://wiki.hypr.land/Configuring/Advanced-and-Cool/Tearing/ before you turn this on
|
||||
allow_tearing = false,
|
||||
@@ -34,16 +31,28 @@ hl.config({
|
||||
|
||||
shadow = {
|
||||
enabled = true,
|
||||
range = 4,
|
||||
render_power = 3,
|
||||
color = 0xee1a1a1a,
|
||||
range = 100,
|
||||
render_power = 4,
|
||||
color = 0x66000000,
|
||||
color_inactive = 0x33000000,
|
||||
offset = "0, 10",
|
||||
scale = 1,
|
||||
},
|
||||
|
||||
blur = {
|
||||
enabled = true,
|
||||
size = 3,
|
||||
passes = 1,
|
||||
vibrancy = 0.1696,
|
||||
size = 2,
|
||||
passes = 3,
|
||||
new_optimizations = true,
|
||||
ignore_opacity = true,
|
||||
contrast = 1.0,
|
||||
brightness = 1.0,
|
||||
vibrancy = 0.0,
|
||||
vibrancy_darkness = 0.0,
|
||||
xray = false,
|
||||
noise = 0,
|
||||
popups = true,
|
||||
input_methods = true,
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
hl.config({
|
||||
debug = {
|
||||
full_cm_proto = true,
|
||||
},
|
||||
|
||||
ecosystem = {
|
||||
no_update_news = true,
|
||||
},
|
||||
|
||||
cursor = {
|
||||
no_hardware_cursors = false,
|
||||
use_cpu_buffer = 2,
|
||||
},
|
||||
|
||||
xwayland = {
|
||||
force_zero_scaling = true,
|
||||
},
|
||||
})
|
||||
@@ -6,9 +6,13 @@ hl.config({
|
||||
kb_options = "",
|
||||
kb_rules = "",
|
||||
|
||||
numlock_by_default = true,
|
||||
|
||||
follow_mouse = 1,
|
||||
|
||||
sensitivity = 0, -- -1.0 - 1.0, 0 means no modification.
|
||||
mouse_refocus = false,
|
||||
accel_profile = "flat",
|
||||
sensitivity = 0,
|
||||
|
||||
touchpad = {
|
||||
natural_scroll = false,
|
||||
@@ -22,9 +26,8 @@ hl.gesture({
|
||||
action = "workspace",
|
||||
})
|
||||
|
||||
-- Example per-device config
|
||||
-- See https://wiki.hypr.land/Configuring/Advanced-and-Cool/Devices/ for more
|
||||
hl.device({
|
||||
name = "epic-mouse-v1",
|
||||
sensitivity = -0.5,
|
||||
sensitivity = 0,
|
||||
})
|
||||
|
||||
@@ -2,5 +2,10 @@ hl.config({
|
||||
misc = {
|
||||
force_default_wallpaper = 1, -- Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = true, -- If true disables the random hyprland logo / anime girl background. :(
|
||||
mouse_move_enables_dpms = true,
|
||||
disable_splash_rendering = true,
|
||||
allow_session_lock_restore = true,
|
||||
session_lock_xray = true,
|
||||
animate_manual_resizes = true,
|
||||
},
|
||||
})
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
-- },
|
||||
-- })
|
||||
|
||||
hl.permission("/usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland", "screencopy", "allow")
|
||||
hl.permission("/usr/(bin|local/bin)/hyprpm", "plugin", "allow")
|
||||
-- hl.permission("/usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland", "screencopy", "allow")
|
||||
-- hl.permission("/usr/(bin|local/bin)/hyprpm", "plugin", "allow")
|
||||
|
||||
-- Ref https://wiki.hypr.land/Configuring/Basics/Workspace-Rules/
|
||||
-- "Smart gaps" / "No gaps when only"
|
||||
|
||||
@@ -1,23 +1,38 @@
|
||||
--------------------------------
|
||||
---- WINDOWS AND WORKSPACES ----
|
||||
--------------------------------
|
||||
local classes = {
|
||||
"pavucontrol",
|
||||
"blueman-manager",
|
||||
"nm-connection-editor",
|
||||
"mpv",
|
||||
"swayimg",
|
||||
".*org.pulseaudio.pavucontrol.*",
|
||||
}
|
||||
|
||||
-- See https://wiki.hypr.land/Configuring/Basics/Window-Rules/
|
||||
-- and https://wiki.hypr.land/Configuring/Basics/Workspace-Rules/
|
||||
local titles = {
|
||||
"Picture in Picture",
|
||||
"Friends List",
|
||||
"Save Image - *",
|
||||
"AniShio",
|
||||
}
|
||||
|
||||
-- Example window rules that are useful
|
||||
for _, class in ipairs(classes) do
|
||||
hl.window_rule({
|
||||
match = {
|
||||
class = "^" .. class .. "$",
|
||||
},
|
||||
float = true,
|
||||
})
|
||||
end
|
||||
|
||||
local suppressMaximizeRule = hl.window_rule({
|
||||
-- Ignore maximize requests from all apps. You'll probably like this.
|
||||
name = "suppress-maximize-events",
|
||||
match = { class = ".*" },
|
||||
|
||||
suppress_event = "maximize",
|
||||
})
|
||||
-- suppressMaximizeRule:set_enabled(false)
|
||||
for _, title in ipairs(titles) do
|
||||
hl.window_rule({
|
||||
match = {
|
||||
title = "^" .. title .. "$",
|
||||
},
|
||||
float = true,
|
||||
})
|
||||
end
|
||||
|
||||
hl.window_rule({
|
||||
-- Fix some dragging issues with XWayland
|
||||
name = "fix-xwayland-drags",
|
||||
match = {
|
||||
class = "^$",
|
||||
@@ -31,19 +46,32 @@ hl.window_rule({
|
||||
no_focus = true,
|
||||
})
|
||||
|
||||
-- Layer rules also return a handle.
|
||||
-- local overlayLayerRule = hl.layer_rule({
|
||||
-- name = "no-anim-overlay",
|
||||
-- match = { namespace = "^my-overlay$" },
|
||||
-- no_anim = true,
|
||||
-- })
|
||||
-- overlayLayerRule:set_enabled(false)
|
||||
|
||||
-- Hyprland-run windowrule
|
||||
hl.window_rule({
|
||||
name = "move-hyprland-run",
|
||||
match = { class = "hyprland-run" },
|
||||
match = {
|
||||
float = false,
|
||||
},
|
||||
|
||||
move = "20 monitor_h-120",
|
||||
float = true,
|
||||
no_shadow = true,
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
match = {
|
||||
fullscreen_state_client = 4,
|
||||
fullscreen_state_internal = 4,
|
||||
content = "game",
|
||||
},
|
||||
|
||||
idle_inhibit = "always",
|
||||
})
|
||||
|
||||
hl.layer_rule({
|
||||
match = { namespace = "ZShell-Bar" },
|
||||
blur = true,
|
||||
ignore_alpha = 0.5,
|
||||
})
|
||||
|
||||
hl.layer_rule({
|
||||
match = { namespace = "ZShell-Auth" },
|
||||
blur = true,
|
||||
ignore_alpha = 0.5,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user