mirror of
https://github.com/vale981/dotfiles
synced 2025-03-04 17:11:39 -05:00
some desktop updates
This commit is contained in:
parent
e4e04bc7cf
commit
40a74cbf1f
4 changed files with 10 additions and 8 deletions
|
@ -10,4 +10,4 @@ RYGEL="true"
|
|||
BAR_POS="bottom"
|
||||
DPI=91
|
||||
TERM_FONT_SIZE=9
|
||||
SCREENLAYOUT=".screenlayout/desktop.sh"
|
||||
SCREENLAYOUT="~/.screenlayout/desktop.sh"
|
||||
|
|
|
@ -33,12 +33,14 @@ bspc config remove_unplugged_monitors true
|
|||
# Scripts #
|
||||
###############################################################################
|
||||
|
||||
sh {{ SCREENLAYOUT }}
|
||||
|
||||
{{ #laptop }}
|
||||
~/.config/bspwm/monitor_laptop.sh
|
||||
bash ~/.config/bspwm/monitor_laptop.sh
|
||||
{{ /laptop }}
|
||||
|
||||
{{ ^laptop }}
|
||||
~/.config/bspwm/monitor_desktop.sh
|
||||
bash ~/.config/bspwm/monitor_desktop.sh
|
||||
{{ /laptop }}
|
||||
|
||||
~/.config/polybar/launch.sh
|
||||
bash ~/.config/polybar/launch.sh
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
###############################################################################
|
||||
|
||||
declare -A workspaces
|
||||
workspaces[2]="I V VI VIII IX X"
|
||||
workspaces[2]="I V VI VIII IX"
|
||||
workspaces[0]="II IV VII"
|
||||
workspaces[1]="III IX"
|
||||
workspaces[1]="III IX X"
|
||||
|
||||
MONITORS=({{ MONITORS[@] }})
|
||||
|
||||
|
@ -16,7 +16,7 @@ move_to_monitor() {
|
|||
}
|
||||
|
||||
I=0
|
||||
for MONITOR in $MONITORS; do
|
||||
for MONITOR in ${MONITORS[@]}; do
|
||||
bspc monitor $MONITOR -d ${workspaces[${I}]}
|
||||
((I=I+1))
|
||||
# move_to_monitor "${workspaces[${I}]}" $MONITOR
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
xrandr --output DisplayPort-0 --mode 1920x1080 --pos 0x0 --rotate normal --output DisplayPort-1 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output HDMI-A-0 --off --output HDMI-A-1 --off --output DVI-D-0 --mode 1920x1080 --pos 3840x0 --rotate normal
|
||||
xrandr --output DisplayPort-0 --mode 1920x1080 --pos 0x0 --rotate normal --output DisplayPort-1 --mode 1920x1080 --pos 3840x0 --rotate normal --output HDMI-A-0 --off --output HDMI-A-1 --off --output DVI-D-0 --primary --mode 1920x1080 --pos 1920x0 --rotate normal
|
||||
|
|
Loading…
Add table
Reference in a new issue