mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 17:24:35 +00:00
Add qalculate-gtk
This commit is contained in:
parent
15ce6ea7d0
commit
75ed5ed91c
|
@ -9,5 +9,6 @@ _: {
|
|||
./qimgv.nix
|
||||
./stremio.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, B, exec, ${cfgPreferences.browser.command}"
|
||||
"SUPER, X, exec, ${cfgPreferences.fileManager.command}"
|
||||
# TODO: Add qalculate
|
||||
"SUPER, C, exec, qalculate-gtk"
|
||||
", XF86Calculator, exec, qalculate-gtk"
|
||||
|
||||
#
|
||||
# DE/WM Control programs
|
||||
|
|
|
@ -93,6 +93,7 @@
|
|||
".cache/walker/history.gob"
|
||||
".local/share/zsh/zsh_history"
|
||||
".config/pcmanfm-qt/default/recent-files.conf"
|
||||
".config/qalculate/qalculate-gtk.cfg"
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -195,6 +196,7 @@
|
|||
homeServer = "https://matrix.envs.net";
|
||||
};
|
||||
};
|
||||
qalculate-gtk.enable = true;
|
||||
};
|
||||
file-managers = {
|
||||
pcmanfm-qt.enable = true;
|
||||
|
|
|
@ -46,6 +46,7 @@ in
|
|||
qbittorrent.enable = mkEnableOption "Qbittorrent (Free software BitTorrent client)";
|
||||
obs.enable = mkEnableOption "OBS (Free and oepn source software for video recording and live streaming)";
|
||||
mpv.enable = mkEnableOption "MPV (General-purpose media player)";
|
||||
qalculate-gtk.enable = mkEnableOption "qalculate-gtk (The ultimate desktop calculator)";
|
||||
};
|
||||
|
||||
file-managers = {
|
||||
|
|
Loading…
Reference in a new issue