mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-03-20 06:11:27 -07:00
update
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
music_dir="/jellyfin/music"
|
||||
previewdir="$XDG_CONFIG_HOME/ncmpcpp/previews"
|
||||
music_dir="/truenas/jellyfin/music"
|
||||
previewdir="${XDG_CONFIG_HOME:-$HOME/.config}/ncmpcpp/previews"
|
||||
filename="$(mpc --format "$music_dir"/%file% current)"
|
||||
previewname="$previewdir/$(mpc --format %album% current | base64).png"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if pgrep -af "waybar -c /home/sudacode/.config/waybar/catppuccin-macchiato/config-battery.jsonc -s /home/sudacode/.config/waybar/catppuccin-macchiato/style.css" ||
|
||||
pgrep -af "waybar -c /home/sudacode/.config/waybar/catppuccin-macchiato/config.jsonc -s /home/sudacode/.config/waybar/catppuccin-macchiato/style.css"; then
|
||||
@@ -9,7 +9,7 @@ fi
|
||||
BASE_DIR="$HOME/.config/waybar/catppuccin-macchiato"
|
||||
NODE_NAME="$(hyprctl systeminfo | grep -i "node name" | sed 's/Node name: //')"
|
||||
|
||||
if [[ "$NODE_NAME" = "sc-arch" ]]; then
|
||||
if [[ "$NODE_NAME" = "sc-arch" || "$NODE_NAME" = "cachypc" ]]; then
|
||||
CONFIG="$BASE_DIR/config.jsonc"
|
||||
else
|
||||
CONFIG="$BASE_DIR/config-laptop.jsonc"
|
||||
|
||||
Reference in New Issue
Block a user