Add flake.nix
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
description = "kutu wm environment";
|
||||
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
};
|
||||
in {
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
ruby
|
||||
gcc
|
||||
pkg-config
|
||||
|
||||
xorg.libxcb
|
||||
xorg.xcbutilwm
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
echo "kutu dev shell"
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -132,7 +132,7 @@ keybind 171, presets[:mod] do |_event|
|
||||
run %q(dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next)
|
||||
end
|
||||
|
||||
keybind 110, presets[:mod] do |_event|
|
||||
keybind 89, presets[:mod] do |_event|
|
||||
monitor = current_monitor
|
||||
persistence_path = File.join(__dir__, ".num.json")
|
||||
persistence = File.exist?(persistence_path) ?
|
||||
@@ -148,7 +148,7 @@ keybind 110, presets[:mod] do |_event|
|
||||
end
|
||||
end
|
||||
|
||||
keybind 89, presets[:mod] do |event|
|
||||
keybind 81, presets[:mod] do |event|
|
||||
monitor = current_monitor
|
||||
persistence_path = File.join(__dir__, ".num.json")
|
||||
persistence = File.exist?(persistence_path) ?
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
choice=$(
|
||||
(
|
||||
printf "%s\n" godot mvox mox aseprite terraria zomboid silksong factorio oxygen
|
||||
printf "%s\n" prism
|
||||
compgen -c
|
||||
) |
|
||||
grep -v -E '^(if|fi|case|esac|for|done|while|until|select|function|return|continue|break|time|exec|source|alias|builtin|read|export|unset|local|set|declare|typeset|:|\.|\[|coproc|l|ll|ls|then|else|elif|do|in|\{|\}|!|\[\[|\]\]|_.*|compgen)$' |
|
||||
|
||||
Reference in New Issue
Block a user