Compare commits

..

No commits in common. "357a19cb8cad62a05c700a410f4f3c5ec6b02376" and "f8b5f1aa6a6d661a3b237c74940a2567a3fcccdb" have entirely different histories.

3 changed files with 6 additions and 6 deletions

View File

@ -17,7 +17,7 @@
-- They are loaded in this specific order so that later modules can safely -- 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 -- depend on earlier ones (e.g., binds may reference programs launched by
-- autostart; input-device-exceptions builds on the global input baseline). -- autostart; input-device-exceptions builds on the global input baseline).
require("usr.monitors") -- monitor layout, resolution, scale (managed by hyprmoncfg) require("monitors") -- monitor layout, resolution, scale (managed by hyprmoncfg)
require("usr.envvars") -- environment variables injected into every child process require("usr.envvars") -- environment variables injected into every child process
require("usr.input") -- keyboard layout, mouse sensitivity, touchpad behaviour require("usr.input") -- keyboard layout, mouse sensitivity, touchpad behaviour
require("usr.binds") -- all keybindings and mouse button bindings require("usr.binds") -- all keybindings and mouse button bindings

View File

@ -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 .. " + S", hl.dsp.exec_cmd("[tag +mixer] pavucontrol"))
hl.bind(mainMod .. " + U", hl.dsp.exec_cmd("[tag +centered-L] kitty btop")) 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 .. " + 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 ~/.config/scripts/monitor-manager")) hl.bind(mainMod .. " + SHIFT + M", hl.dsp.exec_cmd("[tag +centered-L] kitty -e hyprmoncfg"))
hl.bind(mainMod .. " + CTRL + R", hl.dsp.exec_cmd("[tag +centered-L] kitty -e ~/.config/scripts/amssh")) 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 .. " + 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")) hl.bind(mainMod .. " + CTRL + T", hl.dsp.exec_cmd("[tag +centered-S] kitty bash ~/.config/scripts/timer-pick"))

View File

@ -114,14 +114,14 @@ class MonitorState:
@property @property
def logical_width(self) -> int: def logical_width(self) -> int:
if (self.transform & 3) in (1, 3): if (self.transform & 3) in (1, 3):
return round(self.height / self.scale) return self.height
return round(self.width / self.scale) return self.width
@property @property
def logical_height(self) -> int: def logical_height(self) -> int:
if (self.transform & 3) in (1, 3): if (self.transform & 3) in (1, 3):
return round(self.width / self.scale) return self.width
return round(self.height / self.scale) return self.height
@property @property
def mode_str(self) -> str: def mode_str(self) -> str: