I use the following settings in my .conkyrc
to display a top bar on my laptop screen (LVDS).
background yes
update_interval 60
total_run_times 0
# Show umlauts
override_utf8_locale yes
# Font settings
use_xft yes
xftfont Noto Sans:style=normal:size=10
xftalpha 1
# Run in own window
own_window yes
own_window_class conky
own_window_type desktop
# Semi-transparent background
# http://th0th.me/log/conky-and-semi-transparency/
own_window_transparent no
own_window_argb_visual yes
own_window_argb_value 140
# Don't show in window lists and on all desktops
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour bcbcbc
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color 000000
alignment tl
maximum_width 1265
minimum_size 1265
#gap_x 10
gap_y 3
no_buffers yes
uppercase no
cpu_avg_samples 2
It is displayed as follows at the top of my screen:
Now when plugging in an external monitor, I want to restrict the conky bar always to just my internal LVDS screen instead of displaying it across both screens.
- Output of xrandr without an external monitor connected
- Output of xrandr with external connected and LVDS to the right
- Output of xrandr with external connected and LVDS to the left
Is it possible to tell conky to always stay on LVDS?