moved capibara to sway again
parent
906ca3bf02
commit
9cfe4734c9
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ./nixos.nix ];
|
imports = [ ./nixos.nix ];
|
||||||
# programs.alacritty.settings.font.size = 9;
|
programs.alacritty.settings.font.size = 9;
|
||||||
programs.alacritty.settings.font.size = 7;
|
# programs.alacritty.settings.font.size = 7;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
# [ ./nixos-common.nix ./desktop-sway ./alacritty/capibara.nix ./theming ];
|
[ ./nixos-common.nix ./desktop-sway ./alacritty/capibara.nix ./theming ];
|
||||||
[ ./nixos-common.nix ./desktop-xmonad/capibara.nix ./alacritty/capibara.nix ./theming ];
|
# [ ./nixos-common.nix ./desktop-xmonad/capibara.nix ./alacritty/capibara.nix ./theming ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,23 +7,23 @@ let
|
||||||
playerctl = "${pkgs.playerctl}/bin/playerctl";
|
playerctl = "${pkgs.playerctl}/bin/playerctl";
|
||||||
wallpapers = "${config.home.homeDirectory}/Images/wallpapers/enabled";
|
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
|
# # todo: do it properly like in https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/security/pass/rofi-pass.nix
|
||||||
tessenSrc = builtins.fetchTarball {
|
# tessenSrc = builtins.fetchTarball {
|
||||||
url =
|
# url =
|
||||||
"https://github.com/ayushnix/tessen/releases/download/v1.3.1/tessen-1.3.1.tar.gz";
|
# "https://github.com/ayushnix/tessen/releases/download/v1.3.1/tessen-1.3.1.tar.gz";
|
||||||
};
|
# };
|
||||||
|
|
||||||
tessen = pkgs.runCommandLocal "tessen" {
|
# tessen = pkgs.runCommandLocal "tessen" {
|
||||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
# nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
} ''
|
# } ''
|
||||||
install -m755 ${tessenSrc}/tessen -D $out/bin/tessen
|
# install -m755 ${tessenSrc}/tessen -D $out/bin/tessen
|
||||||
patchShebangs $out/bin/tessen
|
# patchShebangs $out/bin/tessen
|
||||||
wrapProgram $out/bin/tessen \
|
# wrapProgram $out/bin/tessen \
|
||||||
--prefix PATH: ${pkgs.lib.makeBinPath [ pkgs.bash ]}
|
# --prefix PATH: ${pkgs.lib.makeBinPath [ pkgs.bash ]}
|
||||||
'';
|
# '';
|
||||||
|
|
||||||
in {
|
in {
|
||||||
home.packages = [ tessen ];
|
# home.packages = [ tessen ];
|
||||||
wayland.windowManager.sway = {
|
wayland.windowManager.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wrapperFeatures.gtk = true;
|
wrapperFeatures.gtk = true;
|
||||||
|
@ -119,7 +119,7 @@ in {
|
||||||
"${cfg.modifier}+space" = "layout toggle all";
|
"${cfg.modifier}+space" = "layout toggle all";
|
||||||
"${cfg.modifier}+Shift+space" = "layout default";
|
"${cfg.modifier}+Shift+space" = "layout default";
|
||||||
|
|
||||||
"${cfg.modifier}+p" = "exec ${tessen}/bin/tessen";
|
# "${cfg.modifier}+p" = "exec ${tessen}/bin/tessen";
|
||||||
|
|
||||||
"XF86AudioRaiseVolume" =
|
"XF86AudioRaiseVolume" =
|
||||||
"exec ${pactl} set-sink-volume @DEFAULT_SINK@ +5%";
|
"exec ${pactl} set-sink-volume @DEFAULT_SINK@ +5%";
|
||||||
|
@ -162,6 +162,11 @@ in {
|
||||||
|
|
||||||
bars = [ ];
|
bars = [ ];
|
||||||
|
|
||||||
|
startup = [{
|
||||||
|
command = "${pkgs.autotiling}/bin/autotiling";
|
||||||
|
always = true;
|
||||||
|
}];
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue