feat: updates to make it work
This commit is contained in:
@@ -6,3 +6,4 @@ grub_os_prober = {"desktop": True, "laptop": False}
|
|||||||
kernel_args_all = {"desktop": "", "laptop": ""}
|
kernel_args_all = {"desktop": "", "laptop": ""}
|
||||||
kernel_args_debug_only = {"desktop": "", "laptop": ""}
|
kernel_args_debug_only = {"desktop": "", "laptop": ""}
|
||||||
kernel_args_normal_only = {"desktop": "", "laptop": ""}
|
kernel_args_normal_only = {"desktop": "", "laptop": ""}
|
||||||
|
user = "janis"
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ if read_docked then
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Core
|
-- Core
|
||||||
require("colors")
|
require("hyprland.colors")
|
||||||
require("hyprland.core.general")
|
require("hyprland.core.general")
|
||||||
require("hyprland.core.input")(laptop_config)
|
require("hyprland.core.input")(laptop_config)
|
||||||
require("hyprland.core.group")
|
require("hyprland.core.group")
|
||||||
@@ -24,10 +24,10 @@ require("hyprland.core.misc")
|
|||||||
require("hyprland.core.style")
|
require("hyprland.core.style")
|
||||||
|
|
||||||
-- Binds
|
-- Binds
|
||||||
|
require("hyprland.binds.main")
|
||||||
require("hyprland.binds.device")
|
require("hyprland.binds.device")
|
||||||
require("hyprland.binds.groups")
|
require("hyprland.binds.groups")
|
||||||
require("hyprland.binds.launch")
|
require("hyprland.binds.launch")
|
||||||
require("hyprland.binds.main")
|
|
||||||
require("hyprland.binds.notifications")
|
require("hyprland.binds.notifications")
|
||||||
require("hyprland.binds.screenshot")
|
require("hyprland.binds.screenshot")
|
||||||
require("hyprland.binds.window")
|
require("hyprland.binds.window")
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ hl.define_submap("device", function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
-- Touchpad
|
-- Touchpad
|
||||||
hl.bind("Shift + T", function()
|
hl.bind("SHIFT + T", function()
|
||||||
hl.device({
|
hl.device({
|
||||||
name = "pnp0c50:00-093a:0255-touchpad",
|
name = "pnp0c50:00-093a:0255-touchpad",
|
||||||
enabled = false,
|
enabled = false,
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ local function exit_submap()
|
|||||||
hl.dispatch(hl.dsp.submap("reset"))
|
hl.dispatch(hl.dsp.submap("reset"))
|
||||||
end
|
end
|
||||||
|
|
||||||
hl.bind("Super + Q", hl.dsp.exit())
|
|
||||||
|
|
||||||
hl.define_submap("groups", function()
|
hl.define_submap("groups", function()
|
||||||
hl.bind("c", function()
|
hl.bind("c", function()
|
||||||
hl.dispatch(hl.dsp.group.toggle())
|
hl.dispatch(hl.dsp.group.toggle())
|
||||||
@@ -20,18 +18,18 @@ hl.define_submap("groups", function()
|
|||||||
exit_submap()
|
exit_submap()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
hl.bind("Ctrl + L", function()
|
hl.bind("CTRL + L", function()
|
||||||
hl.dispatch(hl.dsp.exec_cmd("notify-send 'Group locking toggled' --app-name='Hyprtclt'"))
|
hl.dispatch(hl.dsp.exec_cmd("notify-send 'Group locking toggled' --app-name='Hyprtclt'"))
|
||||||
hl.dispatch(hl.dsp.group.lock_active())
|
hl.dispatch(hl.dsp.group.lock_active())
|
||||||
exit_submap()
|
exit_submap()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
hl.bind("Shift + L", function()
|
hl.bind("SHIFT + L", function()
|
||||||
hl.dispatch(hl.dsp.window.move({ into_or_create_group = "r" }))
|
hl.dispatch(hl.dsp.window.move({ into_or_create_group = "r" }))
|
||||||
exit_submap()
|
exit_submap()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
hl.bind("Shift + H", function()
|
hl.bind("SHIFT + H", function()
|
||||||
hl.dispatch(hl.dsp.window.move({ into_or_create_group = "l" }))
|
hl.dispatch(hl.dsp.window.move({ into_or_create_group = "l" }))
|
||||||
exit_submap()
|
exit_submap()
|
||||||
end)
|
end)
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ local function launcher(program)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
hl.bind("SUPER + Return", launcher("kitty"))
|
||||||
|
|
||||||
hl.define_submap("launch", function()
|
hl.define_submap("launch", function()
|
||||||
-- Librewolf
|
-- Librewolf
|
||||||
hl.bind("l", launcher("librewolf"))
|
hl.bind("l", launcher("librewolf"))
|
||||||
@@ -33,7 +35,7 @@ hl.define_submap("launch", function()
|
|||||||
hl.bind("z", launcher("zathura"))
|
hl.bind("z", launcher("zathura"))
|
||||||
|
|
||||||
-- Brave
|
-- Brave
|
||||||
hl.bind("Shift + B", launcher("brave"))
|
hl.bind("SHIFT + B", launcher("brave"))
|
||||||
|
|
||||||
-- bsmanager
|
-- bsmanager
|
||||||
hl.bind("b", launcher("/opt/bs-manager/bs-manager"))
|
hl.bind("b", launcher("/opt/bs-manager/bs-manager"))
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
hl.bind("Super + X", hl.dsp.submap("launch"))
|
hl.bind("SUPER + X", hl.dsp.submap("launch"))
|
||||||
hl.bind("Super + D", hl.dsp.submap("device"))
|
hl.bind("SUPER + D", hl.dsp.submap("device"))
|
||||||
hl.bind("Super + C", hl.dsp.submap("notifications"))
|
hl.bind("SUPER + C", hl.dsp.submap("notifications"))
|
||||||
hl.bind("Super + G", hl.dsp.submap("groups"))
|
hl.bind("SUPER + G", hl.dsp.submap("groups"))
|
||||||
hl.bind("Super + S", hl.dsp.submap("screenshot"))
|
hl.bind("SUPER + S", hl.dsp.submap("screenshot"))
|
||||||
hl.bind("Super + W", hl.dsp.submap("window"))
|
hl.bind("SUPER + W", hl.dsp.submap("window"))
|
||||||
hl.bind("Super + A", hl.dsp.submap("workspace"))
|
hl.bind("SUPER + A", hl.dsp.submap("workspace"))
|
||||||
|
hl.bind("SUPER + Q", hl.dsp.window.close())
|
||||||
|
|
||||||
hl.bind("Super + Space", hl.dsp.exec_cmd("dms ipc call spotlight toggle"))
|
hl.bind("SUPER + Space", hl.dsp.exec_cmd("dms ipc call spotlight toggle"))
|
||||||
hl.bind("Super + Escape", hl.dsp.exec_cmd("dms ipc call powermenu open"))
|
hl.bind("SUPER + Escape", hl.dsp.exec_cmd("dms ipc call powermenu open"))
|
||||||
hl.bind("Super + I", hl.dsp.exec_cmd("dms ipc call control-center open"))
|
hl.bind("SUPER + I", hl.dsp.exec_cmd("dms ipc call control-center open"))
|
||||||
hl.bind("Super + ?", hl.dsp.exec_cmd("dms ipc call keybinds toggle hyprland"))
|
hl.bind("SUPER + CTRL + H", hl.dsp.exec_cmd("dms ipc call keybinds toggle hyprland"))
|
||||||
|
|||||||
@@ -18,17 +18,17 @@ hl.define_submap("screenshot", function()
|
|||||||
exit_submap()
|
exit_submap()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
hl.bind("Shift + y", function()
|
hl.bind("SHIFT + y", function()
|
||||||
hl.dispatch(hl.dsp.exec_cmd("dms screenshot full --no-file"))
|
hl.dispatch(hl.dsp.exec_cmd("dms screenshot full --no-file"))
|
||||||
exit_submap()
|
exit_submap()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
hl.bind("Shift + c", function()
|
hl.bind("SHIFT + c", function()
|
||||||
hl.dispatch(hl.dsp.exec_cmd("dms screenshot full"))
|
hl.dispatch(hl.dsp.exec_cmd("dms screenshot full"))
|
||||||
exit_submap()
|
exit_submap()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
hl.bind("Shift + s", function()
|
hl.bind("SHIFT + s", function()
|
||||||
hl.dispatch(hl.dsp.exec_cmd("dms screenshot full --no-copy"))
|
hl.dispatch(hl.dsp.exec_cmd("dms screenshot full --no-copy"))
|
||||||
exit_submap()
|
exit_submap()
|
||||||
end)
|
end)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ local function exit_submap()
|
|||||||
hl.dispatch(hl.dsp.submap("reset"))
|
hl.dispatch(hl.dsp.submap("reset"))
|
||||||
end
|
end
|
||||||
|
|
||||||
hl.bind("Super + Q", hl.dsp.exit())
|
hl.bind("SUPER + Q", hl.dsp.exit())
|
||||||
|
|
||||||
hl.define_submap("window", function()
|
hl.define_submap("window", function()
|
||||||
hl.bind("x", function()
|
hl.bind("x", function()
|
||||||
@@ -30,7 +30,7 @@ hl.define_submap("window", function()
|
|||||||
exit_submap()
|
exit_submap()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
hl.bind("Shift + K", function()
|
hl.bind("SHIFT + K", function()
|
||||||
hl.dispatch(hl.dsp.exec_cmd("notify-send 'Insta-Kill activated' --app-name='Hyprtclt'"))
|
hl.dispatch(hl.dsp.exec_cmd("notify-send 'Insta-Kill activated' --app-name='Hyprtclt'"))
|
||||||
hl.dispatch(hl.dsp.exec_cmd("hyprctl kill"))
|
hl.dispatch(hl.dsp.exec_cmd("hyprctl kill"))
|
||||||
exit_submap()
|
exit_submap()
|
||||||
|
|||||||
@@ -3,22 +3,22 @@ local function exit_submap()
|
|||||||
end
|
end
|
||||||
|
|
||||||
for i = 1, 10, 1 do
|
for i = 1, 10, 1 do
|
||||||
hl.bind("Super + " .. tostring(i % 10), hl.dsp.focus({ workspace = tostring(i) }))
|
hl.bind("SUPER + " .. tostring(i % 10), hl.dsp.focus({ workspace = tostring(i) }))
|
||||||
hl.bind("Super + Shift + " .. tostring(i % 10), hl.dsp.window.move({ workspace = tostring(i), follow = 1 }))
|
hl.bind("SUPER + SHIFT + " .. tostring(i % 10), hl.dsp.window.move({ workspace = tostring(i), follow = 1 }))
|
||||||
end
|
end
|
||||||
|
|
||||||
hl.bind("Super + h", hl.dsp.focus({ direction = "l" }))
|
hl.bind("SUPER + h", hl.dsp.focus({ direction = "l" }))
|
||||||
hl.bind("Super + l", hl.dsp.focus({ direction = "r" }))
|
hl.bind("SUPER + l", hl.dsp.focus({ direction = "r" }))
|
||||||
hl.bind("Super + j", hl.dsp.focus({ direction = "d" }))
|
hl.bind("SUPER + j", hl.dsp.focus({ direction = "d" }))
|
||||||
hl.bind("Super + k", hl.dsp.focus({ direction = "u" }))
|
hl.bind("SUPER + k", hl.dsp.focus({ direction = "u" }))
|
||||||
|
|
||||||
hl.bind("Super + M", hl.dsp.workspace.toggle_special("main"))
|
hl.bind("SUPER + M", hl.dsp.workspace.toggle_special("main"))
|
||||||
hl.bind("Super + Shift + M", hl.dsp.window.move({ workspace = "special:main" }))
|
hl.bind("SUPER + SHIFT + M", hl.dsp.window.move({ workspace = "special:main" }))
|
||||||
|
|
||||||
hl.define_submap("notifications", function()
|
hl.define_submap("notifications", function()
|
||||||
for i = 1, 10, 1 do
|
for i = 1, 10, 1 do
|
||||||
hl.bind(tostring(i % 10), hl.dsp.focus({ workspace = tostring(i) }))
|
hl.bind(tostring(i % 10), hl.dsp.focus({ workspace = tostring(i) }))
|
||||||
hl.bind("Shift + " .. tostring(i % 10), hl.dsp.window.move({ workspace = tostring(i), follow = 1 }))
|
hl.bind("SHIFT + " .. tostring(i % 10), hl.dsp.window.move({ workspace = tostring(i), follow = 1 }))
|
||||||
end
|
end
|
||||||
|
|
||||||
hl.bind("h", hl.dsp.focus({ direction = "l" }))
|
hl.bind("h", hl.dsp.focus({ direction = "l" }))
|
||||||
@@ -26,11 +26,11 @@ hl.define_submap("notifications", function()
|
|||||||
hl.bind("j", hl.dsp.focus({ direction = "d" }))
|
hl.bind("j", hl.dsp.focus({ direction = "d" }))
|
||||||
hl.bind("k", hl.dsp.focus({ direction = "u" }))
|
hl.bind("k", hl.dsp.focus({ direction = "u" }))
|
||||||
|
|
||||||
hl.bind("Shift + l", hl.dsp.window.move({ workspace = "+1", follow = 1 }))
|
hl.bind("SHIFT + l", hl.dsp.window.move({ workspace = "+1", follow = 1 }))
|
||||||
hl.bind("Shift + h", hl.dsp.window.move({ workspace = "-1", follow = 1 }))
|
hl.bind("SHIFT + h", hl.dsp.window.move({ workspace = "-1", follow = 1 }))
|
||||||
|
|
||||||
hl.bind("M", hl.dsp.workspace.toggle_special("main"))
|
hl.bind("M", hl.dsp.workspace.toggle_special("main"))
|
||||||
hl.bind("Shift + M", hl.dsp.window.move({ workspace = "special:main" }))
|
hl.bind("SHIFT + M", hl.dsp.window.move({ workspace = "special:main" }))
|
||||||
|
|
||||||
hl.bind("Escape", function()
|
hl.bind("Escape", function()
|
||||||
exit_submap()
|
exit_submap()
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
hl.config({
|
||||||
|
general = {
|
||||||
|
col = {
|
||||||
|
active_border = "rgba(ffaabbcc) rgba(ffaabbcc) rgba(ffaabbcc) 45deg",
|
||||||
|
inactive_border = "rgba(ffaabb33)",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
group = {
|
||||||
|
col = {
|
||||||
|
active_border = "rgba(ffaabb77)",
|
||||||
|
inactive_border = "rgba(ffaabb33)",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
decoration = {
|
||||||
|
shadow = {
|
||||||
|
color = "rgba(ffffff20)",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
hl.window_rule({
|
||||||
|
match = { pin = 1 },
|
||||||
|
border_color = "rgba(ffffffaa) rgba(ffffff77)",
|
||||||
|
})
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
--- @param swap_escape boolean
|
--- @param swap_escape boolean
|
||||||
return function(swap_escape)
|
return function(swap_escape)
|
||||||
hl.config({
|
hl.config({
|
||||||
inputs = {
|
input = {
|
||||||
kb_options = swap_escape and "caps:swapescape" or "",
|
-- kb_options = swap_escape and "caps:swapescape" or "",
|
||||||
kb_layout = "us",
|
kb_layout = "us",
|
||||||
kb_variant = "altgr-intl",
|
kb_variant = "altgr-intl",
|
||||||
natural_scroll = "true",
|
natural_scroll = true,
|
||||||
|
|
||||||
numlock_by_default = true,
|
numlock_by_default = true,
|
||||||
repeat_delay = 400,
|
repeat_delay = 400,
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ hl.config({
|
|||||||
allow_session_lock_restore = true,
|
allow_session_lock_restore = true,
|
||||||
},
|
},
|
||||||
dwindle = {
|
dwindle = {
|
||||||
pseudotile = true,
|
|
||||||
force_split = 2,
|
force_split = 2,
|
||||||
preserve_split = true,
|
preserve_split = true,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -48,23 +48,27 @@ hl.animation({
|
|||||||
hl.animation({
|
hl.animation({
|
||||||
leaf = "border",
|
leaf = "border",
|
||||||
enabled = true,
|
enabled = true,
|
||||||
|
bezier = "default",
|
||||||
speed = 8,
|
speed = 8,
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.animation({
|
hl.animation({
|
||||||
leaf = "fade",
|
leaf = "fade",
|
||||||
enabled = true,
|
enabled = true,
|
||||||
|
bezier = "default",
|
||||||
speed = 3,
|
speed = 3,
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.animation({
|
hl.animation({
|
||||||
leaf = "workspace",
|
leaf = "workspaces",
|
||||||
enabled = true,
|
enabled = true,
|
||||||
|
bezier = "default",
|
||||||
speed = 1,
|
speed = 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.animation({
|
hl.animation({
|
||||||
leaf = "specialWorkspace",
|
leaf = "specialWorkspace",
|
||||||
enabled = true,
|
enabled = true,
|
||||||
|
bezier = "default",
|
||||||
speed = 1,
|
speed = 1,
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -4,7 +4,3 @@ version_check = false
|
|||||||
[templates.hyprland]
|
[templates.hyprland]
|
||||||
input_path = '~/.config/matugen/templates/hyprland/colors.lua'
|
input_path = '~/.config/matugen/templates/hyprland/colors.lua'
|
||||||
output_path = '~/.config/hypr/hyprland/colors.lua'
|
output_path = '~/.config/hypr/hyprland/colors.lua'
|
||||||
|
|
||||||
[templates.hyprlock]
|
|
||||||
input_path = '~/.config/matugen/templates/hyprland/hyprlock-colors.conf'
|
|
||||||
output_path = '~/.config/hypr/hyprlock/colors.conf'
|
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ if decman.aur:
|
|||||||
if decman.pacman:
|
if decman.pacman:
|
||||||
decman.pacman.ignored_packages |= {"yay"}
|
decman.pacman.ignored_packages |= {"yay"}
|
||||||
|
|
||||||
user = "janis"
|
|
||||||
decman.modules += [
|
decman.modules += [
|
||||||
base.BasePackages(),
|
base.BasePackages(),
|
||||||
pipewire.Pipewire(),
|
pipewire.Pipewire(),
|
||||||
@@ -24,7 +23,7 @@ decman.modules += [
|
|||||||
login.LoginManager("desktop"),
|
login.LoginManager("desktop"),
|
||||||
shell.DesktopShell(),
|
shell.DesktopShell(),
|
||||||
neovim.Neovim(),
|
neovim.Neovim(),
|
||||||
latex.Latex(user),
|
latex.Latex(),
|
||||||
utilities.UtilPackages(),
|
utilities.UtilPackages(),
|
||||||
virtual_machines.VirtualMachines(user),
|
virtual_machines.VirtualMachines(),
|
||||||
]
|
]
|
||||||
|
|||||||
+9
-15
@@ -1,11 +1,12 @@
|
|||||||
import decman
|
import decman
|
||||||
from decman.plugins import pacman
|
from decman.plugins import pacman
|
||||||
|
|
||||||
|
import config
|
||||||
|
|
||||||
|
|
||||||
class Latex(decman.Module):
|
class Latex(decman.Module):
|
||||||
def __init__(self, user: str):
|
def __init__(self):
|
||||||
"""Base packages that should never be uninstalled"""
|
"""Base packages that should never be uninstalled"""
|
||||||
self._user = user
|
|
||||||
super().__init__("latex")
|
super().__init__("latex")
|
||||||
|
|
||||||
@pacman.packages
|
@pacman.packages
|
||||||
@@ -29,7 +30,7 @@ class Latex(decman.Module):
|
|||||||
"texlive-latex",
|
"texlive-latex",
|
||||||
"texlive-latexextra",
|
"texlive-latexextra",
|
||||||
"texlive-latexrecommended",
|
"texlive-latexrecommended",
|
||||||
"texlive-lualatex",
|
"texlive-luatex",
|
||||||
"texlive-mathscience",
|
"texlive-mathscience",
|
||||||
"texlive-metapost",
|
"texlive-metapost",
|
||||||
"texlive-music",
|
"texlive-music",
|
||||||
@@ -41,16 +42,9 @@ class Latex(decman.Module):
|
|||||||
"texlive-langgerman",
|
"texlive-langgerman",
|
||||||
}
|
}
|
||||||
|
|
||||||
def on_enable(self, store: decman.Store):
|
def files(self) -> dict[str, decman.File]:
|
||||||
out = decman.prg(["cd ~/projects/latex/"], user=self._user)
|
return {
|
||||||
if out == "":
|
f"/home/{config.user}.indentconfig.yaml": decman.File(
|
||||||
decman.prg(
|
source_file="./linters/indentconfig.yaml"
|
||||||
[
|
|
||||||
"cd",
|
|
||||||
"~/projects/",
|
|
||||||
"git",
|
|
||||||
"clone",
|
|
||||||
"https://git.janishutz.com/janishutz/latex",
|
|
||||||
],
|
|
||||||
user=self._user,
|
|
||||||
)
|
)
|
||||||
|
}
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ class Neovim(decman.Module):
|
|||||||
"lua-language-server",
|
"lua-language-server",
|
||||||
"tree-sitter",
|
"tree-sitter",
|
||||||
"tree-sitter-cli",
|
"tree-sitter-cli",
|
||||||
"shell-color-scripts-git",
|
|
||||||
"stylua",
|
"stylua",
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -24,5 +23,4 @@ class Neovim(decman.Module):
|
|||||||
|
|
||||||
@aur.packages
|
@aur.packages
|
||||||
def aurpkgs(self) -> set[str]:
|
def aurpkgs(self) -> set[str]:
|
||||||
# Consider switching to WiVRN
|
return {"shell-color-scripts-git", "nvimpager"}
|
||||||
return {"bs-manager-bin", "alvr-bin"}
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import decman
|
import decman
|
||||||
|
import config
|
||||||
from decman.plugins import pacman
|
from decman.plugins import pacman
|
||||||
|
|
||||||
|
|
||||||
@@ -13,23 +14,29 @@ class DevTools(decman.Module):
|
|||||||
"act",
|
"act",
|
||||||
"cronie",
|
"cronie",
|
||||||
"cloc",
|
"cloc",
|
||||||
|
"cmake",
|
||||||
|
"dart-sass",
|
||||||
"docker",
|
"docker",
|
||||||
"docker-buildx",
|
"docker-buildx",
|
||||||
"docker-compose",
|
"docker-compose",
|
||||||
"filezilla",
|
"filezilla",
|
||||||
"git-lfs",
|
"git-lfs",
|
||||||
"hugo",
|
"hugo",
|
||||||
|
"helm",
|
||||||
"kitty",
|
"kitty",
|
||||||
|
"kubectl",
|
||||||
"lazygit",
|
"lazygit",
|
||||||
"meld",
|
"meld",
|
||||||
|
"meson",
|
||||||
"minisign",
|
"minisign",
|
||||||
"python-argcomplete",
|
"python-argcomplete",
|
||||||
"python-black",
|
"python-black",
|
||||||
"python-build",
|
"python-build",
|
||||||
"python-colorama",
|
"python-colorama",
|
||||||
"python-install",
|
"python-installer",
|
||||||
"python-jsonschema",
|
"python-jsonschema",
|
||||||
"python-pip",
|
"python-pip",
|
||||||
|
"python-pyaml",
|
||||||
"python-numpy",
|
"python-numpy",
|
||||||
"python-scipy",
|
"python-scipy",
|
||||||
"python-sympy",
|
"python-sympy",
|
||||||
@@ -39,9 +46,6 @@ class DevTools(decman.Module):
|
|||||||
|
|
||||||
def directories(self) -> dict[str, decman.Directory]:
|
def directories(self) -> dict[str, decman.Directory]:
|
||||||
return {
|
return {
|
||||||
"~/.config/lazygit": decman.Directory("./config/lazygit"),
|
f"/home/{config.user}/.config/lazygit": decman.Directory("./config/lazygit", owner=config.user, group=config.user),
|
||||||
"~/.config/kitty": decman.Directory("./config/kitty"),
|
f"/home/{config.user}/.config/kitty": decman.Directory("./config/kitty", owner=config.user, group=config.user),
|
||||||
}
|
}
|
||||||
|
|
||||||
def files(self) -> dict[str, decman.File]:
|
|
||||||
return {"~/.indentconfig.yaml": decman.File("./linters/indentconfig.yaml")}
|
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ class Games(decman.Module):
|
|||||||
"gamemode",
|
"gamemode",
|
||||||
"gamescope",
|
"gamescope",
|
||||||
# "lib32-vulkan-radeon",
|
# "lib32-vulkan-radeon",
|
||||||
"lovr",
|
|
||||||
"obs-studio",
|
"obs-studio",
|
||||||
"obs-studio-plugin-browser",
|
"obs-studio-plugin-browser",
|
||||||
"prismlauncher",
|
"prismlauncher",
|
||||||
|
|||||||
@@ -1,23 +1,27 @@
|
|||||||
import decman
|
import decman
|
||||||
from decman.plugins import pacman
|
from decman.plugins import pacman
|
||||||
|
|
||||||
|
import config
|
||||||
|
|
||||||
|
|
||||||
class VirtualMachines(decman.Module):
|
class VirtualMachines(decman.Module):
|
||||||
def __init__(self, user: str):
|
def __init__(self):
|
||||||
"""Set up virtual machines"""
|
"""Set up virtual machines"""
|
||||||
self._user = user
|
|
||||||
super().__init__("virtualmachines")
|
super().__init__("virtualmachines")
|
||||||
|
|
||||||
@pacman.packages
|
@pacman.packages
|
||||||
def pkgs(self) -> set[str]:
|
def pkgs(self) -> set[str]:
|
||||||
return {
|
return {
|
||||||
"dnsmasq",
|
"dnsmasq",
|
||||||
"ebtables",
|
"libayatana-appindicator",
|
||||||
|
"libvirt-python",
|
||||||
|
"lvm2",
|
||||||
"qemu-base",
|
"qemu-base",
|
||||||
"vde2" "virt-manager",
|
"vde2",
|
||||||
|
"virt-manager",
|
||||||
"virt-viewer",
|
"virt-viewer",
|
||||||
}
|
}
|
||||||
|
|
||||||
def on_enable(self, store: decman.Store):
|
def on_enable(self, store: decman.Store):
|
||||||
# TODO: Everywhere, make user configurable
|
# TODO: Everywhere, make user configurable
|
||||||
decman.prg(["usermod", "-G", "libvirt", "-a", self._user])
|
decman.prg(["usermod", "-G", "libvirt", "-a", config.user])
|
||||||
|
|||||||
@@ -12,20 +12,33 @@ class BasePackages(decman.Module):
|
|||||||
return {
|
return {
|
||||||
"base",
|
"base",
|
||||||
"base-devel",
|
"base-devel",
|
||||||
"cifs",
|
"cifs-utils",
|
||||||
"cups",
|
"cups",
|
||||||
|
"dosfstools",
|
||||||
"efibootmgr",
|
"efibootmgr",
|
||||||
|
"exfatprogs",
|
||||||
"git",
|
"git",
|
||||||
"grub",
|
"grub",
|
||||||
|
"gsl",
|
||||||
|
"libisoburn",
|
||||||
|
"libguestfs",
|
||||||
|
"libmicrohttpd",
|
||||||
"linux",
|
"linux",
|
||||||
"linux-firmware",
|
"linux-firmware",
|
||||||
"linux-headers",
|
"linux-headers",
|
||||||
|
"lzop",
|
||||||
"mesa",
|
"mesa",
|
||||||
"mesa-utils",
|
"mesa-utils",
|
||||||
|
"mtools",
|
||||||
|
"ntfs-3g",
|
||||||
|
"ntfsprogs",
|
||||||
"networkmanager",
|
"networkmanager",
|
||||||
"paccache",
|
"pacman-contrib",
|
||||||
"plymouth",
|
"plymouth",
|
||||||
"reflector",
|
"reflector",
|
||||||
|
"samba",
|
||||||
|
"sdl12-compat",
|
||||||
|
"sdl2-compat",
|
||||||
"sudo",
|
"sudo",
|
||||||
"systemd-resolvconf",
|
"systemd-resolvconf",
|
||||||
"trash-cli",
|
"trash-cli",
|
||||||
|
|||||||
@@ -10,10 +10,11 @@ class Pipewire(decman.Module):
|
|||||||
@pacman.packages
|
@pacman.packages
|
||||||
def pkgs(self) -> set[str]:
|
def pkgs(self) -> set[str]:
|
||||||
return {
|
return {
|
||||||
|
"gst-plugin-pipewire",
|
||||||
|
"pavucontrol",
|
||||||
"pipewire",
|
"pipewire",
|
||||||
"pipewire-alsa",
|
"pipewire-alsa",
|
||||||
"pipewire-pulse",
|
"pipewire-pulse",
|
||||||
"pipewire-jack",
|
"pipewire-jack",
|
||||||
"wireplumber",
|
"wireplumber",
|
||||||
"pavucontrol",
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
import decman
|
import decman
|
||||||
from decman.plugins import pacman, aur
|
from decman.plugins import pacman, aur
|
||||||
|
|
||||||
|
import config
|
||||||
|
|
||||||
|
|
||||||
class FileManager(decman.Module):
|
class FileManager(decman.Module):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@@ -12,7 +14,10 @@ class FileManager(decman.Module):
|
|||||||
return {
|
return {
|
||||||
"ifuse",
|
"ifuse",
|
||||||
"libimobiledevice",
|
"libimobiledevice",
|
||||||
|
"fuse2",
|
||||||
|
"movit",
|
||||||
"ouch",
|
"ouch",
|
||||||
|
"resvg",
|
||||||
"yazi",
|
"yazi",
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -22,11 +27,11 @@ class FileManager(decman.Module):
|
|||||||
|
|
||||||
def directories(self) -> dict[str, decman.Directory]:
|
def directories(self) -> dict[str, decman.Directory]:
|
||||||
return {
|
return {
|
||||||
"~/.config/xdg-desktop-portal": decman.Directory(
|
f"/home/{config.user}/.config/xdg-desktop-portal": decman.Directory(
|
||||||
"./config/xdg-desktop-portal"
|
"./config/xdg-desktop-portal", owner=config.user, group=config.user
|
||||||
),
|
),
|
||||||
"~/.config/xdg-desktop-portal-termfilechooser": decman.Directory(
|
f"/home/{config.user}/.config/xdg-desktop-portal-termfilechooser": decman.Directory(
|
||||||
"./config/xdg-desktop-portal-termfilechooser"
|
"./config/xdg-desktop-portal-termfilechooser", owner=config.user, group=config.user
|
||||||
),
|
),
|
||||||
"~/.config/yazi": decman.Directory("./config/yazi"),
|
f"/home/{config.user}/.config/yazi": decman.Directory("./config/yazi", owner=config.user, group=config.user),
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
import decman
|
import decman
|
||||||
from decman.plugins import pacman
|
from decman.plugins import pacman
|
||||||
|
|
||||||
|
import config
|
||||||
|
|
||||||
|
|
||||||
class Hyprland(decman.Module):
|
class Hyprland(decman.Module):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@@ -10,22 +12,29 @@ class Hyprland(decman.Module):
|
|||||||
@pacman.packages
|
@pacman.packages
|
||||||
def pkgs(self) -> set[str]:
|
def pkgs(self) -> set[str]:
|
||||||
return {
|
return {
|
||||||
|
"cliphist",
|
||||||
|
# "grimblast",
|
||||||
"hyprland",
|
"hyprland",
|
||||||
"hyprlock",
|
"hyprlock",
|
||||||
"hypridle",
|
"hypridle",
|
||||||
"hyprshutdown",
|
"hyprshutdown",
|
||||||
"grimblast",
|
|
||||||
"xdg-desktop-portal-hyprland",
|
|
||||||
"hyprpolkitagent",
|
|
||||||
"hyprpaper",
|
|
||||||
"wl-clipboard",
|
|
||||||
"cliphist",
|
|
||||||
"hyprpwcenter",
|
"hyprpwcenter",
|
||||||
"hyprtoolkit",
|
"hyprtoolkit",
|
||||||
|
"hyprpolkitagent",
|
||||||
|
"hyprpaper",
|
||||||
|
"libappindicator",
|
||||||
|
"rtkit",
|
||||||
|
"wl-clipboard",
|
||||||
|
"wev",
|
||||||
|
"xdg-desktop-portal-hyprland",
|
||||||
}
|
}
|
||||||
|
|
||||||
def directories(self) -> dict[str, decman.Directory]:
|
def directories(self) -> dict[str, decman.Directory]:
|
||||||
return {"~/.config/hypr": decman.Directory("./config/hypr")}
|
return {
|
||||||
|
f"/home/{config.user}/.config/hypr": decman.Directory(
|
||||||
|
"./config/hypr", owner=config.user, group=config.user
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
def on_change(self, store: decman.Store):
|
def on_change(self, store: decman.Store):
|
||||||
return super().on_change(store)
|
return super().on_change(store)
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
import decman
|
import decman
|
||||||
from decman.plugins import pacman
|
from decman.plugins import pacman
|
||||||
|
|
||||||
|
import config
|
||||||
|
|
||||||
|
|
||||||
class DesktopShell(decman.Module):
|
class DesktopShell(decman.Module):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@@ -10,8 +12,10 @@ class DesktopShell(decman.Module):
|
|||||||
|
|
||||||
@pacman.packages
|
@pacman.packages
|
||||||
def pkgs(self) -> set[str]:
|
def pkgs(self) -> set[str]:
|
||||||
return {"dms-shell", "cava", "matugen", "papirus-icon-theme", "adw-gtk-theme"}
|
return {"dms-shell", "cava", "matugen", "papirus-icon-theme", "adw-gtk-theme", "power-profiles-daemon", "qt6ct"}
|
||||||
|
|
||||||
# TODO: Copy the config of dms, once done
|
# TODO: Copy the config of dms, once done
|
||||||
def directories(self) -> dict[str, decman.Directory]:
|
def directories(self) -> dict[str, decman.Directory]:
|
||||||
return { "~/.config/matugen": decman.Directory("./config/matugen") }
|
return {
|
||||||
|
f"/home/{config.user}/.config/matugen": decman.Directory("./config/matugen", owner=config.user, group=config.user)
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
import decman
|
import decman
|
||||||
from decman.plugins import pacman, aur
|
from decman.plugins import pacman, aur
|
||||||
|
|
||||||
|
import config
|
||||||
|
|
||||||
|
|
||||||
class UtilPackages(decman.Module):
|
class UtilPackages(decman.Module):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@@ -11,9 +13,9 @@ class UtilPackages(decman.Module):
|
|||||||
def pkgs(self) -> set[str]:
|
def pkgs(self) -> set[str]:
|
||||||
return {
|
return {
|
||||||
"bashtop",
|
"bashtop",
|
||||||
|
"bind",
|
||||||
"bluez",
|
"bluez",
|
||||||
"clamav",
|
"clamav",
|
||||||
"dig",
|
|
||||||
"evince",
|
"evince",
|
||||||
"fastfetch",
|
"fastfetch",
|
||||||
"fd",
|
"fd",
|
||||||
@@ -23,9 +25,12 @@ class UtilPackages(decman.Module):
|
|||||||
"fzf",
|
"fzf",
|
||||||
"gdu",
|
"gdu",
|
||||||
"gimp",
|
"gimp",
|
||||||
|
"go",
|
||||||
|
"gnome-disk-utility",
|
||||||
"gwenview",
|
"gwenview",
|
||||||
"handbrake",
|
"handbrake",
|
||||||
"iptables",
|
"iptables",
|
||||||
|
"libdvdcss",
|
||||||
"man-pages",
|
"man-pages",
|
||||||
"man-db",
|
"man-db",
|
||||||
"mpv",
|
"mpv",
|
||||||
@@ -59,12 +64,14 @@ class UtilPackages(decman.Module):
|
|||||||
"uxplay",
|
"uxplay",
|
||||||
"git-credential-manager-bin",
|
"git-credential-manager-bin",
|
||||||
"gradia",
|
"gradia",
|
||||||
"parabolic"
|
"parabolic",
|
||||||
}
|
}
|
||||||
|
|
||||||
def directories(self) -> dict[str, decman.Directory]:
|
def directories(self) -> dict[str, decman.Directory]:
|
||||||
return {
|
return {
|
||||||
"~/.config/fish": decman.Directory("./config/fish"),
|
f"/home/{config.user}/.config/fish": decman.Directory("./config/fish", owner=config.user, group=config.user),
|
||||||
"~/.config/fastfetch": decman.Directory("./config/fastfetch"),
|
f"/home/{config.user}/.config/fastfetch": decman.Directory(
|
||||||
"~/.config/mpv": decman.Directory("./config/mpv"),
|
"./config/fastfetch", owner=config.user, group=config.user
|
||||||
|
),
|
||||||
|
f"/home/{config.user}/.config/mpv": decman.Directory("./config/mpv", owner=config.user, group=config.user),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user