Browse Source

external monitor and ltspice

master
commit
b36cb9e64f
3 changed files with 20 additions and 0 deletions
  1. +9
    -0
      external-monitor.sh
  2. +8
    -0
      ltspice-install.sh
  3. +3
    -0
      ltspice.sh

+ 9
- 0
external-monitor.sh View File

@ -0,0 +1,9 @@
#!/bin/sh
intern=eDP-1
extern=DP-1
if xrandr | grep "$extern disconnected"; then
xrandr --output "$extern" --off --output "$intern" --auto
else
xrandr --output "$intern" --off --output "$extern" --auto
fi

+ 8
- 0
ltspice-install.sh View File

@ -0,0 +1,8 @@
# install wine and ltspice
# sudo apt-get install wine-stable
sudo pacman -S wine
cd /tmp/
wget https://ltspice.analog.com/software/LTspice32.exe
#wget http://ltspice.linear-tech.com/software/LTspiceIV.exe
wine LTspice32.exe
rm LTspice32.exe

+ 3
- 0
ltspice.sh View File

@ -0,0 +1,3 @@
#! /usr/bin/sh
wine ~/.wine/drive_c/Program\ Files/LTC/LTspiceXVII/XVIIx64.exe $1

Loading…
Cancel
Save