Closed Ouxyre closed 10 months ago
bspwmrc is a shell script so you have to run your programs in the background so they don't stop the script from running. Put an amersand after nitrogen and picom.
Both methods work, it's really a matter of preference
#! /bin/sh
pgrep -x sxhkd > /dev/null || sxhkd &
setxkbmap us &
nitrogen --restore &
picom &
bspc config border_width 2
bspc config window_gap 12
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config focus_follows_pointer true
bspc monitor -d I II III IV V VI VII VIII IX X
bspc rule -a Gimp desktop='^8' state=floating follow=on
And make sure it is executable by running chmod +x ~/.config/bspwm/bspwmrc
( or wherever your rc is located )
By the way, feh
is a much lightweight solution both for image viewing and wallpapers, after installing it just do feh --bg-fill /path/to/wallpaper
or feh --bg-fill -z /path/to/folder
for a random wallpaper from a directory
System information:
OS: Arch Linux x86_64 Host: 20KN003XUS ThinkPad E480 Kernel: 6.3.1-zen1-1-zen Uptime: 4 mins Packages: 512 (pacman) Shell: bash 5.1.16 Resolution: 1920x1080 WM: bspwm Theme: Adwaita [GTK2/3] Icons: Adwaita [GTK2/3] Terminal: kitty CPU: Intel i5-8250U (8) @ 3.400GHz GPU: Intel UHD Graphics 620 Memory: 1874MiB / 15758MiB
Yes I have the file marked as executable and so is sxhkd. I tried looking everywhere but I just cannot seem to figure out why it does not run when I log in. I am not aware of any error messages. My session manager is sddm. Below are the files configs
bspwmrc config
sddm conf
Sorry for editing so many times, this is my first time posting a issue.