From 463464c672e60dfa2539a7477caec43548cc1ef5 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Sun, 7 Apr 2024 10:53:10 +0200 Subject: [PATCH] Remove comments --- dotfiles/.local/bin/launchWireshark.sh | 1 - dotfiles/.local/bin/open.sh | 14 -------------- dotfiles/.local/bin/popup.sh | 13 ------------- 3 files changed, 28 deletions(-) diff --git a/dotfiles/.local/bin/launchWireshark.sh b/dotfiles/.local/bin/launchWireshark.sh index 72c94b1..245e788 100755 --- a/dotfiles/.local/bin/launchWireshark.sh +++ b/dotfiles/.local/bin/launchWireshark.sh @@ -1,6 +1,5 @@ #!/bin/sh -#sudo launchctl load -w '/Library/LaunchDaemons/org.wireshark.ChmodBPF.plist' loader.sh -l wireshark open -a Wireshark -W loader.sh -u wireshark diff --git a/dotfiles/.local/bin/open.sh b/dotfiles/.local/bin/open.sh index eb48466..f7afa71 100755 --- a/dotfiles/.local/bin/open.sh +++ b/dotfiles/.local/bin/open.sh @@ -1,18 +1,4 @@ #!/usr/bin/env bash sleep 3 -#scratchpad_id=$(osascript ~/.local/bin/iterm-scratchpad.scpt | awk '{print $NF}') -#alacritty -t "scratchpad" > /dev/null 2>&1 & /Applications/Alacritty.app/Contents/MacOS/alacritty -t "scratchpad" & -#/opt/homebrew/bin/alacritty -t "scratchpad" & -#scratchpad_id=$(ps aux | grep 'scratchpad' | grep -v 'grep' | awk '{print $2}') -#sleep 1 -#scratchpad_id=$(/opt/homebrew/bin/yabai -m query --windows | jq '.[] | select(.title=="scratchpad").id') -##echo "$scratchpad_id" -##sleep 1 -#/opt/homebrew/bin/yabai -m window "$scratchpad_id" --space 10 -##/opt/homebrew/bin/yabai -m window "$scratchpad_id" --minimize -#/opt/homebrew/bin/yabai -m window "$scratchpad_id" --toggle float -#/opt/homebrew/bin/yabai -m window "$scratchpad_id" --grid 4:4:1:1:2:2 -#/opt/homebrew/bin/yabai -m window "$scratchpad_id" --layer above -#/opt/homebrew/bin/yabai -m space --focus 1 diff --git a/dotfiles/.local/bin/popup.sh b/dotfiles/.local/bin/popup.sh index 34e8e90..e5debd1 100755 --- a/dotfiles/.local/bin/popup.sh +++ b/dotfiles/.local/bin/popup.sh @@ -2,17 +2,4 @@ TITLE=mylauncher -#SCREEN_WIDTH=`yabai -m query --displays --display | jq '.frame.w*2'` -#SCREEN_HEIGHT=`yabai -m query --displays --display | jq '.frame.h*2'` - -#TERM_WIDTH=1280 -#TERM_HEIGHT=1260 -#TERM_HEIGHT=1960 - -#let "X=SCREEN_WIDTH/2-TERM_WIDTH/2" -#let "Y=SCREEN_HEIGHT/2-TERM_HEIGHT/2" - -#alacritty -t "${TITLE}" -o window.position.x="${X}" -o window.position.y="${Y}" -o window.dimensions.lines=35 -o window.dimensions.columns=80 -o window.decorations=none --working-directory "$(pwd)" -e "$1" -#alacritty -t "${TITLE}" -o window.position.x="${X}" -o window.position.y="${Y}" -o window.dimensions.lines=10 -o window.dimensions.columns=80 -o window.decorations=none --working-directory "$(pwd)" -e "$1" - alacritty -t "${TITLE}" --config-file=$HOME/.config/alacritty/alacritty-launcher.toml --working-directory "$(pwd)" -e "$1"