Compare commits
2 Commits
f8b5f1aa6a
...
357a19cb8c
| Author | SHA1 | Date |
|---|---|---|
|
|
357a19cb8c | |
|
|
7016388210 |
|
|
@ -17,7 +17,7 @@
|
|||
-- They are loaded in this specific order so that later modules can safely
|
||||
-- depend on earlier ones (e.g., binds may reference programs launched by
|
||||
-- autostart; input-device-exceptions builds on the global input baseline).
|
||||
require("monitors") -- monitor layout, resolution, scale (managed by hyprmoncfg)
|
||||
require("usr.monitors") -- monitor layout, resolution, scale (managed by hyprmoncfg)
|
||||
require("usr.envvars") -- environment variables injected into every child process
|
||||
require("usr.input") -- keyboard layout, mouse sensitivity, touchpad behaviour
|
||||
require("usr.binds") -- all keybindings and mouse button bindings
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ hl.bind(mainMod .. " + ALT + F", hl.dsp.exec_cmd("wofi-calc"))
|
|||
hl.bind(mainMod .. " + S", hl.dsp.exec_cmd("[tag +mixer] pavucontrol"))
|
||||
hl.bind(mainMod .. " + U", hl.dsp.exec_cmd("[tag +centered-L] kitty btop"))
|
||||
hl.bind(mainMod .. " + W", hl.dsp.exec_cmd("[tag +centered-L] kitty -e ~/.config/scripts/wallpaper-picker ~/Pictures"))
|
||||
hl.bind(mainMod .. " + SHIFT + M", hl.dsp.exec_cmd("[tag +centered-L] kitty -e hyprmoncfg"))
|
||||
hl.bind(mainMod .. " + SHIFT + M", hl.dsp.exec_cmd("[tag +centered-L] kitty -e ~/.config/scripts/monitor-manager"))
|
||||
hl.bind(mainMod .. " + CTRL + R", hl.dsp.exec_cmd("[tag +centered-L] kitty -e ~/.config/scripts/amssh"))
|
||||
hl.bind(mainMod .. " + F1", hl.dsp.exec_cmd("[tag +centered] kitty ~/.config/scripts/helpmenu.sh"))
|
||||
hl.bind(mainMod .. " + CTRL + T", hl.dsp.exec_cmd("[tag +centered-S] kitty bash ~/.config/scripts/timer-pick"))
|
||||
|
|
|
|||
|
|
@ -114,14 +114,14 @@ class MonitorState:
|
|||
@property
|
||||
def logical_width(self) -> int:
|
||||
if (self.transform & 3) in (1, 3):
|
||||
return self.height
|
||||
return self.width
|
||||
return round(self.height / self.scale)
|
||||
return round(self.width / self.scale)
|
||||
|
||||
@property
|
||||
def logical_height(self) -> int:
|
||||
if (self.transform & 3) in (1, 3):
|
||||
return self.width
|
||||
return self.height
|
||||
return round(self.width / self.scale)
|
||||
return round(self.height / self.scale)
|
||||
|
||||
@property
|
||||
def mode_str(self) -> str:
|
||||
|
|
|
|||
Loading…
Reference in New Issue