mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 12:40:42 +00:00
Add preference options
This commit is contained in:
parent
32bebe0adc
commit
15ce6ea7d0
6 changed files with 228 additions and 212 deletions
|
@ -7,6 +7,7 @@
|
|||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.file-managers.pcmanfm-qt;
|
||||
cfgPreferences = osConfig.myOptions.home-manager.preferences;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ lxqt.pcmanfm-qt ];
|
||||
|
@ -96,14 +97,14 @@ in {
|
|||
};
|
||||
|
||||
System = {
|
||||
Archiver = cfg.archiverCmd;
|
||||
Archiver = cfgPreferences.archiveManager.command;
|
||||
FallbackIconThemeName = "oxygen";
|
||||
OnlyUserTemplates = false;
|
||||
SIUnit = false;
|
||||
SuCommand = "${pkgs.lxqt.lxqt-sudo}/bin/lxqt-sudo %s";
|
||||
TemplateRunApp = false;
|
||||
TemplateTypeOnce = false;
|
||||
Terminal = cfg.terminalCmd;
|
||||
Terminal = cfgPreferences.terminalEmulator.command;
|
||||
};
|
||||
|
||||
Thumbnail = {
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{ config, ... }: {
|
||||
{ config, osConfig, ... }: let
|
||||
cfgPreferences = osConfig.myOptions.home-manager.preferences;
|
||||
in {
|
||||
wayland.windowManager.hyprland = {
|
||||
settings = {
|
||||
"$MOUSE_LMB" = "mouse:272";
|
||||
|
@ -26,14 +28,16 @@
|
|||
#
|
||||
# Programs
|
||||
#
|
||||
"SUPER, Return, exec, kitty"
|
||||
"SUPER, R, exec, walker"
|
||||
# TODO: requires programs
|
||||
"SUPER, Return, exec, ${cfgPreferences.terminalEmulator.command}"
|
||||
"SUPER, R, exec, ${cfgPreferences.launcher.command}"
|
||||
"SUPER, B, exec, ${cfgPreferences.browser.command}"
|
||||
"SUPER, X, exec, ${cfgPreferences.fileManager.command}"
|
||||
# TODO: Add qalculate
|
||||
|
||||
#
|
||||
# DE/WM Control programs
|
||||
#
|
||||
# TODO: Requires programs
|
||||
# TODO: Add menuquit
|
||||
"SUPER_SHIFT, L, exec, wlogout -p layer-shell"
|
||||
"SUPER_CTRL, L, exec, loginctl lock-session"
|
||||
"SUPER_SHIFT, T, exec, toggle-idle"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue