require("hyprland.bindings") require("hyprland.env") require("hyprland.rules") local M = require("colors") -- monitors https://wiki.hypr.land/Configuring/Basics/Monitors/ hl.monitor({ output = "DP-1", mode = "2560x1440@144", position = "auto", scale = "auto", }) hl.monitor({ output = "eDP-1", mode = "1920x1080@60", position = "auto", scale = 1.20, }) hl.on("config.reloaded", function() hl.notification.create({ text = "Config Reloaded" }) end) hl.on("hyprland.start", function() hl.exec_cmd("gnome-keyring-daemon --start --components=secrets") hl.exec_cmd("hypridle") hl.exec_cmd("swww-daemon") hl.exec_cmd("quickshell") hl.exec_cmd("xsetroot -cursor_name left_ptr") hl.exec_cmd("thunderbird", { workspace = "1 silent" }) hl.exec_cmd('proton-mail --password-store="gnome-libsecret"', { workspace = "1 silent" }) hl.exec_cmd("discord --enable-features=UseOzonePlatform --ozone-platform=wayland", { workspace = "2 silent" }) hl.exec_cmd('signal-desktop --password-store="gnome-libsecret"', { workspace = "2 silent" }) hl.exec_cmd("zen-browser", { workspace = "3 silent" }) hl.exec_cmd("alacritty", { workspace = "4 silent" }) hl.exec_cmd("steam", { workspace = "5 silent" }) hl.exec_cmd("alacritty", { workspace = "special:terminal silent" }) hl.exec_cmd( "tidal-hifi --enable-features=UseOzonePlatform --ozone-platform=wayland", { workspace = "special:music silent" } ) end) -- bindings -- input https://wiki.hypr.land/Configuring/Basics/Variables/#input -- hl.input({ -- kb_layout = "us", -- follow_mouse = 1, -- sensitivity = 0, -- -1.0 - 1.0, 0 means no modification. -- }) -- hl.input.touchpad({ -- natural_scroll = "no", -- }) -- config https://wiki.hypr.land/Configuring/Basics/Variables hl.config({ general = { gaps_in = 10, gaps_out = 10, border_size = 3, layout = "dwindle", allow_tearing = true, col = { active_border = { colors = { M.color4, M.color13 }, angle = 45 }, inactive_border = { colors = { M.color0 } }, }, }, decoration = { rounding = 6, blur = { enabled = true, size = 6, passes = 1, ignore_opacity = true, }, shadow = { enabled = true, range = 4, render_power = 3, color = "#1a1a1aee", }, }, dwindle = { preserve_split = true, }, misc = { force_default_wallpaper = 0, }, cursor = { no_hardware_cursors = true, }, })