117 lines
2.8 KiB
Lua

-- #source = ~/.config/hypr/hyprland/env.conf # This Isn't Needed because were using UWSM to mange the environment
require("hyprland/exec")
-- require("hyprland/plugin.lua")
require("hyprland/bind")
require("hyprland/windowrule")
local home = os.getenv("HOME")
local terminal = "ghostty"
local menu = "rofi"
local mainMod = "SUPER"
package.path = package.path .. ";./?.lua;./?/init.lua"
local smw = require("plugins.split-monitor-workspaces")
smw.setup({
workspace_count = 10, -- This will create 5 persistent workspaces on each monitor at startup
})
hl.monitor({
output = "DP-1",
mode = "1920x1080@60",
position = "0x0",
scale = 1 -- 60hz refresh rate on DP-1 - "hyprctl monitors"
})
hl.monitor({
output = "HDMI-A-1",
mode = "1920x1080@60",
position = "1920x0",
scale = 1 -- #60hz on HDMI-A-1
})
hl.config({
general = {
gaps_in = 6,
gaps_out = 8,
border_size = 3,
col = {
active_border = { colors = {"rgba(398bc6ff)", "rgba(576ddbff)", "rgba(2a9292ff)", "rgba(955ae7ff)"}, angle = 45 },
inactive_border = { colors = {"rgba(19171ccc)", "rgba(26232acc)"}, angle = 45 },
},
layout = dwindle,
resize_on_border = true,
allow_tearing = true,
},
-- ABOVE HERE IS GOOD
input = {
-- # Keyboard Settings
kb_layout = "us",
numlock_by_default = true,
-- # Mouse Settings
accel_profile = "flat",
force_no_accel = false,
follow_mouse = 1,
special_fallthrough = true, -- # This allows clicking windows behind a floating special window
sensitivity = 0, -- # -1.0 - 1.0, 0 means no modification.
},
-- MISC SETTINGS SHOULD BE GOOD
misc = {
force_default_wallpaper = 0,
animate_manual_resizes = false, --# If true makes resizing very slow!
animate_mouse_windowdragging = false, -- # Follows the custom bezier from animation{} windowsMove
mouse_move_enables_dpms = true,
key_press_enables_dpms = false,
enable_swallow = true, -- # Default is false
swallow_regex = "com.mitchellh.ghostty", -- # regex of class to be swallowed
focus_on_activate = false, -- # focus on an app that requests focus - default False
enable_anr_dialog = false, -- # Disables the App Not Responding Dialog
},
animations = {
enabled = true,
},
decoration = {
rounding = 7,
active_opacity = 1.0,
inactive_opacity = 0.53,
fullscreen_opacity = 1.0,
dim_inactive = false,
dim_special = 0.01,
shadow = {
enabled = true,
},
blur = {
enabled = true,
size = 5,
passes = 3,
new_optimizations = on,
ignore_opacity = on,
special = false,
},
},
dwindle = {
preserve_split = true,
},
master = {
new_status = "slave",
new_on_top = true,
},
-- # render {
-- # explicit_sync = 0
-- # }
-- cursor {
-- default_monitor = "DP-1",
-- },
})