Skip to content

Commit

Permalink
configure polybar with new monitor set up
Browse files Browse the repository at this point in the history
  • Loading branch information
lepisma committed Sep 26, 2022
1 parent d51603c commit 2fb59f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion polybar/.config/polybar/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ margin-top = 2
margin-bottom = 2

[bar/monitor]
monitor = eDP-1
monitor = HDMI-0
width = 100%
height = 28
offset-x = 0
Expand Down
2 changes: 1 addition & 1 deletion stumpwm/.stumpwmrc
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ run-or-raise with group search t."

;; Dunst on top fix from https://github.com/stumpwm/stumpwm/issues/469#issuecomment-488437555
(defmethod raise-window :after (win)
(let ((ignore-names '("polybar-laptop_eDP-1" "polybar-screen_HDMI-0" "polybar-laptop_eDP1")))
(let ((ignore-names '("polybar-monitor_HDMI-0")))
(flet ((window-above-p (win) (find-wm-state win :_NET_WM_STATE_ABOVE)))
(unless (window-above-p (window-xwin win))
(mapc
Expand Down

0 comments on commit 2fb59f2

Please sign in to comment.