Add shell script test
This commit is contained in:
6
home/scripts/default.nix
Normal file
6
home/scripts/default.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ config, ... }: {
|
||||
home.file.".local/bin/hl-no-opacity" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink ./. + "/hl-no-opacity.sh";
|
||||
executable = true;
|
||||
};
|
||||
}
|
4
home/scripts/hl-no-opacity.sh
Normal file
4
home/scripts/hl-no-opacity.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
addr=$(hyprctl activewindow -j|jq -r .address)
|
||||
hyprctl setprop "address:$addr" alpha 1 lock
|
Reference in New Issue
Block a user