From f0e039461cb302525aa6a4f75bee29368611e909 Mon Sep 17 00:00:00 2001 From: Strix Date: Sun, 12 Jan 2025 18:58:48 +0100 Subject: [PATCH] fix --- crates/05-i3/crate.arch.sh | 6 +++--- crates/05-i3/crate.pop.sh | 6 +++--- crates/10-zsh/files/.zshrc | 11 +---------- 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/crates/05-i3/crate.arch.sh b/crates/05-i3/crate.arch.sh index ccffa03..41e73a0 100644 --- a/crates/05-i3/crate.arch.sh +++ b/crates/05-i3/crate.arch.sh @@ -1,11 +1,11 @@ #!/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() { - apt install -y $pkgs + pacman -S --needed --noconfirm $pkgs } super_undo() { - apt remove -y $pkgs + pacman -R --noconfirm $pkgs } diff --git a/crates/05-i3/crate.pop.sh b/crates/05-i3/crate.pop.sh index 41e73a0..ccffa03 100644 --- a/crates/05-i3/crate.pop.sh +++ b/crates/05-i3/crate.pop.sh @@ -1,11 +1,11 @@ #!/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() { - pacman -S --needed --noconfirm $pkgs + apt install -y $pkgs } super_undo() { - pacman -R --noconfirm $pkgs + apt remove -y $pkgs } diff --git a/crates/10-zsh/files/.zshrc b/crates/10-zsh/files/.zshrc index c730706..4bbe248 100644 --- a/crates/10-zsh/files/.zshrc +++ b/crates/10-zsh/files/.zshrc @@ -18,7 +18,7 @@ if [ -f "$HOME/.oh-my-zsh/oh-my-zsh.sh" ]; then source $ZSH/oh-my-zsh.sh else echo "oh-my-zsh not detected :(" - PS1="$(whoami)@${HOSTNAME:-$(hostname)} $ " + PS1="$(whoami)@${HOSTNAME:-$(hostname)} $ " fi update_dotfiles() { @@ -27,15 +27,6 @@ update_dotfiles() { 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() { docker run \ -ti \