This website works better with JavaScript.
Home
Explore
Help
Sign In
gmarx
/
scipts-bash
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
external monitor and ltspice
master
Gerardo Marx Chávez-Campos
2 years ago
commit
b36cb9e64f
3 changed files
with
20 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
external-monitor.sh
+8
-0
ltspice-install.sh
+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
Write
Preview
Loading…
Cancel
Save