feat: added support for two monitors
This commit is contained in:
parent
cead788a4a
commit
c940777406
4 changed files with 24 additions and 2 deletions
5
conky/start.sh
Executable file
5
conky/start.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
killall conky
|
||||
conky &
|
||||
conky -y -1440 &
|
16
i3/config
16
i3/config
|
@ -12,9 +12,22 @@ exec --no-startup-id numlockx
|
|||
exec --no-startup-id nm-applet
|
||||
exec_always --no-startup-id feh --bg-scale ~/Pictures/Wallpapers/wall.png
|
||||
exec_always --no-startup-id ~/.config/polybar/launch.sh
|
||||
exec --no-startup-id conky
|
||||
exec --no-startup-id picom
|
||||
exec --no-startup-id xset r rate 250 25
|
||||
exec --no-startup-id xrandr --output DP-0 --auto --above DP-2
|
||||
exec --no-startup-id xrdb -load ~/.Xdefaults
|
||||
exec --no-startup-id ~/.config/conky/start.sh
|
||||
|
||||
workspace 1 output DP-2
|
||||
workspace 2 output DP-2
|
||||
workspace 3 output DP-2
|
||||
workspace 4 output DP-2
|
||||
workspace 5 output DP-2
|
||||
workspace 6 output DP-0
|
||||
workspace 7 output DP-0
|
||||
workspace 8 output DP-0
|
||||
workspace 9 output DP-0
|
||||
workspace 10 output DP-0
|
||||
|
||||
# Lockscreen.
|
||||
bindsym $mod+Shift+x exec --no-startup-id ~/scripts/lock.sh
|
||||
|
@ -164,6 +177,7 @@ mode "resize" {
|
|||
bindsym $mod+r mode "resize"
|
||||
|
||||
default_border pixel 0
|
||||
for_window [all] border pixel 0
|
||||
|
||||
# set primary gruvbox colorscheme colors
|
||||
set $bg #1d2021
|
||||
|
|
|
@ -17,6 +17,7 @@ secondary = #e60053
|
|||
alert = #bd2c40
|
||||
|
||||
[bar/top]
|
||||
monitor = ${env:MONITOR:}
|
||||
width = 100%
|
||||
height = 30
|
||||
offset-x = 0%
|
||||
|
|
|
@ -2,4 +2,6 @@
|
|||
|
||||
killall -q polybar
|
||||
|
||||
polybar --config=$HOME/.config/polybar/config.ini top
|
||||
MONITOR=DP-2 polybar --config=$HOME/.config/polybar/config.ini top
|
||||
sleep 1
|
||||
MONITOR=DP-0 polybar --config=$HOME/.config/polybar/config.ini top
|
||||
|
|
Loading…
Reference in a new issue