diff options
| -rwxr-xr-x | archsetup | 10 | ||||
| -rw-r--r-- | assets/outbox/vlc-plugins-to-install.txt | 20 | ||||
| -rw-r--r-- | dotfiles/hyprland/.config/hypr/hyprland.conf | 1 | ||||
| -rwxr-xr-x | dotfiles/hyprland/.local/bin/waybar-date | 6 | ||||
| -rwxr-xr-x | dotfiles/hyprland/.local/bin/waybar-worldclock | 2 |
5 files changed, 35 insertions, 4 deletions
@@ -1952,6 +1952,16 @@ supplemental_software() { pacman_install transmission-remote-gtk # bittorrent client pacman_install unclutter # hides mouse cursor when not being used pacman_install vlc # media player + pacman_install vlc-plugin-ffmpeg # vlc: H264/H265/AV1 decoding + pacman_install vlc-plugin-matroska # vlc: MKV container support + pacman_install vlc-plugin-ass # vlc: SSA/ASS subtitle rendering + pacman_install vlc-plugin-freetype # vlc: SRT and text subtitle rendering + pacman_install vlc-plugin-mpeg2 # vlc: DVD/broadcast MPEG-2 decoding + pacman_install vlc-plugin-chromecast # vlc: cast to Chromecast devices + pacman_install vlc-plugin-bluray # vlc: Blu-ray disc playback + pacman_install vlc-plugin-dvd # vlc: DVD playback + pacman_install vlc-plugin-aom # vlc: AV1 decoding + pacman_install vlc-plugin-notify # vlc: desktop notifications pacman_install w3m # text based browser pacman_install mpd # music player daemon pacman_install mpc # mpd command line client diff --git a/assets/outbox/vlc-plugins-to-install.txt b/assets/outbox/vlc-plugins-to-install.txt new file mode 100644 index 0000000..47bcc70 --- /dev/null +++ b/assets/outbox/vlc-plugins-to-install.txt @@ -0,0 +1,20 @@ +VLC Plugin Packages to Install with VLC + +When installing VLC, also install these plugin packages: + +Essential: + vlc-plugin-ffmpeg - H264/H265/AV1 decoding (most video formats) + vlc-plugin-matroska - MKV container support + vlc-plugin-ass - SSA/ASS subtitle rendering + vlc-plugin-freetype - SRT and text subtitle rendering + vlc-plugin-mpeg2 - DVD/broadcast MPEG-2 decoding + +Nice to have: + vlc-plugin-chromecast - Cast to Chromecast devices + vlc-plugin-bluray - Blu-ray disc playback + vlc-plugin-dvd - DVD playback + vlc-plugin-aom - AV1 decoding (increasingly common codec) + vlc-plugin-notify - Desktop notifications for track changes + +One-liner: + pacman -S vlc-plugin-ffmpeg vlc-plugin-matroska vlc-plugin-ass vlc-plugin-freetype vlc-plugin-mpeg2 vlc-plugin-chromecast vlc-plugin-bluray vlc-plugin-dvd vlc-plugin-aom vlc-plugin-notify diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf index 54139af..8572dcf 100644 --- a/dotfiles/hyprland/.config/hypr/hyprland.conf +++ b/dotfiles/hyprland/.config/hypr/hyprland.conf @@ -108,6 +108,7 @@ cursor { input { kb_layout = us kb_options = ctrl:nocaps + numlock_by_default = true follow_mouse = 0 float_switch_override_focus = 0 mouse_refocus = false diff --git a/dotfiles/hyprland/.local/bin/waybar-date b/dotfiles/hyprland/.local/bin/waybar-date index 72a0000..260b239 100755 --- a/dotfiles/hyprland/.local/bin/waybar-date +++ b/dotfiles/hyprland/.local/bin/waybar-date @@ -7,9 +7,9 @@ MONTH=$(date '+%B %Y') # Generate current month (with today highlighted) stacked above next month NEXT_M=$(date -d 'next month' '+%-m') NEXT_Y=$(date -d 'next month' '+%Y') -CUR=$(cal | sed "s/\b${TODAY}\b/<span color='#daa520'><b><u>${TODAY}<\/u><\/b><\/span>/") -NEXT=$(cal "$NEXT_M" "$NEXT_Y") -HIGHLIGHTED=$(printf '%s\n%s' "$CUR" "$NEXT") +CUR=$(cal | sed "s/\b${TODAY}\b/<span color='#daa520'><b><u>${TODAY}<\/u><\/b><\/span>/" | sed '/^[[:space:]]*$/d') +NEXT=$(cal "$NEXT_M" "$NEXT_Y" | sed '/^[[:space:]]*$/d') +HIGHLIGHTED=$(printf '%s\n\n%s' "$CUR" "$NEXT") TOOLTIP="<tt>${HIGHLIGHTED}</tt>" diff --git a/dotfiles/hyprland/.local/bin/waybar-worldclock b/dotfiles/hyprland/.local/bin/waybar-worldclock index 9801dad..be483ed 100755 --- a/dotfiles/hyprland/.local/bin/waybar-worldclock +++ b/dotfiles/hyprland/.local/bin/waybar-worldclock @@ -12,7 +12,7 @@ if [ -f "$CONF" ]; then while IFS='|' read -r tz label; do # Skip comments and blank lines case "$tz" in \#*|"") continue ;; esac - TIME=$(TZ="$tz" date '+%I:%M %p %Z') + TIME=$(TZ="$tz" date '+%a %I:%M %p %Z') LINE=$(printf "%-16s %s" "$label" "$TIME") # Highlight local timezone in gold if [ "$tz" = "$LOCAL_TZ" ]; then |
