Convert hyprland config to lua
This commit is contained in:
64
hypr/hyprland.lua
Normal file
64
hypr/hyprland.lua
Normal file
@@ -0,0 +1,64 @@
|
||||
-- https://wiki.hypr.land/Configuring/
|
||||
|
||||
-- Please note not all available settings / options are set here.
|
||||
-- For a full list, see the wiki
|
||||
|
||||
-- You can split this configuration into multiple files
|
||||
-- Create your files separately and then link them to this file like this:
|
||||
-- source = ~/.config/hypr/myColors.conf
|
||||
|
||||
local mainMod = "SUPER"
|
||||
|
||||
-- require("monitors")
|
||||
local colors = require("colors")
|
||||
-- require("programs")
|
||||
require("autostart")
|
||||
require("environment")
|
||||
require("look-and-feel")
|
||||
require("input")
|
||||
require("keybindings")
|
||||
-- require("window-rules")
|
||||
|
||||
-- exec-once = hyprpaper # wallpaper
|
||||
-- exec-once = cava -p ~/.config/cava/config
|
||||
|
||||
-- monitors
|
||||
|
||||
--###############
|
||||
--## MONITORS ###
|
||||
--###############
|
||||
|
||||
-- See https://wiki.hypr.land/Configuring/Monitors/
|
||||
|
||||
-- Generated by hyprlang2lua. Review TODOs before reloading Hyprland.
|
||||
|
||||
hl.monitor({
|
||||
output = "DP-2",
|
||||
mode = "2560x1440@165.00Hz",
|
||||
position = "0x0",
|
||||
scale = "1",
|
||||
})
|
||||
|
||||
hl.monitor({
|
||||
output = "HDMI-A-1",
|
||||
mode = "1920x1080@74.97Hz",
|
||||
position = "2560x0",
|
||||
scale = "1",
|
||||
})
|
||||
|
||||
hl.monitor({
|
||||
output = "DP-1",
|
||||
mode = "1920x1080",
|
||||
position = "1280x-1080",
|
||||
scale = "1",
|
||||
})
|
||||
|
||||
-- automatically place any other monitors on the right of the other ones
|
||||
hl.monitor({
|
||||
output = "",
|
||||
mode = "preferred",
|
||||
position = "auto",
|
||||
scale = "auto",
|
||||
})
|
||||
|
||||
-- window rules
|
||||
Reference in New Issue
Block a user