Remove alacritty-sway-cwd attempt
This was an attempt to start new instances of Alacritty in the same working directory as the focused instance. A working implementation is now part of the sway module.
This commit is contained in:
parent
5ffa7b9850
commit
8de235f889
1 changed files with 0 additions and 14 deletions
|
|
@ -3,20 +3,6 @@ let
|
|||
solarized = import ./solarized.nix;
|
||||
tomlFormat = pkgs.formats.toml { };
|
||||
|
||||
#nixosConfig.jalr.terminalEmulator.command = pkgs.writeShellScriptBin "alacritty-sway-cwd" ''
|
||||
# this_alacritty_pid="$(swaymsg -t get_tree | ${pkgs.jq} -e 'recurse(.nodes[]?) | select((.focused==true) and (.app_id=="Alacritty")).pid')"
|
||||
|
||||
# if [ "$this_alacritty_pid" ]; then
|
||||
# child_pid="$(pgrep -P "$this_alacritty_pid")"
|
||||
# cwd="$(readlink /proc/$child_pid/cwd)"
|
||||
# fi
|
||||
# if [ -e "$cwd" ]; then
|
||||
# exec ${pkgs.alacritty} --working-directory "$cwd"
|
||||
# fi
|
||||
|
||||
# exec alacritty
|
||||
#'';
|
||||
|
||||
colorschemes = {
|
||||
# https://github.com/alacritty/alacritty/wiki/Color-schemes#solarized
|
||||
solarized-dark = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue