Compare commits

..

No commits in common. "9a0276e4957c3f3f589eb6a0fb9cca26b9f42aa7" and "c2f56a9d3f69ee0ae7f8b1fe470983c6064f74a4" have entirely different histories.

6 changed files with 12 additions and 27 deletions

View file

@ -21,12 +21,7 @@ _autoinstall_base () {
&& _autoinstall_exe \ && _autoinstall_exe \
"https://github.com/TheLocehiliosan/yadm/raw/master/yadm" \ "https://github.com/TheLocehiliosan/yadm/raw/master/yadm" \
"$HOME/.local/bin/yadm" \ "$HOME/.local/bin/yadm" \
&& yadm alt
[ ! -x "$(command -v "eza")" ] \
&& _autoinstall_exe \
"https://github.com/eza-community/eza/releases/download/v0.17.0/eza_x86_64-unknown-linux-gnu.tar.gz" \
"$HOME/.local/bin/eza" \
"tar xzO"
return 0 return 0
} }
@ -76,8 +71,6 @@ _autoinstall_all () {
return 0 return 0
} }
# $1: URL
# $2: path
_autoinstall_git () { _autoinstall_git () {
if [ ! -d "$2" ] if [ ! -d "$2" ]
then then
@ -89,9 +82,6 @@ _autoinstall_git () {
return 1 return 1
} }
# $1: URL
# $2: path
# $3: curl pipe
_autoinstall_file () { _autoinstall_file () {
if [ ! -f "$2" ] if [ ! -f "$2" ]
then then
@ -99,14 +89,12 @@ _autoinstall_file () {
file_path=$(dirname "$2") file_path=$(dirname "$2")
mkdir -p "$file_path" mkdir -p "$file_path"
cd "$file_path" || exit cd "$file_path" || exit
curl -fsSL "$1" | eval "${3:-cat}" > "$2" curl -fsSLo "$2" "$1"
return 0 return 0
fi fi
return 1 return 1
} }
# $1: text
# $2: path
_autoinstall_text() { _autoinstall_text() {
if [ ! -f "$2" ] if [ ! -f "$2" ]
then then
@ -120,15 +108,10 @@ _autoinstall_text() {
return 1 return 1
} }
# $1: URL
# $2: path
# $3: curl pipe
_autoinstall_exe () { _autoinstall_exe () {
_autoinstall_file "$1" "$2" "$3" && chmod +x "$2" _autoinstall_file "$1" "$2" && chmod +x "$2"
} }
# $1: URL
# $2: path
_autoinstall_archive () { _autoinstall_archive () {
if [ ! -f "$2" ] if [ ! -f "$2" ]
then then
@ -143,8 +126,6 @@ _autoinstall_archive () {
return 1 return 1
} }
# $1: template
# $2: path
_autoinstall_env () { _autoinstall_env () {
if [ -x "$(command -v envsubst)" ] if [ -x "$(command -v envsubst)" ]
then then

View file

@ -7,6 +7,6 @@ log_dir="$HOME/.cache/logs"
if [ -d "$log_dir" ] if [ -d "$log_dir" ]
then then
echo "Cleaning old logs..." echo "Cleaning old logs..."
find "$log_dir" -type f -mtime +7 -print -delete find "$log_dir" -type f -mtime +7 -delete
find "$log_dir" -type f -mtime +1 -size -25k -print -delete find "$log_dir" -type f -mtime +1 -size -25k -delete
fi fi

View file

@ -88,6 +88,12 @@ command = 'flatpak run com.valvesoftware.Steam -silent'
hosts = ['portalo'] hosts = ['portalo']
group = '' group = ''
[apps.swww]
alias = 'wallpaper'
command = 'swww init --no-daemon'
hosts = []
group = 'wayland'
[apps.sxhkd] [apps.sxhkd]
command = 'sxhkd' command = 'sxhkd'
hosts = [] hosts = []

View file

@ -14,7 +14,6 @@
git # git git # git
gitflow # tool for git workflow gitflow # tool for git workflow
git-lfs # git support for large files git-lfs # git support for large files
hostname # tool to get hostname
jq # tool for json jq # tool for json
moar # moar is less moar # moar is less
nix-direnv # allow better nix and direnv integration nix-direnv # allow better nix and direnv integration
@ -22,7 +21,6 @@
lsof # who uses that drive/directory lsof # who uses that drive/directory
openssh # ssh client and server openssh # ssh client and server
pass # password-store pass # password-store
pre-commit # tool for git pre-commit hooks
p7zip # tool to extract 7z archives p7zip # tool to extract 7z archives
rclone # tool for remote storages rclone # tool for remote storages
restic # backup tool restic # backup tool

View file

@ -6,6 +6,7 @@
cliphist # clipboard manager (history) cliphist # clipboard manager (history)
grim # needed for screenshots/flameshot grim # needed for screenshots/flameshot
slurp # needed for screenshots slurp # needed for screenshots
swww # wallpaper daemon
wl-clipboard # clipboard manager (tools) wl-clipboard # clipboard manager (tools)
#xdg-desktop-portal #xdg-desktop-portal
#xdg-desktop-portal-hyprland #xdg-desktop-portal-hyprland

View file

@ -33,7 +33,6 @@ general {
misc { misc {
disable_hyprland_logo = true disable_hyprland_logo = true
background_color = 0x1E1F29
} }
decoration { decoration {