diff --git a/modules/binds.lua b/modules/binds.lua index a3b26ed..ec7d155 100644 --- a/modules/binds.lua +++ b/modules/binds.lua @@ -1,6 +1,7 @@ hl.bind("SUPER + mouse:272", hl.dsp.window.drag(), { mouse = true }) hl.bind("SUPER + mouse:273", hl.dsp.window.resize(), { mouse = true }) +hl.bind("SUPER + S", hl.dsp.window.float()) hl.bind("SUPER + Q", hl.dsp.window.close()) hl.bind("SUPER + M", hl.dsp.exit()) hl.bind("SUPER + RETURN", hl.dsp.exec_cmd("ghostty")) diff --git a/modules/env.lua b/modules/env.lua index ffc493c..de82f23 100644 --- a/modules/env.lua +++ b/modules/env.lua @@ -1,29 +1,29 @@ -hl.env("ZSH","/usr/share/oh-my-zsh/") -hl.env("BROWSER","firefox") -hl.env("TERM","tmux-256color") -hl.env("VISUAL","nvim") -hl.env("EDITOR","nvim") +hl.env("ZSH", "/usr/share/oh-my-zsh/") +hl.env("BROWSER", "firefox") +hl.env("TERM", "tmux-256color") +hl.env("VISUAL", "nvim") +hl.env("EDITOR", "nvim") -hl.env("HYPRCURSOR_THEME","catppuccin-macchiato-light-cursors") -hl.env("HYPRCURSOR_SIZE","28") +hl.env("HYPRCURSOR_THEME", "catppuccin-macchiato-light-cursors") +hl.env("HYPRCURSOR_SIZE", "28") -hl.env("ELECTRON_OZONE_PLATFORM_HINT","auto") -hl.env("QT_AUTO_SCREEN_SCALE_FACTOR","1") -hl.env("QT_QPA_PLATFORM","wayland") -hl.env("QT_QPA_PLATFORMTHEME","qt6ct") -hl.env("QT_WAYLAND_DISABLE_WINDOWDECORATION","1") +hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto") +hl.env("QT_AUTO_SCREEN_SCALE_FACTOR", "1") +hl.env("QT_QPA_PLATFORM", "wayland") +hl.env("QT_QPA_PLATFORMTHEME", "qt6ct") +hl.env("QT_WAYLAND_DISABLE_WINDOWDECORATION", "1") -hl.env("XDG_SESSION_DESKTOP","Hyprland") -hl.env("XDG_SESSION_TYPE","wayland") -hl.env("CLUTTER_BACKEND","wayland") -hl.env("GDK_BACKEND","wayland") -hl.env("SDL_VIDEODRIVER","wayland") +hl.env("XDG_SESSION_DESKTOP", "Hyprland") +hl.env("XDG_SESSION_TYPE", "wayland") +hl.env("CLUTTER_BACKEND", "wayland") +hl.env("GDK_BACKEND", "wayland") +hl.env("SDL_VIDEODRIVER", "wayland") -hl.env("XDG_CONFIG_HOME","/home/aram/.config") -hl.env("XDG_CACHE_HOME","/home/aram/.cache") -hl.env("XDG_DATA_HOME","/home/aram/.local/share") -hl.env("XDG_PICTRES_HOME","/home/aram/Pictures") -hl.env("HYPRSHOT_DIR","/home/aram/Pictures/Screenshots") +hl.env("XDG_CONFIG_HOME", "/home/aram/.config") +hl.env("XDG_CACHE_HOME", "/home/aram/.cache") +hl.env("XDG_DATA_HOME", "/home/aram/.local/share") +hl.env("XDG_PICTRES_HOME", "/home/aram/Pictures") +hl.env("HYPRSHOT_DIR", "/home/aram/Pictures/Screenshots") -hl.env("RUSTICL_ENABLE","radeonsi") -hl.env("AMD_VULKAN_ICD","RADV") +hl.env("RUSTICL_ENABLE", "radeonsi") +hl.env("AMD_VULKAN_ICD", "RADV") diff --git a/modules/executes.lua b/modules/executes.lua index 4d2fc91..feb1030 100644 --- a/modules/executes.lua +++ b/modules/executes.lua @@ -5,6 +5,6 @@ hl.on("hyprland.start", function() hl.exec_cmd("wl-paste --type text --watch cliphist store") hl.exec_cmd("wl-paste --type image --watch cliphist store") hl.exec_cmd("hyprsunset -i") - hl.exec_cmd("nextcloud --background") - hl.exec_cmd("brightnessctl set 100%") + hl.exec_cmd("nextcloud --background") + hl.exec_cmd("brightnessctl set 100%") end) diff --git a/modules/monitors.lua b/modules/monitors.lua index d058e82..2819f07 100644 --- a/modules/monitors.lua +++ b/modules/monitors.lua @@ -11,7 +11,7 @@ hl.monitor({ output = "", mode = "highres@highrr", position = "auto", - scale = 2, + scale = 1, bitdepth = 10, cm = "srgb", }) diff --git a/modules/settings.lua b/modules/settings.lua index 5055eba..76a47b8 100644 --- a/modules/settings.lua +++ b/modules/settings.lua @@ -22,13 +22,12 @@ hl.config({ sensitivity = 0, accel_profile = "flat", follow_mouse = 1, - touchpad = { - natural_scroll = true, - scroll_factor = 0.4, - middle_button_emulation = true, - }, - gestures = { - }, + touchpad = { + natural_scroll = true, + scroll_factor = 0.4, + middle_button_emulation = true, + }, + gestures = {}, }, general = { gaps_in = 2,