Compare commits

..

No commits in common. "9c7adf7620c348fb6b2159cffe072219ad4ec83e" and "c279e58c69f54b4f3f1ca6a3e1fe3be418b28f0b" have entirely different histories.

5 changed files with 2 additions and 59 deletions

View File

@ -231,8 +231,6 @@ in
# "$mod, S, togglespecialworkspace, magic"
# "$mod SHIFT, S, movetoworkspace, special:magic"
"$mod SHIFT, S, exec, ${grimblast} copy area"
"$mod CONTROL SHIFT, S, exec, ${grimblast} copy output"
# Scroll through existing workspaces with mod + scroll
"$mod, mouse_down, workspace, e+1"

View File

@ -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"
'';
}

View File

@ -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
];
}

View File

@ -6,5 +6,4 @@ in
{
google-fonts = callPackage ./google-fonts { };
wm-helpers = callPackage ./wm-helpers { };
atool = callPackage ./atool-wrapped { };
}

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, options, inputs, outputs, ...}@args:
{ config, lib, pkgs, options, inputs, ...}@args:
let
cfg = config.nixfiles.profile.base;
in
@ -17,7 +17,7 @@ in
# Enable system Nix configuration
nix.enable = lib.mkDefault true;
};
nixfiles.binfmt.enable = lib.mkDefault true;
nixfiles.binfmt.enable = true;
# locale settings
i18n = {
@ -84,7 +84,6 @@ in
# etc
neofetch
outputs.packages."${pkgs.system}".atool
];
programs.neovim.defaultEditor = lib.mkDefault true;