Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
480ef3b5f4 | ||
|
|
b05099be72 |
@@ -245,7 +245,6 @@ hl.window_rule({
|
|||||||
hl.window_rule({
|
hl.window_rule({
|
||||||
name = "steam-app-size",
|
name = "steam-app-size",
|
||||||
center = true,
|
center = true,
|
||||||
size = { 1100, 700 },
|
|
||||||
match = {
|
match = {
|
||||||
class = "steam",
|
class = "steam",
|
||||||
title = "Steam",
|
title = "Steam",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ hl.on("hyprland.start", function()
|
|||||||
hl.exec_cmd("uwsm-app -- hyprsunset")
|
hl.exec_cmd("uwsm-app -- hyprsunset")
|
||||||
hl.exec_cmd("uwsm-app -- fcitx5 --disable notificationitem")
|
hl.exec_cmd("uwsm-app -- fcitx5 --disable notificationitem")
|
||||||
hl.exec_cmd("uwsm-app -- Enpass -minimize")
|
hl.exec_cmd("uwsm-app -- Enpass -minimize")
|
||||||
hl.exec_cmd("uwsm-app -- Steam")
|
hl.exec_cmd("uwsm-app -- steam")
|
||||||
hl.exec_cmd("nextcloud")
|
hl.exec_cmd("nextcloud")
|
||||||
hl.exec_cmd("station-bg-random")
|
hl.exec_cmd("station-bg-random")
|
||||||
hl.exec_cmd("/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1")
|
hl.exec_cmd("/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1")
|
||||||
|
|||||||
+14
-14
@@ -87,17 +87,17 @@ hl.window_rule({
|
|||||||
-- action = "workspace",
|
-- action = "workspace",
|
||||||
-- })
|
-- })
|
||||||
|
|
||||||
for _, tablet in ipairs({ "wacom-intuos-pro-s-pen", "wacom-intuos-pro-s-(wl)-pen" }) do
|
-- for _, tablet in ipairs({ "wacom-intuos-pro-s-pen", "wacom-intuos-pro-s-(wl)-pen" }) do
|
||||||
local monitor_id = "DP-1"
|
-- local monitor_id = "DP-1"
|
||||||
local monitor = hl.get_monitor(monitor_id)
|
-- local monitor = hl.get_monitor(monitor_id)
|
||||||
local ratio = monitor.width / monitor.height
|
-- local ratio = monitor.width / monitor.height
|
||||||
local tablet_size = { width = 157.48, height = 98.425 }
|
-- local tablet_size = { width = 157.48, height = 98.425 }
|
||||||
local new_tablet_height = tablet_size.width / ratio
|
-- local new_tablet_height = tablet_size.width / ratio
|
||||||
|
--
|
||||||
hl.device({
|
-- hl.device({
|
||||||
name = tablet,
|
-- name = tablet,
|
||||||
output = monitor_id,
|
-- output = monitor_id,
|
||||||
active_area_size = { tablet_size.width, new_tablet_height },
|
-- active_area_size = { tablet_size.width, new_tablet_height },
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user