bspwm issueshttps://gitlab.manjaro.org/groups/packages/community/bspwm/-/issues2024-02-26T00:03:52Zhttps://gitlab.manjaro.org/packages/community/bspwm/bspwm-scripts/-/issues/2PKGBUILD out of date2024-02-26T00:03:52ZMark WagiePKGBUILD out of date0.39-1 is in the repo, but the PKGBUILD is 0.37-1. `spacefm` is dropped from the repos, needs to be removed from this package.0.39-1 is in the repo, but the PKGBUILD is 0.37-1. `spacefm` is dropped from the repos, needs to be removed from this package.Matti HyttinenMatti Hyttinenhttps://gitlab.manjaro.org/packages/community/bspwm/bspwm-manjaro/-/issues/6fix(bspwmrc): remove obsolete setting paddingless_monocle2024-02-26T00:06:27ZArvinfix(bspwmrc): remove obsolete setting paddingless_monocle```patch
The following changes since commit f7c9dfd963367635a64969919454582f15aa17db:
Update bspwm-manjaro (2019-05-27 22:51:25 +0300)
are available in the Git repository at:
https://gitlab.com/sevillaarvin/bspwm-manjaro.git patch...```patch
The following changes since commit f7c9dfd963367635a64969919454582f15aa17db:
Update bspwm-manjaro (2019-05-27 22:51:25 +0300)
are available in the Git repository at:
https://gitlab.com/sevillaarvin/bspwm-manjaro.git patch-6
for you to fetch changes up to 6436936c370abde0d994801db5a92ab35ecf9be1:
fix(bspwmrc): remove obsolete setting paddingless_monocle (2021-11-17 12:13:35 +0800)
----------------------------------------------------------------
Arvin Sevilla (1):
fix(bspwmrc): remove obsolete setting paddingless_monocle
bspwmrc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/bspwmrc b/bspwmrc
index 48ae050..1b3cf79 100644
--- a/bspwmrc
+++ b/bspwmrc
@@ -15,7 +15,6 @@ bspc config bottom_padding -$gap
bspc config gapless_monocle false #Default setup uses negative padding, and gapless monocle looks really weird like that
bspc config borderless_monocle true
bspc config single_monocle true
-bspc config paddingless_monocle false
#bspc config ignore_ewmh_focus true
#bspc config initial_polarity second_child
bspc config remove_disabled_monitors true
@@ -115,4 +114,4 @@ GRAPHIC_CARD=$(lspci | grep -i "vga" | sed 's/.*://' | sed 's/(.*//' | sed 's/^[
if [[ $(echo $GRAPHIC_CARD | grep -i 'intel\|lenovo') != "" ]]; then MCODE='initrd=\intel-ucode.img'
sed -i 's/"xrender"/"glx"/' ~/.config/compton.conf
grep -q 'vsync = "opengl-swc";' ~/.config/compton.conf || echo 'vsync = "opengl-swc";' >> ~/.config/compton.conf
-fi
\ No newline at end of file
+fi
```Matti HyttinenMatti Hyttinenhttps://gitlab.manjaro.org/packages/community/bspwm/bspwm-manjaro/-/issues/5fix(sxhkdrc): remove missing script window-placer2021-11-17T01:52:59ZArvinfix(sxhkdrc): remove missing script window-placerwindow-placer was deleted. See commit:
https://github.com/Chrysostomus/bspwm-scripts/commit/447f6f12a597cb71dc29d1cd69f2d075c51f28b7
```patch
The following changes since commit f7c9dfd963367635a64969919454582f15aa17db:
Update b...window-placer was deleted. See commit:
https://github.com/Chrysostomus/bspwm-scripts/commit/447f6f12a597cb71dc29d1cd69f2d075c51f28b7
```patch
The following changes since commit f7c9dfd963367635a64969919454582f15aa17db:
Update bspwm-manjaro (2019-05-27 22:51:25 +0300)
are available in the Git repository at:
https://gitlab.com/sevillaarvin/bspwm-manjaro.git patch-5
for you to fetch changes up to 1081e4cfaa32e5838fd8888aa76ee985ad14db59:
fix(sxhkdrc): remove missing script window-placer (2021-11-17 09:49:22 +0800)
----------------------------------------------------------------
Arvin Sevilla (1):
fix(sxhkdrc): remove missing script window-placer
sxhkdrc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sxhkdrc b/sxhkdrc
index 37abcbb..0ec8d4d 100644
--- a/sxhkdrc
+++ b/sxhkdrc
@@ -23,7 +23,7 @@ super + shift + x
super + shift + t
bspc node -t {pseudo_tiled,tiled}
super + t
- {bspc node -t floating && window-placer $(bspc query -T -d | grep -o '"state":"floating"' | wc -l),bspc node -t tiled}
+ bspc node -t floating
# Force all windows of the desktop to tile
super + ctrl + t
bspcp tile
```https://gitlab.manjaro.org/packages/community/bspwm/bspwm-manjaro/-/issues/4chore: bump bspwm version from 0.9.7 to 0.9.102024-02-26T00:07:43ZArvinchore: bump bspwm version from 0.9.7 to 0.9.10Tested on `Linux <---> 5.13.19-2-MANJARO #1 SMP PREEMPT Sun Sep 19 21:31:53 UTC 2021 x86_64 GNU/Linux`
EDIT: Added light as optional dependency.
```patch
The following changes since commit f7c9dfd963367635a64969919454582f15aa17db:
U...Tested on `Linux <---> 5.13.19-2-MANJARO #1 SMP PREEMPT Sun Sep 19 21:31:53 UTC 2021 x86_64 GNU/Linux`
EDIT: Added light as optional dependency.
```patch
The following changes since commit f7c9dfd963367635a64969919454582f15aa17db:
Update bspwm-manjaro (2019-05-27 22:51:25 +0300)
are available in the Git repository at:
https://gitlab.com/sevillaarvin/bspwm-manjaro.git patch-4
for you to fetch changes up to 4126854a50b6bc3174684c6e65528508343e5398:
chore: add light as optional dependency (2021-11-17 09:37:22 +0800)
----------------------------------------------------------------
Arvin Sevilla (2):
chore: bump bspwm version from 0.9.7 to 0.9.10
chore: add light as optional dependency
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD
index 1816a6e..9ea743a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=bspwm
pkgname=${_pkgname}-manjaro
-pkgver=0.9.7
+pkgver=0.9.10
pkgrel=5
pkgdesc='A tiling window manager based on binary space partitioning'
arch=('i686' 'x86_64' 'armv7h')
@@ -18,7 +18,8 @@ depends=('libxcb'
makedepends=('git')
optdepends=('sxhkd-git: to define keyboard and pointer bindings'
'lemonpanel: example panel'
- 'limepanel: i3 style example panel')
+ 'limepanel: i3 style example panel'
+ 'light: to control screen brightness')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("git://github.com/baskerville/${_pkgname}.git")
```
<details>
<summary>OLD</summary>
```patch
The following changes since commit f7c9dfd963367635a64969919454582f15aa17db:
Update bspwm-manjaro (2019-05-27 22:51:25 +0300)
are available in the Git repository at:
https://gitlab.com/sevillaarvin/bspwm-manjaro.git patch-4
for you to fetch changes up to 7c946e75e34819c23571bd768730495204f16835:
chore: bump bspwm version from 0.9.7 to 0.9.10 (2021-11-16 21:49:38 +0800)
----------------------------------------------------------------
Arvin Sevilla (1):
chore: bump bspwm version from 0.9.7 to 0.9.10
PKGBUILD | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PKGBUILD b/PKGBUILD
index 1816a6e..14a7bf0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=bspwm
pkgname=${_pkgname}-manjaro
-pkgver=0.9.7
+pkgver=0.9.10
pkgrel=5
pkgdesc='A tiling window manager based on binary space partitioning'
arch=('i686' 'x86_64' 'armv7h')
```
</details>Matti HyttinenMatti Hyttinenhttps://gitlab.manjaro.org/packages/community/bspwm/bspwm-manjaro/-/issues/3fix(env): move env variables to skel/.profile2021-11-17T03:53:21ZArvinfix(env): move env variables to skel/.profileWhen using super + space, dmenu_recent outputs the following error to
`.xsession-errors`:
```
usage: dmenu [-bfiv] [-l lines] [-p prompt] [-fn font] [-m monitor]
[-h height] [-x xoffset] [-y yoffset] [-w...When using super + space, dmenu_recent outputs the following error to
`.xsession-errors`:
```
usage: dmenu [-bfiv] [-l lines] [-p prompt] [-fn font] [-m monitor]
[-h height] [-x xoffset] [-y yoffset] [-w width]
[-nb color] [-nf color] [-sb color] [-sf color] [-w windowid]
```
I believe this error occurs because **$PANEL_HEIGHT** is empty/null since it is only defined in bspwmrc.
<details>
<summary>OLD</summary>
To share variables between `bspwmrc` and `sxhkdrc`, they are moved to a separate env file and sourced in the `bspwm-session` script.
I am unsure what the correct approach is on this one. See proposed patch below:
```patch
The following changes since commit f7c9dfd963367635a64969919454582f15aa17db:
Update bspwm-manjaro (2019-05-27 22:51:25 +0300)
are available in the Git repository at:
https://gitlab.com/sevillaarvin/bspwm-manjaro.git patch-3
for you to fetch changes up to 3339669ca3abdf14cbdd67d3e2b5ee250896d40a:
fix(env): move env variables to separate file (2021-11-16 19:07:05 +0800)
----------------------------------------------------------------
Arvin Sevilla (1):
fix(env): move env variables to separate file
PKGBUILD | 1 +
bspwm-session | 3 +++
bspwmenv | 5 +++++
bspwmrc | 4 ----
4 files changed, 9 insertions(+), 4 deletions(-)
create mode 100644 bspwmenv
diff --git a/PKGBUILD b/PKGBUILD
index 1816a6e..9952b93 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -45,4 +45,5 @@ package() {
install -Dm755 "$startdir/sxhkdrc" "$pkgdir/etc/skel/.config/sxhkd/sxhkdrc"
install -Dm755 "$startdir/sxhkdrc-minimal" "$pkgdir/etc/skel/.config/sxhkd/sxhkdrc-minimal"
install -Dm755 "$startdir/bspwmrc" "$pkgdir/etc/skel/.config/bspwm/bspwmrc"
+ install -Dm755 "$startdir/bspwmenv" "$pkgdir/etc/skel/.config/bspwm/bspwmenv"
}
diff --git a/bspwm-session b/bspwm-session
index 2ddc4ee..d878d6c 100644
--- a/bspwm-session
+++ b/bspwm-session
@@ -28,6 +28,9 @@ for file in /etc/profile ${HOME}/.profile ${HOME}/.config/bspwm/autostart ; do
[ -r "${file}" ] && . "${file}"
done
+# Source env variables
+. ${HOME}/.config/bspwm/bspwmenv
+
# Launch sxhkd:
[ -e /bin/dash ] && export SXHKD_SHELL="/bin/dash"
sxhkd &
diff --git a/bspwmenv b/bspwmenv
new file mode 100644
index 0000000..dc46aa8
--- /dev/null
+++ b/bspwmenv
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+export gap=15
+export PANEL_HEIGHT=25
+
diff --git a/bspwmrc b/bspwmrc
index 48ae050..8a22923 100644
--- a/bspwmrc
+++ b/bspwmrc
@@ -1,8 +1,4 @@
#! /bin/sh
-gap=15
-PANEL_HEIGHT=25
-export gap
-export PANEL_HEIGHT
#This creates negative padding equal to window gap so that gaps are shown only between windows and not on desktop edges.
bspc config window_gap $gap;
```
</details>
EDIT:
Proposed solution is to add env variables to `.profile`
```patch
The following changes since commit f7c9dfd963367635a64969919454582f15aa17db:
Update bspwm-manjaro (2019-05-27 22:51:25 +0300)
are available in the Git repository at:
https://gitlab.com/sevillaarvin/bspwm-manjaro.git patch-3
for you to fetch changes up to bc53bed678c2f2d21747ad719357301216787683:
fix(install): add default env variables to skel/.profile (2021-11-17 11:47:39 +0800)
----------------------------------------------------------------
Arvin Sevilla (2):
fix(env): move env variables to separate file
fix(install): add default env variables to skel/.profile
bspwm-manjaro.install | 14 +++++++++++++-
bspwmrc | 4 ----
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/bspwm-manjaro.install b/bspwm-manjaro.install
index 82b4637..3913926 100644
--- a/bspwm-manjaro.install
+++ b/bspwm-manjaro.install
@@ -37,4 +37,16 @@ post_upgrade() {
post_install() {
[ -e /usr/bin/mygtkmenui ] || cp /etc/skel/.config/sxhkdrc/sxhkdrc-minimal /etc/skel/.config/sxhkdrc/sxhkdrc
-}
\ No newline at end of file
+
+ profile=/etc/skel/.profile
+ if ! [ -f $profile ]
+ then
+ touch $profile
+ fi
+
+ grep -q "export TERMINAL" $profile || echo export TERMINAL=xfce4-terminal >> $profile
+ grep -q "export BROWSER" $profile || echo export BROWSER=firefox >> $profile
+ grep -q "export GUI_EDITOR" $profile || echo export GUI_EDITOR=code >> $profile
+ grep -q "export gap" $profile || echo export gap=15 >> $profile
+ grep -q "export PANEL_HEIGHT" $profile || echo export PANEL_HEIGHT=25 >> $profile
+}
diff --git a/bspwmrc b/bspwmrc
index 48ae050..8a22923 100644
--- a/bspwmrc
+++ b/bspwmrc
@@ -1,8 +1,4 @@
#! /bin/sh
-gap=15
-PANEL_HEIGHT=25
-export gap
-export PANEL_HEIGHT
#This creates negative padding equal to window gap so that gaps are shown only between windows and not on desktop edges.
bspc config window_gap $gap;
```https://gitlab.manjaro.org/packages/community/bspwm/bspwm-manjaro/-/issues/2fix(bspwmrc): add auto detect for common panel/bar2024-02-26T00:08:18ZArvinfix(bspwmrc): add auto detect for common panel/bar~~Since limepanel is an optional package, it should not be enabled in the default config file.~~
EDIT: Add feature detection instead.
```patch
The following changes since commit f7c9dfd963367635a64969919454582f15aa17db:
Update bspwm...~~Since limepanel is an optional package, it should not be enabled in the default config file.~~
EDIT: Add feature detection instead.
```patch
The following changes since commit f7c9dfd963367635a64969919454582f15aa17db:
Update bspwm-manjaro (2019-05-27 22:51:25 +0300)
are available in the Git repository at:
https://gitlab.com/sevillaarvin/bspwm-manjaro.git patch-2
for you to fetch changes up to ee688f050591ba525eaf060f0502f458efab58f3:
fix(bspwmrc): add auto detect for common panel/bar (2021-11-17 09:44:22 +0800)
----------------------------------------------------------------
Arvin Sevilla (2):
fix(bspwmrc): comment out optional package limepanel
fix(bspwmrc): add auto detect for common panel/bar
bspwmrc | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/bspwmrc b/bspwmrc
index 48ae050..05d2409 100644
--- a/bspwmrc
+++ b/bspwmrc
@@ -107,12 +107,23 @@ bspc config external_rules_command /usr/bin/pseudo_automatic_mode
##Autostart apps
#Keybindings daemon
#sxhkd &
+
#Source autostartfile. Uncomment this if you use bspwm-git
#. $HOME/.config/bspwm/autostart
-limepanel &
+if command -v limepanel
+then
+ limepanel &
+elif command -v polybar && [ -f $HOME/.config/polybar/config ]
+then
+ for bar in $(sed -n -E 's/\[bar\/(.*)]/\1/p' $HOME/.config/polybar/config)
+ do
+ polybar "$bar" &
+ done
+fi
+
# Alter compton settings if using intel graphics
GRAPHIC_CARD=$(lspci | grep -i "vga" | sed 's/.*://' | sed 's/(.*//' | sed 's/^[ \t]*//')
if [[ $(echo $GRAPHIC_CARD | grep -i 'intel\|lenovo') != "" ]]; then MCODE='initrd=\intel-ucode.img'
sed -i 's/"xrender"/"glx"/' ~/.config/compton.conf
grep -q 'vsync = "opengl-swc";' ~/.config/compton.conf || echo 'vsync = "opengl-swc";' >> ~/.config/compton.conf
-fi
\ No newline at end of file
+fi
```
<details>
<summary>OLD</summary>
```patch
The following changes since commit f7c9dfd963367635a64969919454582f15aa17db:
Update bspwm-manjaro (2019-05-27 22:51:25 +0300)
are available in the Git repository at:
https://gitlab.com/sevillaarvin/bspwm-manjaro.git patch-2
for you to fetch changes up to 4d3f1bba088add8fb3c24276324cfaf1182c6b66:
fix(bspwmrc): comment out optional package limepanel (2021-11-16 18:34:23 +0800)
----------------------------------------------------------------
Arvin Sevilla (1):
fix(bspwmrc): comment out optional package limepanel
bspwmrc | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/bspwmrc b/bspwmrc
index 48ae050..ebda6ff 100644
--- a/bspwmrc
+++ b/bspwmrc
@@ -107,12 +107,14 @@ bspc config external_rules_command /usr/bin/pseudo_automatic_mode
##Autostart apps
#Keybindings daemon
#sxhkd &
+
#Source autostartfile. Uncomment this if you use bspwm-git
#. $HOME/.config/bspwm/autostart
-limepanel &
+# limepanel &
+
# Alter compton settings if using intel graphics
GRAPHIC_CARD=$(lspci | grep -i "vga" | sed 's/.*://' | sed 's/(.*//' | sed 's/^[ \t]*//')
if [[ $(echo $GRAPHIC_CARD | grep -i 'intel\|lenovo') != "" ]]; then MCODE='initrd=\intel-ucode.img'
sed -i 's/"xrender"/"glx"/' ~/.config/compton.conf
grep -q 'vsync = "opengl-swc";' ~/.config/compton.conf || echo 'vsync = "opengl-swc";' >> ~/.config/compton.conf
-fi
\ No newline at end of file
+fi
```
</details>Matti HyttinenMatti Hyttinenhttps://gitlab.manjaro.org/packages/community/bspwm/bspwm-manjaro/-/issues/1fix(install): change .config/sxhkdrc to .config/sxhkd2021-11-16T09:58:19ZArvinfix(install): change .config/sxhkdrc to .config/sxhkdOn install, an error occurs because of folder mismatch:
```sh
cp: cannot stat '/etc/skel/.config/sxhkdrc/sxhkdrc-minimal': No such file or directory
```
See request-pull below:
```patch
The following changes since comm...On install, an error occurs because of folder mismatch:
```sh
cp: cannot stat '/etc/skel/.config/sxhkdrc/sxhkdrc-minimal': No such file or directory
```
See request-pull below:
```patch
The following changes since commit f7c9dfd963367635a64969919454582f15aa17db:
Update bspwm-manjaro (2019-05-27 22:51:25 +0300)
are available in the Git repository at:
https://gitlab.com/sevillaarvin/bspwm-manjaro.git patch-1
for you to fetch changes up to 901817e0fa84acfbf28ec4ea02fafd241f974cd5:
fix(install): change .config/sxhkdrc to .config/sxhkd (2021-11-16 17:42:10 +0800)
----------------------------------------------------------------
Arvin Sevilla (1):
fix(install): change .config/sxhkdrc to .config/sxhkd
bspwm-manjaro.install | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bspwm-manjaro.install b/bspwm-manjaro.install
index 82b4637..5751c94 100644
--- a/bspwm-manjaro.install
+++ b/bspwm-manjaro.install
@@ -36,5 +36,5 @@ post_upgrade() {
}
post_install() {
- [ -e /usr/bin/mygtkmenui ] || cp /etc/skel/.config/sxhkdrc/sxhkdrc-minimal /etc/skel/.config/sxhkdrc/sxhkdrc
-}
\ No newline at end of file
+ [ -e /usr/bin/mygtkmenui ] || cp /etc/skel/.config/sxhkd/sxhkdrc-minimal /etc/skel/.config/sxhkd/sxhkdrc
+}
```