dev: automated commit - 2025-10-01 20:05:45

This commit is contained in:
Mariano Z. 2025-10-01 20:05:45 -03:00
parent 8b08b8eccb
commit c011519bb0
Signed by: marianozunino
GPG key ID: 4C73BAD25156DACE
5 changed files with 33 additions and 42 deletions

View file

@ -1,7 +1,7 @@
[Settings] [Settings]
gtk-theme-name=rose-pine-gtk-theme-unstable-latest-Dark gtk-theme-name=rose-pine-gtk-theme-unstable-latest-Dark
gtk-icon-theme-name=Papirus gtk-icon-theme-name=Papirus
gtk-font-name=SF Pro 13 gtk-font-name=JetBrainsMono Nerd Font Propo 12
gtk-cursor-theme-name=Bibata-Original-Classic gtk-cursor-theme-name=Bibata-Original-Classic
gtk-cursor-theme-size=24 gtk-cursor-theme-size=24
gtk-toolbar-style=GTK_TOOLBAR_BOTH gtk-toolbar-style=GTK_TOOLBAR_BOTH

View file

@ -1,10 +1,6 @@
# Font settings # Font settings
font_family JetBrains Mono font_family JetBrainsMono Nerd Font
# font_family Fira Code
# font_family Iosevka\ Nerd\ Font
# font_family MonoLisa
# font_family Proxima\ Nova
# font_family Source\ Code\ Pro
font_size 12.0 font_size 12.0
bold_font auto bold_font auto
italic_font auto italic_font auto

View file

@ -1,39 +1,28 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Kill any existing swaybg or feh instances # Initialize swww daemon if not running
pkill swaybg if ! pgrep -x "swww-daemon" >/dev/null; then
pkill feh swww-daemon &
sleep 1
fi
# Function to set wallpaper using swaybg on Sway # Set wallpaper based on hostname
set_wallpaper_sway() { case "$(hostname)" in
if [ "$(hostname)" == "main" ]; then "main")
swaymsg -t get_outputs -r | jq -r ".[].name" | parallel 'swaybg -o {} -i $(find ~/Pictures/* -type f | shuf -n 1) &' # Get all outputs and set random wallpapers with transitions
elif [ "$(hostname)" == "fw" ]; then swaymsg -t get_outputs -r | jq -r ".[].name" | while read -r output; do
swaybg -m fill -i "$HOME/Pictures/hwtioswoamne1.jpeg" random_wallpaper=$(find ~/Pictures/* -type f | shuf -n 1)
fi swww img "$random_wallpaper" --outputs "$output" --transition-type center --transition-step 120 --transition-fps 144 &
}
# Function to set wallpaper using swaybg on Hyprland
set_wallpaper_hyprland() {
hyprctl monitors -j | jq -r ".[].name" | parallel 'swaybg -o {} -i $(find ~/Pictures/* -type f | shuf -n 1) &'
}
# Function to set wallpaper using feh on i3
set_wallpaper_i3() {
# Count number of connected monitors
monitor_count=$(xrandr --query | grep " connected" | wc -l)
# Get random wallpapers equal to monitor count
readarray -t wallpapers < <(find ~/Pictures/* -type f | shuf -n "$monitor_count")
# Construct the feh command with multiple --bg-fill arguments
cmd="feh"
for wallpaper in "${wallpapers[@]}"; do
cmd+=" --bg-fill '$wallpaper'"
done done
;;
"fw")
# Set specific wallpaper for fw host
swww img "$HOME/Pictures/hwtioswoamne1.jpeg" --transition-type center --transition-step 120 --transition-fps 144
;;
*)
echo "Unknown hostname: $(hostname)"
exit 1
;;
esac
# Execute the command wait
eval "$cmd"
}
set_wallpaper_sway

View file

@ -1,6 +1,10 @@
# vim: ft=swayconfig # vim: ft=swayconfig
# System Services # System Services
exec { exec {
ghostty --gtk-single-instance=true --quit-after-last-window-closed=false --initial-window=false
$(nix-locate -w polkit-gnome-authentication-agent-1 | awk '{print $NF}') $(nix-locate -w polkit-gnome-authentication-agent-1 | awk '{print $NF}')
blueman-applet blueman-applet
nm-applet nm-applet

View file

@ -1,7 +1,9 @@
# vim: ft=swayconfig # vim: ft=swayconfig
set { set {
$mod Mod4 $mod Mod4
$term kitty # $term kitty
$term ghostty --gtk-single-instance=true
# --quit-after-last-window-closed=false --initial-window=false
$menu fuzzel $menu fuzzel
$polkit polkit-gnome-authentication-agent-1 $polkit polkit-gnome-authentication-agent-1
$left h $left h