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