diff options
author | lxf <sng@luxagraf.net> | 2022-04-05 10:15:23 -0400 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2022-04-05 10:15:23 -0400 |
commit | 7ee65be29baede8345fc25b827e426efb93dbe24 (patch) | |
tree | 9028bc319f34d92cebe4d9f27b0a4adb9b40542f | |
parent | 48cc6cecb880712e66108d6d9f0f93a04a323a09 (diff) |
shell: latest tweaks to aliases and bash
-rw-r--r-- | .aliases | 2 | ||||
-rw-r--r-- | .bashrc | 10 | ||||
-rw-r--r-- | .tmux/dev-ccg | 5 | ||||
-rw-r--r-- | .tmux/dev-lbh | 5 |
4 files changed, 18 insertions, 4 deletions
@@ -70,7 +70,7 @@ alias serve='python -m http.server' alias servenet="python -c 'import BaseHTTPServer as bhs, SimpleHTTPServer as shs; bhs.HTTPServer(('\''192.168.1.10'\'', 8080), shs.SimpleHTTPRequestHandler).serve_forever()'" # download movies -alias yt='youtube-dl $1 --no-check-certificate --format best' +alias yt='yt-dlp $1 --format best' alias yt-audio='youtube-dl --no-check-certificate --ignore-errors --output "%(title)s.%(ext)s" --extract-audio --audio-format mp3' alias @less="fc -s | less" @@ -1,9 +1,9 @@ #basics stty -ixon export MOZ_DBUS_REMOTE=1 -#export BROWSER="vivaldi-stable --enable-features=UseOzonePlatform --ozone-platform=wayland --use-cmd-decoder=validating --use-gl=egl" +export BROWSER="vivaldi-stable --enable-features=UseOzonePlatform --ozone-platform=wayland --use-cmd-decoder=validating --use-gl=egl" -export BROWSER="qutebrowser" +#export BROWSER="qutebrowser" export EDITOR="nvim" #export EDITOR="vim" # keep dictionaries in ~/bin/ @@ -18,6 +18,10 @@ export PATH=$PATH:$HOME/bin export PATH=$PATH:$HOME/bin/bash-scripts export PATH=$PATH:$HOME/.local/bin +export XDG_SESSION_TYPE=wayland +export GDK_BACKEND=wayland +QT_QPA_PLATFORM=wayland-egl + # Alias definitions if [ -f ~/.aliases ]; then . ~/.aliases @@ -156,7 +160,7 @@ function fn() { } function tolux() { - scp $3 $1 lxf:/home/lxf/$2 + scp $3 "$1" lxf:/home/lxf/$2 } function todis() { diff --git a/.tmux/dev-ccg b/.tmux/dev-ccg new file mode 100644 index 0000000..490802b --- /dev/null +++ b/.tmux/dev-ccg @@ -0,0 +1,5 @@ +neww -n '' +splitw -h -p 36 +send "cd ~/sites/cumuluslearning.net/ && lxc exec ccg -- su - lxf" enter #open vim +selectp -t 1 # select the original pane +send "cd ~/sites/cumuluslearning.net/ && v" enter #open vim diff --git a/.tmux/dev-lbh b/.tmux/dev-lbh new file mode 100644 index 0000000..4010e3f --- /dev/null +++ b/.tmux/dev-lbh @@ -0,0 +1,5 @@ +neww -n '' +splitw -h -p 36 +send "cd ~/sites/libregraf.net/ && lxc exec lbh -- su - lxf" enter #open vim +selectp -t 1 # select the original pane +send "cd ~/sites/libregraf.net/ && v" enter #open vim |