From 5d15dcb287805f074c0d77447d8425f4ae9cf7d8 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sat, 5 Aug 2023 18:08:48 +0200 Subject: [PATCH] Update bash aliases --- .bash_aliases/all | 5 ++++- .bash_aliases/desktop-arch | 4 ++++ .bash_aliases/dualboot | 2 ++ .bash_aliases/flex-arch | 2 ++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.bash_aliases/all b/.bash_aliases/all index 356a692..90c6583 100644 --- a/.bash_aliases/all +++ b/.bash_aliases/all @@ -1,3 +1,5 @@ +# vim: set ft=bash : + # Alias aliases alias al=alias alias alf="alias | fzf" @@ -57,7 +59,7 @@ alias z='zathura --fork' alias f='fzf' alias fm='pcmanfm &>/dev/null &' alias xev='xev | grep -A2 ButtonPress' # Ignore mouse movements -alias conda='micromamba' +alias mm='micromamba' # Languages alias js="node" @@ -70,3 +72,4 @@ alias r="R" alias azerty="setxkbmap be" alias qwerty="setxkbmap us" +alias cole="setxkbmap us -variant colemak" diff --git a/.bash_aliases/desktop-arch b/.bash_aliases/desktop-arch index 48e6085..6fba7eb 100644 --- a/.bash_aliases/desktop-arch +++ b/.bash_aliases/desktop-arch @@ -1,3 +1,7 @@ +# vim: set ft=bash : + source "$HOME/.bash_aliases/dualboot" alias lm='ddcutil setvcp 10' + +alias cuda-available='python -c "import torch; print(\"CUDA enabled:\", torch.cuda.is_available());"' diff --git a/.bash_aliases/dualboot b/.bash_aliases/dualboot index 1b64ba8..a7b0ed2 100644 --- a/.bash_aliases/dualboot +++ b/.bash_aliases/dualboot @@ -1,3 +1,5 @@ +# vim: set ft=bash : + reboot-to-windows () { # Check if grub is installed by checking if the command exists, if it does diff --git a/.bash_aliases/flex-arch b/.bash_aliases/flex-arch index 6edac2c..37d3e72 100644 --- a/.bash_aliases/flex-arch +++ b/.bash_aliases/flex-arch @@ -1,3 +1,5 @@ +# vim: set ft=bash : + source "$HOME/.bash_aliases/dualboot" alias lm='xbacklight -set'