diff --git a/config/clipboard.rasi b/config/clipboard.rasi deleted file mode 100644 index 88fd687..0000000 --- a/config/clipboard.rasi +++ /dev/null @@ -1,121 +0,0 @@ -// Config // -configuration { - modi: "drun"; - show-icons: false; -} - -* { - main-bg : #11111be6; - main-fg : #cdd6f4ff; - main-br : #cba6f7ff; - main-ex : #f5e0dcff; - select-bg : #b4befeff; - select-fg : #11111bff; - separatorcolor : transparent; - border-color : transparent; - } - -// Main // -window { - width: 23em; - height: 30em; - transparency: "real"; - fullscreen: false; - enabled: true; - cursor: "default"; - spacing: 0em; - padding: 0em; - border-color: @main-br; - background-color: @main-bg; -} -mainbox { - enabled: true; - spacing: 0em; - padding: 0.5em; - orientation: vertical; - children: [ "wallbox" , "listbox" ]; - background-color: transparent; -} -wallbox { - spacing: 0em; - padding: 0em; - expand: false; - orientation: horizontal; - background-color: transparent; - background-image: url("~/.dotfiles/config/backgrounds/aurora_borealis.png", width); - children: [ "wallframe" , "inputbar" ]; -} -wallframe { - width: 5em; - spacing: 0em; - padding: 0em; - expand: false; - background-color: @main-bg; - background-image: url("~/.dotfiles/config/backgrounds/aurora_borealis.png", height); -} - - -// Inputs // -inputbar { - enabled: true; - padding: 0em; - children: [ "entry" ]; - background-color: @main-bg; - expand: true; -} -entry { - enabled: true; - padding: 1.8em; - text-color: @main-fg; - background-color: transparent; -} - - -// Lists // -listbox { - spacing: 0em; - padding: 0em; - orientation: vertical; - children: [ "dummy" , "listview" , "dummy" ]; - background-color: transparent; -} -listview { - enabled: true; - padding: 0.5em; - columns: 1; - lines: 11; - cycle: true; - fixed-height: true; - fixed-columns: false; - expand: false; - cursor: "default"; - background-color: transparent; - text-color: @main-fg; -} -dummy { - spacing: 0em; - padding: 0em; - background-color: transparent; -} - - -// Elements // -element { - enabled: true; - padding: 0.5em; - cursor: pointer; - background-color: transparent; - text-color: @main-fg; -} -element selected.normal { - background-color: @select-bg; - text-color: @select-fg; -} -element-text { - vertical-align: 0.0; - horizontal-align: 0.0; - cursor: inherit; - background-color: transparent; - text-color: inherit; -} - diff --git a/nixos/home/apps/terminal_tools.nix b/nixos/home/apps/terminal_tools.nix index 105f2fd..1aca801 100644 --- a/nixos/home/apps/terminal_tools.nix +++ b/nixos/home/apps/terminal_tools.nix @@ -10,21 +10,28 @@ }; config = lib.mkIf config.app_list.terminal_tools.enable { - home.packages = with pkgs; [ - btop - cmatrix - entr - figlet - jp2a - yt-dlp - #nvtopPackages.full - wget - curl - fzf - tldr - ranger - unzip - ]; + home.packages = with pkgs; + [ + btop + cmatrix + entr + figlet + jp2a + yt-dlp + wget + curl + fzf + tldr + ranger + unzip + ] + ++ ( + if pkgs.system == "x86_64-linux" + then [ + nvtopPackages.full + ] + else [] + ); nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ diff --git a/nixos/home/packages/programming/git.nix b/nixos/home/packages/programming/git.nix index 87b18c7..7b730f8 100644 --- a/nixos/home/packages/programming/git.nix +++ b/nixos/home/packages/programming/git.nix @@ -16,15 +16,20 @@ userEmail = "kohout.fi.2023@skola.ssps.cz"; }; - home.packages = with pkgs; [ - git - github-cli - #gitkraken - ]; + home.packages = with pkgs; + [ + git + github-cli + ] + ++ ( + if pkgs.system == "x86_64-linux" + then [gitkraken] + else [] + ); - nixpkgs.config.allowUnfreePredicate = pkg: - builtins.elem (lib.getName pkg) [ - "gitkraken" - ]; + nixpkgs.config.allowUnfreePredicate = pkg: + builtins.elem (lib.getName pkg) [ + "gitkraken" + ]; }; }