This commit is contained in:
Strix 2025-01-12 18:58:48 +01:00
parent 1573398e8d
commit f0e039461c
3 changed files with 7 additions and 16 deletions

View file

@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
pkgs="i3 i3lock i3status libpulse-mainloop-glib brightnessctl xss-lock dex maim dmenu gnome-keyring feh picom" pkgs="i3 i3lock i3status libpulse brightnessctl xss-lock dex maim dmenu gnome-keyring feh picom"
super_apply() { super_apply() {
apt install -y $pkgs pacman -S --needed --noconfirm $pkgs
} }
super_undo() { super_undo() {
apt remove -y $pkgs pacman -R --noconfirm $pkgs
} }

View file

@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
pkgs="i3 i3lock i3status libpulse brightnessctl xss-lock dex maim dmenu gnome-keyring feh picom" pkgs="i3 i3lock i3status libpulse-mainloop-glib brightnessctl xss-lock dex maim dmenu gnome-keyring feh picom"
super_apply() { super_apply() {
pacman -S --needed --noconfirm $pkgs apt install -y $pkgs
} }
super_undo() { super_undo() {
pacman -R --noconfirm $pkgs apt remove -y $pkgs
} }

View file

@ -18,7 +18,7 @@ if [ -f "$HOME/.oh-my-zsh/oh-my-zsh.sh" ]; then
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
else else
echo "oh-my-zsh not detected :(" echo "oh-my-zsh not detected :("
PS1="$(whoami)@${HOSTNAME:-$(hostname)} $ " PS1="$(whoami)@${HOSTNAME:-$(hostname)} $ "
fi fi
update_dotfiles() { update_dotfiles() {
@ -27,15 +27,6 @@ update_dotfiles() {
cd - &> /dev/null cd - &> /dev/null
} }
share_cdn() {
if ! [ -f "$1" ]; then
echo "file needs to exist"
return 1
fi
scp $1 keymaker:/usr/share/cdn/random/$2 > /dev/null
echo "https://cdn.ixvd.net/random/${2:-$(basename $1)}"
}
container() { container() {
docker run \ docker run \
-ti \ -ti \