Skip to main content

PGP signature Error

ยท One min read
Mahmoud Mohammed
Team Leader, Core Dev, Release Manager, Package Maintainer
Free Palestine ๐Ÿ‡ต๐Ÿ‡ธ

If you get invalid or corrupted package (PGP signature) error, Open up The Terminal and do :

  •   sudo pacman -S archlinux-keyring
  •   sudo pacman-key --init
  •   sudo pacman-key --populate

Not resolved yet? Ok, try this

yay -Syy archlinux-keyring

Polybar Modules

ยท 3 min read
Mahmoud Mohammed
Team Leader, Core Dev, Release Manager, Package Maintainer
Free Palestine ๐Ÿ‡ต๐Ÿ‡ธ

weather Modules

  • create an account on OpenWeatherMap
  • go to API page
  • generate an API Key
  • copy the API Key
  • edit ~/.config/bspwm/exodia.conf
  • set weather-API
  • go to OpenWeatherMap
  • search for your city
  • press on the result
  • copy city ID
  • edit ~/.config/bspwm/exodia.conf
  • set weather-city-ID
  • save file and restart polybar (open terminal bspbar)

github-notifications Modules

  • select the classic

  • in Note set the name as you like (e.gPolybar-Notification), in Expiration set to No expiration

  • select notifications

  • copy access tokens

nvim ~/.config/bspwm/exodia.conf
  • set github-username to your username

  • set github-access-token to your accessTokens

Launching Multi Bars (polybar)โ€‹

setup polybar for dual monitor

  • edit ~/.config/bspwm/exodia.conf
  • set multi-bar-monitors to true
  • save file and restart bspwm (ctrl + shift + r)

For older versionโ€‹

I'm gonna apply the steps on Tokyo Theme (same on all themes).

  • run xrandr | grep " connected " | awk '{ print$1 }' to connected monitors

  • edit nvim ~/.config/bspwm/polybar/tokyo/config

  • create new bar [bar/sec]

  • copy everything under [bar/main] (from line No. 41 to line No. 79) as shown down.

  • and set monitor to the second monitor (e.g HDMI-1-0 as it's my second monitor) as shown down.

  • now add the models (e.g as shown down)
modules-left   = xdomenu space LD bspwm RD space LD updates-pacman notification-github netDownSpeed RD space xkeyboard space themes
modules-center = LD mpd RD
modules-right = volume space battery network LD cpu cpuTemp date LD2 info-cava RD2 bna RD space sysmenu
  • now we finished the second bar config

  • to Launch the bar
polybar -q sec -c  ~/.config/bspwm/polybar/tokyo/config &
  • to Launch the bar always

  • edit nvim ~/.config/bspwm/bin/bspbar

  • Add these lines above else(between line No. 100 and 102)
elif [[ "$Bar" == "tokyo" ]]; then

pkill polybar
polybar -q main -c "$DIR"/"$Bar"/config &
polybar -q sec -c "$DIR"/"$Bar"/config &

  • as shown down

  • finally

Changing SDDM user picture

ยท One min read
Mahmoud Mohammed
Team Leader, Core Dev, Release Manager, Package Maintainer
Free Palestine ๐Ÿ‡ต๐Ÿ‡ธ

Changing SDDM user picture

  • copy your pic to /usr/share/sddm/faces/
  • sudo cp IMG.jpg /usr/share/sddm/faces/ (in my case my pic -> IMG.jpg)

  • set pic name to username.face.icon
  • sudo mv IMG.jpg o0xwolf.face.icon

Finally!

Set keyboard Layout

ยท One min read
Mahmoud Mohammed
Team Leader, Core Dev, Release Manager, Package Maintainer
Free Palestine ๐Ÿ‡ต๐Ÿ‡ธ

  • edit ~/.config/bspwm/exodia.conf
  •   nvim ~/.config/bspwm/exodia.conf
  • set keyboard-layouts to your layout(e.g us,ara)
Layouts
  • List Layouts localectl list-x11-keymap-layouts
  • all Layouts

for v2022.12 Release or less

  • edit bspwmrc

  •       nvim ~/.config/bspwm/bspwmrc
  • add

  •   # ----- set keyboard Layout ----- #
    setxkbmap -layout us,ar # add 'us,ar' #
    setxkbmap -option 'grp:alt_shift_toggle' # Alt+Shift -> switch layout #
  • replace us, ar to your language

setup custom monitors config

ยท One min read
Mahmoud Mohammed
Team Leader, Core Dev, Release Manager, Package Maintainer
Free Palestine ๐Ÿ‡ต๐Ÿ‡ธ

bspmonitors
  • the bspmonitors script will auto-configure all connected monitors
  • if you want to add a custom monitors config, add the path to monitors-layouts in the ~/.config/bspwm/exodia.conf
  • use arandr to configure monitors

  • save your configure

  • add configure file path to the monitors-layouts in the ~/.config/bspwm/exodia.conf

for v2022.12 Release or less

  • use arandr to configure monitors

  • save your configure

  • copy the script from ~/.screenlayout/monitors.sh to ~/.config/bspwm/bin/

  • cp ~/.screenlayout/monitors.sh ~/.config/bspwm/bin/

  • mv ~/.config/bspwm/bin/monitors.sh ~/.config/bspwm/bin/monitors

  • then call this script from bspwmrc file

  • edit ~/.config/bspwm/bspwmrc

  • nvim ~/.config/bspwm/bspwmrc

  • save.

  • Restart BSPWM ctrl + shift + r

Adding Music

ยท One min read
Mahmoud Mohammed
Team Leader, Core Dev, Release Manager, Package Maintainer
Free Palestine ๐Ÿ‡ต๐Ÿ‡ธ

bspmonitors

you should add your music to ~/Music directory

  • Open up The Terminal and run
    •     ncmpcpp
      # OR (only for Exodia OS)
      M
  • press 2 to open Song Browser
  • In browser tab, press u to update the Music Database
  • press SPACE to add the songs in your Playlist

Create Your Own Theme

ยท One min read
Mahmoud Mohammed
Team Leader, Core Dev, Release Manager, Package Maintainer
Free Palestine ๐Ÿ‡ต๐Ÿ‡ธ

DWM

currently DWM comes with one theme

you can easily create your themes with the same steps for all WMs

  • Go to ~/.config/bspwm/themes/
  • Copy an existing theme and rename it. (eg:Etherium)
  • Edit theme.conf
  • Generate Color Scheme for the theme using python-pywal
    • wal -i /usr/share/backgrounds/Etherium.jpg
    • add the Color Scheme to colorScheme
    • Hint

      you can use colorPicker to capture colors, press on mod + p to use it

  • Then Edit polybar config
    • warning

      in the polybar modules update the script paths for all modules files

  • Then take a screenshot and save it in the theme directory with name preview.png

Finally!โ€‹


Contributing

do you want to share your theme?

  • Fork bspwm-themes Repo
  • add your theme to the community directory
  • Push your changes to a new branch with dev-${GITHUB-USERNAME}
    • ./git-push.sh -t "dev-mmsaeed509"
  • Submit a pull request