questionAsker

joined 1 year ago
[–] questionAsker@lemmy.ml 2 points 1 day ago

newsboat is a gem.

[–] questionAsker@lemmy.ml 1 points 3 days ago (2 children)

Can you elaborate? Do you use it that way?

[–] questionAsker@lemmy.ml 6 points 4 days ago (4 children)

I'm opposite to you - android is stop factor for me:) Much appreciated since Boox is smth new for me.

[–] questionAsker@lemmy.ml 1 points 4 days ago (4 children)

Thx! How can you describe you reading experience (especially outside) ? Is device durable?

 

Kobo Clara BW VS newest paperwhite VS smth less popular but still good. Not interested in color. Libra 2 seems very interesting but very hard to find.

[–] questionAsker@lemmy.ml 1 points 10 months ago (1 children)

Sadly, popup window name is same as for vscode itself. I will have a look on that script, that's something to begin with. I use only one monitor at time, I don't use "extended mode". And what I really want - to transfer already opened applications to workspaces from different monitor: I have vscode opened on 4th workspace on laptop, after I plug in external monitor and setup xrandr for it, than I turn it off and want to continue working with vscode on 4th workspace on latop. Right now this is not possible from the box.

 
  1. I have a rule for vscode: bspc rule -a Code follow=on desktop='^4'. If I manually move one vscode instance to another workspace, work in that and than drag'n'drop smth (or any other action initiating popup menu), dialog will appear on 4th workspace rather than on current one. How to fix that?
  2. How to transfer workspaces(applications on them) correctly in the easiest way when switching to external monitor and returning?
[–] questionAsker@lemmy.ml 1 points 1 year ago

Yes.

It's easy way to learn things without fear to break something, can herbstluftwm use sxhkd?

Easily but why?

[–] questionAsker@lemmy.ml 1 points 1 year ago* (last edited 1 year ago) (2 children)

Sir, you are magician, addition to script did the trick!

Will definitely play with autorandr, because if I understood you correctly, it can automatically reload bspwm listening to certain events.

Right now I'm trying master (or understand, at least) QEMU, can you recommend me some combination with sane defaults (for ex mint + installer for herb) I can play on vm?

Thank you!

[–] questionAsker@lemmy.ml 1 points 1 year ago* (last edited 1 year ago) (4 children)

So I played around arandr and resolved initial issue...but got another one (as always). I added script to my bspwmrc file:

if [[ $(xrandr -q | grep "DP-1 disconnected") ]];
then
    xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --off
    bspc monitor eDP-1 -d 1 2 3 4 5
else
    xrandr --output eDP-1 --off --output DP-1 --mode 1680x1050 --pos 0x0 --rotate normal --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --off
    bspc monitor DP-1 -d  1 2 3 4 5
fi

So if i plug external monitor and reload bspwm (which also reloads polybar), it adds second pane to my polybar (1 2 3 4 5 1 2 3 4 5), but works.

Now smth interesting, when I unplug external monitor and then again reload bspwm, it switches to internal one but now cuts window for every application.

  • Question 1: how to get rid of multiple workspaces on polybar when I toggle external monitor?
  • Question 2: how to force bspwm respect resolution after switching resolutions?
[–] questionAsker@lemmy.ml 1 points 1 year ago

I use dummy script to toggle monitors (from archwiki)

#!/bin/sh
intern=eDP-1
extern=DP-1

if xrandr | grep "$extern disconnected"; then
    xrandr --output "$extern" --off --output "$intern" --auto
else
    xrandr --output "$intern" --off --output "$extern" --auto
fi

Hm, never used arandr but it's similar to XFCE utlity on the first sight.

You setup profile where one display is enabled, another disabled, name him "external" and active in arandr every time connecting to external monitor, correct?

[–] questionAsker@lemmy.ml 1 points 1 year ago* (last edited 1 year ago) (5 children)

I turn of internal display and enable external by script, I don't use mirroring or extending

Here is xrandr output:

spoiler

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 173mm
   1920x1080     60.00*+  59.97    59.96    59.93
   1680x1050     59.95    59.88
   1400x1050     59.98
   1600x900      59.99    59.94    59.95    59.82
   1280x1024     60.02
   1400x900      59.96    59.88
   1280x960      60.00
   1440x810      60.00    59.97
   1368x768      59.88    59.85
   1280x800      59.99    59.97    59.81    59.91
   1280x720      60.00    59.99    59.86    59.74
   1024x768      60.04    60.00
   960x720       60.00
   928x696       60.05
   896x672       60.01
   1024x576      59.95    59.96    59.90    59.82
   960x600       59.93    60.00
   960x540       59.96    59.99    59.63    59.82
   800x600       60.00    60.32    56.25
   840x525       60.01    59.88
   864x486       59.92    59.57
   700x525       59.98
   800x450       59.95    59.82
   640x512       60.02
   700x450       59.96    59.88
   640x480       60.00    59.94
   720x405       59.51    58.99
   684x384       59.88    59.85
   640x400       59.88    59.98
   640x360       59.86    59.83    59.84    59.32
   512x384       60.00
   512x288       60.00    59.92
   480x270       59.63    59.82
   400x300       60.32    56.34
   432x243       59.92    59.57
   320x240       60.05
   360x202       59.51    59.13
   320x180       59.84    59.32
DP-1 connected (normal left inverted right x axis y axis)
   1680x1050     59.95 +
   1920x1080     60.00    50.00    59.94
   1920x1080i    60.00    50.00    59.94
   1600x1000     60.01
   1280x1024     75.02    60.02
   1440x900      59.90
   1280x960      60.00
   1152x864      75.00
   1280x720      60.00    50.00    59.94
   1152x720      59.97
   1024x768      75.03    60.00
   832x624       74.55
   800x600       75.00    60.32
   720x576       50.00
   720x480       60.00    59.94
   640x480       75.00    60.00    59.94
   720x400       70.08
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)

[–] questionAsker@lemmy.ml 2 points 1 year ago (9 children)

I also don't mirror, just switch from laptop to external and vice versa. Strange because lighdtm doesn't break anything for XFCE, quite interesting what is the reason

maybe I'm just one of very few that have external resolution lower than host

[–] questionAsker@lemmy.ml 1 points 1 year ago

lightdm on both machines, any tips (besides installing xfce settings) how to achieve this scaling?:) strange, but I will try sddm

 

BSPWM, laptop has 1920x1080 resolution, external screen has 1680x1050. xrandr --output DP-1 1680x1050 cuts image, if I change resolution to 1920x1080, I get "full" image, but quality is just bad. I have another machine with XFCE, it's display utility does the trick and I wonder can I achieve smth similar on BSPWM with some simple console command?

 

bspc monitor X creates workspace. And I want to focus immediately on that window. Bspc newest selects the newest desktop in the history of the focused desktops. How I can achieve that?

 

Hi, can I create modules in polybar with similar functionality? (hovering which shows some text and add nice underline and also drop down menu, for example pavucontrol for pulseaudio)

view more: next ›