| 1 | terminal = "foot" |
| 2 | menu = "fuzzel" |
| 3 | browser = "librewolf" |
| 4 | mainMod = "SUPER" |
| 5 | |
| 6 | -- ----------------------------------------------------- |
| 7 | -- Path to home |
| 8 | -- ----------------------------------------------------- |
| 9 | HOME = os.getenv("HOME") |
| 10 | |
| 11 | |
| 12 | -- Theme (pywal16) |
| 13 | wal = dofile(HOME .. "/.cache/wal/hyprland-colors.lua") |
| 14 | |
| 15 | -- ----------------------------------------------------- |
| 16 | -- Autostart |
| 17 | -- ----------------------------------------------------- |
| 18 | hl.on("hyprland.start", function() |
| 19 | hl.exec_cmd("wl-paste --type text --watch cliphist store") |
| 20 | hl.exec_cmd("wl-paste --type image --watch cliphist store") |
| 21 | hl.exec_cmd("hyprpm reload -n") |
| 22 | hl.exec_cmd("kanshi") |
| 23 | hl.exec_cmd("waybar") |
| 24 | hl.exec_cmd("swaync") |
| 25 | hl.exec_cmd("gammastep") |
| 26 | hl.exec_cmd("hypridle") |
| 27 | hl.exec_cmd(os.getenv("HOME") .. "/.local/bin/setwall -n") |
| 28 | hl.exec_cmd("systemctl --user start hyprpolkitagent") |
| 29 | end) |
| 30 | |
| 31 | -------------------------------------------------- |
| 32 | -- Plugins |
| 33 | -------------------------------------------------- |
| 34 | package.path = package.path .. ";./?.lua;./?/init.lua" |
| 35 | smw = require("plugins.split-monitor-workspaces") |
| 36 | smw.setup({ |
| 37 | workspace_count = 10, |
| 38 | }) |
| 39 | |
| 40 | -- ----------------------------------------------------- |
| 41 | -- SOURCE FILES |
| 42 | -- ----------------------------------------------------- |
| 43 | require("source.environment_variables") |
| 44 | require("source.permissions") |
| 45 | require("source.appearance") |
| 46 | require("source.input") |
| 47 | require("source.keybinds") |
| 48 | require("source.window_rules") |