mirror of https://github.com/Phantop/dotfiles
Set up melonDS config; Fish: modify build, cpugov, mcr, ta; add dot
This commit is contained in:
parent
eeba0c21e5
commit
2f04ec4010
|
@ -1,4 +1,4 @@
|
|||
# Defined in /tmp/fish.SBvuh1/build.fish @ line 2
|
||||
# Defined in /tmp/fish.i459zw/build.fish @ line 2
|
||||
function build
|
||||
s printf \
|
||||
gp
|
||||
|
@ -7,7 +7,7 @@ function build
|
|||
cmake -DCMAKE_INSTALL_PREFIX=/usr .
|
||||
make
|
||||
s make install
|
||||
meson build
|
||||
meson --prefix=/usr build
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
end
|
||||
|
|
|
@ -1,14 +1,10 @@
|
|||
# Defined in /tmp/fish.EI2lVJ/cpugov.fish @ line 2
|
||||
# Defined in /tmp/fish.mndBU3/cpugov.fish @ line 2
|
||||
function cpugov
|
||||
set state ( cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor )
|
||||
set newState ""
|
||||
echo -e "The current state is [ $state ]"
|
||||
if [ $state != "performance" ]
|
||||
echo -e "The current state is "(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)
|
||||
if [ (cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor) != "performance" ]
|
||||
s -i cpupower frequency-set -g performance >/dev/null
|
||||
set newState ( cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor )
|
||||
else
|
||||
s cpupower frequency-set -g powersave >/dev/null
|
||||
set newState ( cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor )
|
||||
end
|
||||
echo -e "Now in *** $newState *** mode"
|
||||
echo -e "The current state is "(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)
|
||||
end
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
# Defined in /tmp/fish.zTiFlh/dot.fish @ line 1
|
||||
function dot
|
||||
cd ~/.dotfiles
|
||||
end
|
|
@ -1,4 +1,4 @@
|
|||
# Defined in /tmp/fish.SCEnNd/mcr.fish @ line 2
|
||||
# Defined in /home/glados/.config/fish/functions/mcr.fish @ line 2
|
||||
function mcr
|
||||
eval $D/Games/Minecraft/Server/mcrcon localhost 25575 password $argv
|
||||
eval $D/Games/Minecraft/Server/mcrcon localhost password
|
||||
end
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Defined in /tmp/fish.fhflGN/ta.fish @ line 1
|
||||
# Defined in /tmp/fish.FDoq61/ta.fish @ line 2
|
||||
function ta
|
||||
tmux attach $argv
|
||||
tmux attach -t (math 0 + "0$argv[1]") $argv[2..-1]
|
||||
end
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
/mnt/LocalDiskD/Games/Emulators/melonDS/melonDS.ini
|
|
@ -0,0 +1 @@
|
|||
.symlinks/melonDS.ini
|
Loading…
Reference in New Issue