mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 20:10:23 +10:00
Fixing monitor/workspace for loop in bspwmrc
This commit is contained in:
@@ -28,13 +28,12 @@ xargs xwallpaper --stretch < ~/.cache/wall &
|
|||||||
# nitrogen --restore &
|
# nitrogen --restore &
|
||||||
|
|
||||||
#### MONITORS ####
|
#### MONITORS ####
|
||||||
monitors=$(xrandr | grep " connected " | cut -f 1 -d " ")
|
for monitor in $(bspc query -M)
|
||||||
for x in "${monitors[@]}"
|
|
||||||
do
|
do
|
||||||
# set the workspaces on each monitor to 1-9
|
# set the workspaces on each monitor to 1-9
|
||||||
bspc monitor $x -d 1 2 3 4 5 6 7 8 9
|
bspc monitor $monitor -d 1 2 3 4 5 6 7 8 9
|
||||||
#polybar hidden when fullscreen for vlc, youtube, mpv ...
|
#polybar hidden when fullscreen for vlc, youtube, mpv ...
|
||||||
xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_"$x")
|
xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_$monitor)
|
||||||
done
|
done
|
||||||
|
|
||||||
#polybar hidden when fullscreen for vlc, youtube, mpv ...
|
#polybar hidden when fullscreen for vlc, youtube, mpv ...
|
||||||
|
|||||||
@@ -163,7 +163,7 @@ super + p; {r}
|
|||||||
super + p; {s}
|
super + p; {s}
|
||||||
dm-websearch
|
dm-websearch
|
||||||
super + p; {t}
|
super + p; {t}
|
||||||
dm-translate}
|
dm-translate
|
||||||
|
|
||||||
# emacs (SUPER + e followed by another key)
|
# emacs (SUPER + e followed by another key)
|
||||||
super + e; e
|
super + e; e
|
||||||
|
|||||||
@@ -131,14 +131,9 @@ myStartupHook = do
|
|||||||
spawnOnce "notify-log $HOME/.log/notify.log"
|
spawnOnce "notify-log $HOME/.log/notify.log"
|
||||||
spawn "/usr/bin/emacs --daemon" -- emacs daemon for the emacsclient
|
spawn "/usr/bin/emacs --daemon" -- emacs daemon for the emacsclient
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
spawn ("sleep 2 && conky -c $HOME/.config/conky/xmonad/" ++ colorScheme ++ "-01.conkyrc")
|
|
||||||
spawn "polybar-xmonad"
|
|
||||||
=======
|
|
||||||
spawn "polybar-xmonad"
|
spawn "polybar-xmonad"
|
||||||
spawnOnce "sleep 2 && xmonad --restart"
|
spawnOnce "sleep 2 && xmonad --restart"
|
||||||
spawn ("sleep 3 && conky -c $HOME/.config/conky/xmonad/" ++ colorScheme ++ "-01.conkyrc")
|
spawn ("sleep 3 && conky -c $HOME/.config/conky/xmonad/" ++ colorScheme ++ "-01.conkyrc")
|
||||||
>>>>>>> 9d69b64ef8fc5b170a38aef63f94f6cad3fa989a
|
|
||||||
|
|
||||||
spawnOnce "xargs xwallpaper --stretch < ~/.cache/wall"
|
spawnOnce "xargs xwallpaper --stretch < ~/.cache/wall"
|
||||||
-- spawnOnce "~/.fehbg &" -- set last saved feh wallpaper
|
-- spawnOnce "~/.fehbg &" -- set last saved feh wallpaper
|
||||||
|
|||||||
Reference in New Issue
Block a user