moved capibara to sway again

feat/kile-v2
Ricard Illa 2022-05-07 15:45:08 +02:00
parent 906ca3bf02
commit 9cfe4734c9
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
3 changed files with 24 additions and 19 deletions

View File

@ -2,6 +2,6 @@
{
imports = [ ./nixos.nix ];
# programs.alacritty.settings.font.size = 9;
programs.alacritty.settings.font.size = 7;
programs.alacritty.settings.font.size = 9;
# programs.alacritty.settings.font.size = 7;
}

View File

@ -2,6 +2,6 @@
{
imports =
# [ ./nixos-common.nix ./desktop-sway ./alacritty/capibara.nix ./theming ];
[ ./nixos-common.nix ./desktop-xmonad/capibara.nix ./alacritty/capibara.nix ./theming ];
[ ./nixos-common.nix ./desktop-sway ./alacritty/capibara.nix ./theming ];
# [ ./nixos-common.nix ./desktop-xmonad/capibara.nix ./alacritty/capibara.nix ./theming ];
}

View File

@ -7,23 +7,23 @@ let
playerctl = "${pkgs.playerctl}/bin/playerctl";
wallpapers = "${config.home.homeDirectory}/Images/wallpapers/enabled";
# todo: do it properly like in https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/security/pass/rofi-pass.nix
tessenSrc = builtins.fetchTarball {
url =
"https://github.com/ayushnix/tessen/releases/download/v1.3.1/tessen-1.3.1.tar.gz";
};
# # todo: do it properly like in https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/security/pass/rofi-pass.nix
# tessenSrc = builtins.fetchTarball {
# url =
# "https://github.com/ayushnix/tessen/releases/download/v1.3.1/tessen-1.3.1.tar.gz";
# };
tessen = pkgs.runCommandLocal "tessen" {
nativeBuildInputs = [ pkgs.makeWrapper ];
} ''
install -m755 ${tessenSrc}/tessen -D $out/bin/tessen
patchShebangs $out/bin/tessen
wrapProgram $out/bin/tessen \
--prefix PATH: ${pkgs.lib.makeBinPath [ pkgs.bash ]}
'';
# tessen = pkgs.runCommandLocal "tessen" {
# nativeBuildInputs = [ pkgs.makeWrapper ];
# } ''
# install -m755 ${tessenSrc}/tessen -D $out/bin/tessen
# patchShebangs $out/bin/tessen
# wrapProgram $out/bin/tessen \
# --prefix PATH: ${pkgs.lib.makeBinPath [ pkgs.bash ]}
# '';
in {
home.packages = [ tessen ];
# home.packages = [ tessen ];
wayland.windowManager.sway = {
enable = true;
wrapperFeatures.gtk = true;
@ -119,7 +119,7 @@ in {
"${cfg.modifier}+space" = "layout toggle all";
"${cfg.modifier}+Shift+space" = "layout default";
"${cfg.modifier}+p" = "exec ${tessen}/bin/tessen";
# "${cfg.modifier}+p" = "exec ${tessen}/bin/tessen";
"XF86AudioRaiseVolume" =
"exec ${pactl} set-sink-volume @DEFAULT_SINK@ +5%";
@ -162,6 +162,11 @@ in {
bars = [ ];
startup = [{
command = "${pkgs.autotiling}/bin/autotiling";
always = true;
}];
};
};
}