mirror of
https://github.com/Phantop/dotfiles
synced 2025-11-26 06:06:40 +00:00
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
|
function build
|
||||||
s printf \
|
s printf \
|
||||||
gp
|
gp
|
||||||
|
|
@ -7,7 +7,7 @@ function build
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr .
|
cmake -DCMAKE_INSTALL_PREFIX=/usr .
|
||||||
make
|
make
|
||||||
s make install
|
s make install
|
||||||
meson build
|
meson --prefix=/usr build
|
||||||
ninja -C build
|
ninja -C build
|
||||||
sudo ninja -C build install
|
sudo ninja -C build install
|
||||||
end
|
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
|
function cpugov
|
||||||
set state ( cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor )
|
echo -e "The current state is "(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)
|
||||||
set newState ""
|
if [ (cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor) != "performance" ]
|
||||||
echo -e "The current state is [ $state ]"
|
|
||||||
if [ $state != "performance" ]
|
|
||||||
s -i cpupower frequency-set -g performance >/dev/null
|
s -i cpupower frequency-set -g performance >/dev/null
|
||||||
set newState ( cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor )
|
|
||||||
else
|
else
|
||||||
s cpupower frequency-set -g powersave >/dev/null
|
s cpupower frequency-set -g powersave >/dev/null
|
||||||
set newState ( cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor )
|
|
||||||
end
|
end
|
||||||
echo -e "Now in *** $newState *** mode"
|
echo -e "The current state is "(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
4
.config/fish/functions/dot.fish
Normal file
4
.config/fish/functions/dot.fish
Normal file
|
|
@ -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
|
function mcr
|
||||||
eval $D/Games/Minecraft/Server/mcrcon localhost 25575 password $argv
|
eval $D/Games/Minecraft/Server/mcrcon localhost password
|
||||||
end
|
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
|
function ta
|
||||||
tmux attach $argv
|
tmux attach -t (math 0 + "0$argv[1]") $argv[2..-1]
|
||||||
end
|
end
|
||||||
|
|
|
||||||
1
.symlinks/melonDS.ini
Symbolic link
1
.symlinks/melonDS.ini
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
/mnt/LocalDiskD/Games/Emulators/melonDS/melonDS.ini
|
||||||
1
melonDS.ini
Symbolic link
1
melonDS.ini
Symbolic link
|
|
@ -0,0 +1 @@
|
||||||
|
.symlinks/melonDS.ini
|
||||||
Loading…
Reference in a new issue