baskerville / bspwm

A tiling window manager based on binary space partitioning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My bspwm takes like a second or two to respond to every keybinding followed by the modkey.

bigbuny opened this issue · comments

My bspwm takes like a second or two to respond to every keybinding followed by the modkey, The applications does' nt seem any laggy at all, But the X window system (bspwm) is hell'a laggy, this actually happened all of a sudden. I Appreciate any help towards this issue.

my bspwm config file:

#! /bin/sh
pgrep -x sxhkd > /dev/null || sxhkd &

bspc monitor -d I II III IV V VI VII VIII IX X

bspc config border_width         3
bspc config window_gap           12

#Presel!
bspc config automatic_scheme presel

bspc config split_ratio          0.50
bspc config borderless_monocle   true
bspc config gapless_monocle      true
bspc config single_monocle       false
bspc config click_to_focus       true

#### Dracula Theme ####
bspc config normal_border_color "#44475a"
bspc config focused_border_color "#bd93f9"
bspc config active_border_color "#ff79c6"
bspc config presel_feedback_color "#6272a4"

bspc rule -a Gimp desktop='^8' state=floating follow=on
bspc rule -a Chromium desktop='^2'
bspc rule -a mplayer2 state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off

Edit:- The issue persists even when i disabled picom compositor at the .xinitrc. It's a real pain in my ass

My keys are also lagging after update, I guess its due to heat in India that my PC became slow, and it might be due to overheating and sxhkd not working properly, lag is only their if I do heavy work like unreal engine 5.3 game Dev. Using arch btw

My keys are also lagging after update, I guess its due to heat in India that my PC became slow, and it might be due to overheating and sxhkd not working properly, lag is only their if I do heavy work like unreal engine 5.3 game Dev. Using arch btw

I am from India too. lol, 'heat in India' is not exactly the reason in my case, it was fish that turned my X11 a little slow, I had a .sh script to start whenever I open fish and as I had fish as the default in tty1, it might have caused a slack time or something.

But you should luuk up for a cooler or an AC room.

if you run sxhkd with SXHKD_SHELL=/usr/bin/dash for example in your environment, it will use dash instead of fish (your login shell) which will be substantially faster.

The easiest way to do this, if you start sxhkd from a bspwmrc shell script, is to start sxhkd as SXHKD_SHELL=/usr/bin/dash sxhkd & instead of just sxhkd &.

if you run sxhkd with SXHKD_SHELL=/usr/bin/dash for example in your environment, it will use dash instead of fish (your login shell) which will be substantially faster.

I will consider that! Thank you.

My keys are also lagging after update, I guess its due to heat in India that my PC became slow, and it might be due to overheating and sxhkd not working properly, lag is only their if I do heavy work like unreal engine 5.3 game Dev. Using arch btw

I am from India too. lol, 'heat in India' is not exactly the reason in my case, it was fish that turned my X11 a little slow, I had a .sh script to start whenever I open fish and as I had fish as the default in tty1, it might have caused a slack time or something.

But you should luuk up for a cooler or an AC room.

I found my error, it was actually cronie the time shift daemon, idk why but when I turn on cronie my PC can't even run 1080p video on yt, as soon as I disabled it, my PC became super computer, running minecraft, 5 yt video on 1080, unreal engine 5, vs codium, discord, gmmet streaming without lag and on 10gb ram 48% CPU usage, again I start3d cronie and got ducked, it might be that I have setup so many backups but don't have enough storage for it I thought 100 gb DRive will be enough, but then I switched to 1 backup per hrs, still PC is slow, I deleted cronie and kaboom again super computer

My bspwm takes like a second or two to respond to every keybinding followed by the modkey, The applications does' nt seem any laggy at all, But the X window system (bspwm) is hell'a laggy, this actually happened all of a sudden. I Appreciate any help towards this issue.

my bspwm config file:

#! /bin/sh
pgrep -x sxhkd > /dev/null || sxhkd &

bspc monitor -d I II III IV V VI VII VIII IX X

bspc config border_width         3
bspc config window_gap           12

#Presel!
bspc config automatic_scheme presel

bspc config split_ratio          0.50
bspc config borderless_monocle   true
bspc config gapless_monocle      true
bspc config single_monocle       false
bspc config click_to_focus       true

#### Dracula Theme ####
bspc config normal_border_color "#44475a"
bspc config focused_border_color "#bd93f9"
bspc config active_border_color "#ff79c6"
bspc config presel_feedback_color "#6272a4"

bspc rule -a Gimp desktop='^8' state=floating follow=on
bspc rule -a Chromium desktop='^2'
bspc rule -a mplayer2 state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off

Edit:- The issue persists even when i disabled picom compositor at the .xinitrc. It's a real pain in my ass

Ayo bud Dracula theme too lol, I use my desktop (gtk, qt5, qt6, kvantum) as Dracula but the place where I could edit my themes its arch Linux, yes I made my own color palette and all the colors have been taken from archlinux.org it looks good the blue acent and all

I would like to have a look at it, any unixporn links?

I would like to have a look at it, any unixporn links?

https://www.reddit.com/r/unixporn/comments/1b7xemx/bspwm_dracula_darkerw/
Itscdracula theme, my own arch color palette just change bspwn border polybar color more vibrant and alacritty that's it, its still like this only (unixporn one)