Add qalculate-gtk

This commit is contained in:
ItsDrike 2024-06-24 21:33:45 +02:00
parent 15ce6ea7d0
commit 75ed5ed91c
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
5 changed files with 20 additions and 1 deletions

View file

@ -9,5 +9,6 @@ _: {
./qimgv.nix ./qimgv.nix
./stremio.nix ./stremio.nix
./qbittorrent.nix ./qbittorrent.nix
./qalculate-gtk.nix
]; ];
} }

View 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 ];
};
}

View file

@ -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

View file

@ -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;

View file

@ -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 = {