A collection of scripts and configurations for Bash (and others)
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

13 行
306B

  1. #!/bin/bash
  2. killall -q polybar
  3. if type "xrandr"; then
  4. for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
  5. MONITOR=$m polybar --reload obsidianblk >>/tmp/polybar_obsidianblk.log 2>&1 & disown
  6. done
  7. else
  8. polybar --reload obsidianblk >>/tmp/polybar_obsidianblk.log 2>&1 & disown
  9. fi