Compare commits
No commits in common. "9c7adf7620c348fb6b2159cffe072219ad4ec83e" and "c279e58c69f54b4f3f1ca6a3e1fe3be418b28f0b" have entirely different histories.
9c7adf7620
...
c279e58c69
@ -231,8 +231,6 @@ in
|
|||||||
# "$mod, S, togglespecialworkspace, magic"
|
# "$mod, S, togglespecialworkspace, magic"
|
||||||
# "$mod SHIFT, S, movetoworkspace, special:magic"
|
# "$mod SHIFT, S, movetoworkspace, special:magic"
|
||||||
"$mod SHIFT, S, exec, ${grimblast} copy area"
|
"$mod SHIFT, S, exec, ${grimblast} copy area"
|
||||||
"$mod CONTROL SHIFT, S, exec, ${grimblast} copy output"
|
|
||||||
|
|
||||||
|
|
||||||
# Scroll through existing workspaces with mod + scroll
|
# Scroll through existing workspaces with mod + scroll
|
||||||
"$mod, mouse_down, workspace, e+1"
|
"$mod, mouse_down, workspace, e+1"
|
||||||
|
@ -1,37 +0,0 @@
|
|||||||
{ lib,
|
|
||||||
atool,
|
|
||||||
makeBinaryWrapper,
|
|
||||||
stdenvNoCC,
|
|
||||||
lzip,
|
|
||||||
plzip,
|
|
||||||
lzop,
|
|
||||||
lzma,
|
|
||||||
zip,
|
|
||||||
unzip,
|
|
||||||
arj,
|
|
||||||
rpm,
|
|
||||||
cpio,
|
|
||||||
p7zip,
|
|
||||||
unrar,
|
|
||||||
lha,
|
|
||||||
unfree ? false }:
|
|
||||||
let
|
|
||||||
wrappedPath = lib.makeBinPath ([lzip plzip lzop lzma zip unzip arj rpm cpio p7zip] ++ lib.optionals unfree [unrar lha]);
|
|
||||||
in
|
|
||||||
stdenvNoCC.mkDerivation {
|
|
||||||
name = "atool-wrapped";
|
|
||||||
phases = [ "installPhase" ];
|
|
||||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
|
||||||
src = ./.;
|
|
||||||
installPhase = ''
|
|
||||||
# symlinking them doesn't work for some reason so i have to build multiple
|
|
||||||
for i in atool acat adiff als apack arepack aunpack ; do
|
|
||||||
makeBinaryWrapper "${atool}/bin/$i" "$out/bin/$i" \
|
|
||||||
--inherit-argv0 --prefix PATH : "${wrappedPath}"
|
|
||||||
done
|
|
||||||
|
|
||||||
# i have no idea if this is the "right" way to do this
|
|
||||||
mkdir -p "$out/share"
|
|
||||||
ln -s "${atool}/share/man" "$out/share/man"
|
|
||||||
'';
|
|
||||||
}
|
|
@ -1,16 +0,0 @@
|
|||||||
{ pkgs ? import <nixpkgs> {} }:
|
|
||||||
let
|
|
||||||
rofi-dmenu-wrapped = pkgs.writeShellScript "rofi-dmenu" ''
|
|
||||||
exec "${pkgs.rofi-wayland}/bin/rofi" -dmenu "$@"
|
|
||||||
'';
|
|
||||||
in
|
|
||||||
pkgs.mkShell {
|
|
||||||
shellHook = ''
|
|
||||||
export COMMA_PICKER="${rofi-dmenu-wrapped}"
|
|
||||||
'';
|
|
||||||
nativeBuildInputs = with pkgs; [
|
|
||||||
rofi-wayland
|
|
||||||
libnotify
|
|
||||||
comma
|
|
||||||
];
|
|
||||||
}
|
|
@ -6,5 +6,4 @@ in
|
|||||||
{
|
{
|
||||||
google-fonts = callPackage ./google-fonts { };
|
google-fonts = callPackage ./google-fonts { };
|
||||||
wm-helpers = callPackage ./wm-helpers { };
|
wm-helpers = callPackage ./wm-helpers { };
|
||||||
atool = callPackage ./atool-wrapped { };
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, pkgs, options, inputs, outputs, ...}@args:
|
{ config, lib, pkgs, options, inputs, ...}@args:
|
||||||
let
|
let
|
||||||
cfg = config.nixfiles.profile.base;
|
cfg = config.nixfiles.profile.base;
|
||||||
in
|
in
|
||||||
@ -17,7 +17,7 @@ in
|
|||||||
# Enable system Nix configuration
|
# Enable system Nix configuration
|
||||||
nix.enable = lib.mkDefault true;
|
nix.enable = lib.mkDefault true;
|
||||||
};
|
};
|
||||||
nixfiles.binfmt.enable = lib.mkDefault true;
|
nixfiles.binfmt.enable = true;
|
||||||
|
|
||||||
# locale settings
|
# locale settings
|
||||||
i18n = {
|
i18n = {
|
||||||
@ -84,7 +84,6 @@ in
|
|||||||
|
|
||||||
# etc
|
# etc
|
||||||
neofetch
|
neofetch
|
||||||
outputs.packages."${pkgs.system}".atool
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.neovim.defaultEditor = lib.mkDefault true;
|
programs.neovim.defaultEditor = lib.mkDefault true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user