Skip to content

Commit

Permalink
secondary monitor by hostname removed
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdotx committed Aug 18, 2024
1 parent 9a713aa commit 77aec6e
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions polybar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# path: /home/klassiker/.local/share/repos/polybar/polybar.sh
# author: klassiker [mrdotx]
# github: https://github.com/mrdotx/polybar
# date: 2024-02-25T08:14:51+0100
# date: 2024-08-17T18:56:08+0200

service="polybar.service"

Expand Down Expand Up @@ -64,15 +64,7 @@ start() {
;;
*)
exec_bar "$primary" "top" "pinned" "main"
# secondary monitor by hostname
case "$(uname -n)" in
m75q)
exec_bar "$secondary" "bottom" "pinned" "sys_info"
;;
*)
exec_bar "$secondary" "top" "pinned" "sys_info"
;;
esac
exec_bar "$secondary" "top" "pinned" "sys_info"
;;
esac
}
Expand Down

0 comments on commit 77aec6e

Please sign in to comment.