mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 02:49:41 +00:00
Add qalculate-gtk
This commit is contained in:
parent
15ce6ea7d0
commit
75ed5ed91c
|
@ -9,5 +9,6 @@ _: {
|
||||||
./qimgv.nix
|
./qimgv.nix
|
||||||
./stremio.nix
|
./stremio.nix
|
||||||
./qbittorrent.nix
|
./qbittorrent.nix
|
||||||
|
./qalculate-gtk.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
14
home/programs/graphical/apps/qalculate-gtk.nix
Normal file
14
home/programs/graphical/apps/qalculate-gtk.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
osConfig,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf;
|
||||||
|
|
||||||
|
cfg = osConfig.myOptions.home-manager.programs.applications.qalculate-gtk;
|
||||||
|
in {
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
home.packages = with pkgs; [ qalculate-gtk ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -32,7 +32,8 @@ in {
|
||||||
"SUPER, R, exec, ${cfgPreferences.launcher.command}"
|
"SUPER, R, exec, ${cfgPreferences.launcher.command}"
|
||||||
"SUPER, B, exec, ${cfgPreferences.browser.command}"
|
"SUPER, B, exec, ${cfgPreferences.browser.command}"
|
||||||
"SUPER, X, exec, ${cfgPreferences.fileManager.command}"
|
"SUPER, X, exec, ${cfgPreferences.fileManager.command}"
|
||||||
# TODO: Add qalculate
|
"SUPER, C, exec, qalculate-gtk"
|
||||||
|
", XF86Calculator, exec, qalculate-gtk"
|
||||||
|
|
||||||
#
|
#
|
||||||
# DE/WM Control programs
|
# DE/WM Control programs
|
||||||
|
|
|
@ -93,6 +93,7 @@
|
||||||
".cache/walker/history.gob"
|
".cache/walker/history.gob"
|
||||||
".local/share/zsh/zsh_history"
|
".local/share/zsh/zsh_history"
|
||||||
".config/pcmanfm-qt/default/recent-files.conf"
|
".config/pcmanfm-qt/default/recent-files.conf"
|
||||||
|
".config/qalculate/qalculate-gtk.cfg"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -195,6 +196,7 @@
|
||||||
homeServer = "https://matrix.envs.net";
|
homeServer = "https://matrix.envs.net";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
qalculate-gtk.enable = true;
|
||||||
};
|
};
|
||||||
file-managers = {
|
file-managers = {
|
||||||
pcmanfm-qt.enable = true;
|
pcmanfm-qt.enable = true;
|
||||||
|
|
|
@ -46,6 +46,7 @@ in
|
||||||
qbittorrent.enable = mkEnableOption "Qbittorrent (Free software BitTorrent client)";
|
qbittorrent.enable = mkEnableOption "Qbittorrent (Free software BitTorrent client)";
|
||||||
obs.enable = mkEnableOption "OBS (Free and oepn source software for video recording and live streaming)";
|
obs.enable = mkEnableOption "OBS (Free and oepn source software for video recording and live streaming)";
|
||||||
mpv.enable = mkEnableOption "MPV (General-purpose media player)";
|
mpv.enable = mkEnableOption "MPV (General-purpose media player)";
|
||||||
|
qalculate-gtk.enable = mkEnableOption "qalculate-gtk (The ultimate desktop calculator)";
|
||||||
};
|
};
|
||||||
|
|
||||||
file-managers = {
|
file-managers = {
|
||||||
|
|
Loading…
Reference in a new issue