Compare commits

...
2 Commits
Author SHA1 Message Date
chris 524d024e7a Fixes 2026-08-17 19:41:51 +01:00
chris 8ce68821bc GPU fixes 2026-08-16 18:50:55 +01:00
4 changed files with 46 additions and 27 deletions
+18 -18
View File
@@ -225,24 +225,24 @@ hl.window_rule {
}, },
} }
-- Float Steam -- Float Steam
hl.window_rule { -- hl.window_rule {
name = 'steam-float', -- name = 'steam-float',
float = true, -- float = true,
no_initial_focus = true, -- no_initial_focus = true,
workspace = 'name:Gaming_1', -- workspace = 'name:Gaming_1',
idle_inhibit = 'fullscreen', -- idle_inhibit = 'fullscreen',
match = { -- match = {
class = 'steam', -- class = 'steam',
}, -- },
} -- }
hl.window_rule { -- hl.window_rule {
name = 'steam-app-size', -- name = 'steam-app-center',
center = true, -- center = true,
match = { -- match = {
class = 'steam', -- class = 'steam',
title = 'Steam', -- title = 'Steam',
}, -- },
} -- }
hl.window_rule { hl.window_rule {
name = 'steam-opacity', name = 'steam-opacity',
tag = '-default-opacity', tag = '-default-opacity',
+9 -8
View File
@@ -1,12 +1,12 @@
-- https://wiki.hyprland.org/Configuring/Variables/#input -- https://wiki.hyprland.org/Configuring/Variables/#input
hl.config({ hl.config {
input = { input = {
-- Use multiple keyboard layouts and switch between them with Left Alt + Right Alt -- Use multiple keyboard layouts and switch between them with Left Alt + Right Alt
kb_layout = "gb,ro", kb_layout = 'gb,ro',
-- Use a specific keyboard variant if needed (e.g. intl for international keyboards) -- Use a specific keyboard variant if needed (e.g. intl for international keyboards)
-- kb_variant = "intl", -- kb_variant = "intl",
-- kb_model = -- kb_model =
kb_options = "compose:caps", kb_options = 'caps:ctrl_modifier,caps:escape',
-- kb_rules = -- kb_rules =
-- Change speed of keyboard repeat -- Change speed of keyboard repeat
@@ -61,16 +61,16 @@ hl.config({
key_press_enables_dpms = true, -- key press will trigger wake key_press_enables_dpms = true, -- key press will trigger wake
mouse_move_enables_dpms = true, -- mouse move will trigger wake mouse_move_enables_dpms = true, -- mouse move will trigger wake
}, },
}) }
-- Scroll nicely in the terminal -- Scroll nicely in the terminal
hl.window_rule({ hl.window_rule {
name = "Scroll nicely in the terminal", name = 'Scroll nicely in the terminal',
match = { match = {
class = "com.mitchellh.ghostty", class = 'com.mitchellh.ghostty',
}, },
scroll_mouse = 1.5, scroll_mouse = 1.5,
}) }
-- Enable touchpad gestures for changing workspaces -- Enable touchpad gestures for changing workspaces
-- See https://wiki.hyprland.org/Configuring/Gestures/ -- See https://wiki.hyprland.org/Configuring/Gestures/
@@ -94,3 +94,4 @@ hl.window_rule({
-- active_area_position = { 0.0, (tablet_size.height - new_tablet_height) / 2 }, -- active_area_position = { 0.0, (tablet_size.height - new_tablet_height) / 2 },
-- }) -- })
-- end -- end
+4
View File
@@ -131,6 +131,10 @@ hl.config {
-- Avoid overly wide single-window layouts on wide screens -- Avoid overly wide single-window layouts on wide screens
-- single_window_aspect_ratio = 1 1, -- single_window_aspect_ratio = 1 1,
}, },
render = {
direct_scanout = false,
},
} }
-- Default curves and animations, see https://wiki.hypr.land/Configuring/Advanced-and-Cool/Animations/ -- Default curves and animations, see https://wiki.hypr.land/Configuring/Advanced-and-Cool/Animations/
+15 -1
View File
@@ -86,7 +86,21 @@ hl.on('monitor.focused', function()
return return
end end
local layout = workspace.tiled_layout local monitor = hl.get_active_monitor()
if monitor.description == 'BOE NE160QDM-NZ6' then
hl.workspace_rule { workspace = 'name:' .. tostring(workspace.name), layout = 'monocle' }
end
end)
hl.on('config.reloaded', function()
local workspace = hl.get_active_workspace()
if hl.get_active_special_workspace() then
workspace = hl.get_active_special_workspace()
end
if not workspace then
return
end
local monitor = hl.get_active_monitor() local monitor = hl.get_active_monitor()