diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index d53ed8d..0000000 --- a/LICENSE.md +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) -===================== - -Copyright (c) `2016` `Ryan Kes` - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/LICENSE.org b/LICENSE.org new file mode 100644 index 0000000..ed45650 --- /dev/null +++ b/LICENSE.org @@ -0,0 +1,25 @@ +* The MIT License (MIT) + :PROPERTIES: + :CUSTOM_ID: the-mit-license-mit + :END: + +Copyright (c) =2016= =Ryan Kes= + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md deleted file mode 100644 index 2e77bd3..0000000 --- a/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Legacy Dotfiles - -Old dotfiles that I don't use anymore - -# License - -This theme is released under the MIT License. For more information read the [license][license]. - -[license]: https://github.com/alrayyes/legacy-dotfiles/blob/master/LICENSE.md diff --git a/README.org b/README.org new file mode 100644 index 0000000..5b0d6c2 --- /dev/null +++ b/README.org @@ -0,0 +1,20 @@ +* Legacy Dotfiles + :PROPERTIES: + :CUSTOM_ID: legacy-dotfiles + :END: + +Old dotfiles that I don't use anymore + - [[https://dwm.suckless.org/][dwm]] + - [[https://i3wm.org/][i3wm]] + - [[https://moc.daper.net/][moc]] + - [[https://www.newsbeuter.org/][newsbeuter]] + - [[https://github.com/davatorium/rofi][rofi]] + - [[https://www.spacemacs.org/][spacemacs]] + +* License + :PROPERTIES: + :CUSTOM_ID: license + :END: + +This theme is released under the MIT License. For more information read +the [[LICENSE.org][license]]. diff --git a/dwm/.Xresources.desktop b/dwm/.Xresources.desktop new file mode 100644 index 0000000..8afabd0 --- /dev/null +++ b/dwm/.Xresources.desktop @@ -0,0 +1,8 @@ +!------------------------------------------------------------------------------- +! Xft settings +!------------------------------------------------------------------------------- + +Xft.antialias: false +Xft.rgba: rgb +Xft.hinting: true +Xft.hintstyle: hintslight diff --git a/dwm/.Xresources.thinkpad b/dwm/.Xresources.thinkpad new file mode 100644 index 0000000..34e2b28 --- /dev/null +++ b/dwm/.Xresources.thinkpad @@ -0,0 +1,9 @@ +!------------------------------------------------------------------------------- +! Xft settings +!------------------------------------------------------------------------------- + +Xft.dpi: 160 +Xft.antialias: false +Xft.rgba: rgb +Xft.hinting: true +Xft.hintstyle: hintslight diff --git a/dwm/.dwm/autostart.sh b/dwm/.dwm/autostart.sh new file mode 100755 index 0000000..8bfe46e --- /dev/null +++ b/dwm/.dwm/autostart.sh @@ -0,0 +1,61 @@ +#!/bin/sh + +# Set working directory to home +cd ~ + +# Set screen orientation if second monitor is connected +SCREENCOUNT=$(xrandr | grep -c "\*") + +# If multi screen add special mode for monitor so it supports 1440p over HDMI +if [ "$SCREENCOUNT" -eq 2 ] +then + if [ -f "$HOME/.local/bin/screen_desktop" ] + then + screen_desktop + # Make sure mouse is on main screen so windows are launched there + xdotool mousemove 3360 1080 + fi +else + if [ -f "$HOME/.local/bin/screen" ] + then + screen + fi +fi + +# lock screen after x minutes and on laptop close lid +xautolock -time 10 -locker ~/.local/bin/lock & +xss-lock -- ~/.local/bin/lock & +xcompmgr & +sxhkd & + +if [ -e ~/.cache/wall1.png ] && [ -e ~/.cache/wall2.png ] +then + xwallpaper --output HDMI-2 --zoom ~/.cache/wall2.png --output DP-1 --zoom ~/.cache/wall1.png & +elif [ -e ~/.cache/wall1.png ] +then + xwallpaper --output eDP1 --zoom ~/.cache/wall1.png & +fi + +# switch off microphones +amixer -c 2 set Mic nocap +amixer -c 3 set Mic nocap + +unclutter & +dunst & +slstatus & + +redshift-gtk & +nm-applet & +syncthing-gtk & +gpodder & + +exec st -c tmux -e tmux & +exec spotify & + +if [ -e /usr/bin/firefox ] +then + exec firefox & +elif [ -e /usr/bin/iceweasel ] +then + exec iceweasel & +fi diff --git a/dwm/.local/bin/lock b/dwm/.local/bin/lock new file mode 100755 index 0000000..5e4b869 --- /dev/null +++ b/dwm/.local/bin/lock @@ -0,0 +1,3 @@ +#!/bin/sh + +gllock diff --git a/dwm/.local/bin/maimpick b/dwm/.local/bin/maimpick new file mode 100755 index 0000000..3e01f74 --- /dev/null +++ b/dwm/.local/bin/maimpick @@ -0,0 +1,12 @@ +#!/bin/sh + +TIMESTAMP=$(date '+%Y-%m-%d-%H%M%S') + +case "$(printf "a selected area\\ncurrent window\\nfull screen\\na selected area (copy)\\ncurrent window (copy)\\nfull screen (copy)" | dmenu -l 6 -i -p "Screenshot which area?")" in + "a selected area") maim -s ~/Pictures/Screenshots/pic-selected-"$TIMESTAMP".png && notify-send -i ~/Pictures/Screenshots/pic-selected-"$TIMESTAMP".png "Desktop Screenshot pic-selected-$TIMESTAMP.png" ;; + "current window") maim -i "$(xdotool getactivewindow)" ~/Pictures/Screenshots/pic-window-"$TIMESTAMP".png && notify-send -i ~/Pictures/Screenshots/pic-window-"$TIMESTAMP".png "Desktop Screenshot pic-window-$TIMESTAMP.png";; + "full screen") maim ~/Pictures/Screenshots/pic-full-"$TIMESTAMP".png && notify-send -i ~/Pictures/Screenshots/pic-full-"$TIMESTAMP".png "Desktop Screenshot pic-full-$TIMESTAMP.png" ;; + "a selected area (copy)") maim -s | xclip -selection clipboard -t image/png ;; + "current window (copy)") maim -i "$(xdotool getactivewindow)" | xclip -selection clipboard -t image/png ;; + "full screen (copy)") maim | xclip -selection clipboard -t image/png ;; +esac diff --git a/dwm/.local/bin/screen_desktop b/dwm/.local/bin/screen_desktop new file mode 100755 index 0000000..cab8768 --- /dev/null +++ b/dwm/.local/bin/screen_desktop @@ -0,0 +1,6 @@ +#!/bin/sh + +xrandr --newmode "2560x1440_40" 201.00 2560 2720 2984 3408 1440 1443 1448 1476 -hsync +vsync +xrandr --addmode HDMI-2 2560x1440_40 + +xrandr --output VGA-1 --off --output DP-1 --primary --mode 3840x2160 --rotate normal --output HDMI-3 --off --output HDMI-2 --mode 2560x1440_40 --pos 0x0 --rotate left --output HDMI-1 --off diff --git a/dwm/.xinitrc b/dwm/.xinitrc new file mode 100644 index 0000000..e726a86 --- /dev/null +++ b/dwm/.xinitrc @@ -0,0 +1,14 @@ +setxkbmap -option caps:escape + +[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources + +# Enable numberlock +if [ -x /usr/bin/numlockx ]; then + /usr/bin/numlockx on +fi + +export _JAVA_AWT_WM_NONREPARENTING=1 +export AWT_TOOLKIT=MToolkit +wmname LG3D + +exec bspwm diff --git a/polybar/.config/polybar/bin/isactive-bluetooth/README.md b/polybar/.config/polybar/bin/isactive-bluetooth/README.md deleted file mode 100644 index a97abb0..0000000 --- a/polybar/.config/polybar/bin/isactive-bluetooth/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# Script: isactive-bluetooth - -A script that shows if bluetooth is on or off. - - -## Module - -```ini -[module/isactive-bluetooth] -type = custom/script -exec = ~/polybar-scripts/isactive-bluetooth.sh -interval = 10 -``` diff --git a/polybar/.config/polybar/bin/isactive-bluetooth/isactive-bluetooth.sh b/polybar/.config/polybar/bin/isactive-bluetooth/isactive-bluetooth.sh deleted file mode 100644 index f16935f..0000000 --- a/polybar/.config/polybar/bin/isactive-bluetooth/isactive-bluetooth.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -if [ "$(systemctl is-active bluetooth.service)" = "active" ]; then - echo "" -else - echo "" -fi diff --git a/polybar/.config/polybar/bin/player-mpris-tail/README.md b/polybar/.config/polybar/bin/player-mpris-tail/README.md deleted file mode 100644 index 0558c10..0000000 --- a/polybar/.config/polybar/bin/player-mpris-tail/README.md +++ /dev/null @@ -1,25 +0,0 @@ -# Script: player-mpris-tail - -This script displays the current track and the play-pause status without polling. Information is obtained by listening to MPRIS events, so it is updated instantaneously on change. - -![player-mpris-tail](screenshots/1.png) - -![player-mpris-tail](screenshots/2.png) - - -## Dependencies - -* [playerctl](https://github.com/acrisci/playerctl) - - -## Module - -```ini -[module/player-mpris-tail] -type = custom/script -exec = ~/polybar-scripts/player-mpris-tail.py -tail = true -click-left = ~/polybar-scripts/player-ctrl.sh previous -click-right = ~/polybar-scripts/player-ctrl.sh next -click-middle = ~/polybar-scripts/player-ctrl.sh play-pause -``` diff --git a/polybar/.config/polybar/bin/player-mpris-tail/player-ctrl.sh b/polybar/.config/polybar/bin/player-mpris-tail/player-ctrl.sh deleted file mode 100755 index ce83fa2..0000000 --- a/polybar/.config/polybar/bin/player-mpris-tail/player-ctrl.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/env bash - -function listPlayers { - echo "$(dbus-send --session --dest=org.freedesktop.DBus \ - --type=method_call --print-reply /org/freedesktop/DBus \ - org.freedesktop.DBus.ListNames | grep org.mpris.MediaPlayer2 | - awk -F\" '{print $2}' | cut -d '.' -f4- )" -} - -function getPlayerStatus { - playerctl --player="$1" status -} - -function getActivePlayer { - players=($(listPlayers)) - for player in ${players[@]}; do - if [ "$(getPlayerStatus "${player}")" == "Playing" ]; then - playing=$player - fi - done - for player in ${players[@]}; do - if [ "$(getPlayerStatus "${player}")" == "Paused" ]; then - paused=$player - fi - done - if [ -n "$playing" ]; then - echo "$playing" - elif [ -n "$paused" ]; then - echo "$paused" - else - # Return last (newest?) player - echo ${players[@]: -1} - fi -} - -if [ "$1" == "--get-active" ]; then - getActivePlayer -else - exec playerctl --player="$(getActivePlayer)" "$@" -fi diff --git a/polybar/.config/polybar/bin/player-mpris-tail/player-mpris-tail.py b/polybar/.config/polybar/bin/player-mpris-tail/player-mpris-tail.py deleted file mode 100755 index 3dd9051..0000000 --- a/polybar/.config/polybar/bin/player-mpris-tail/player-mpris-tail.py +++ /dev/null @@ -1,115 +0,0 @@ -#!/usr/bin/env python3 - -import time -import sys -import subprocess - -import gi -gi.require_version('Playerctl', '1.0') -from gi.repository import Playerctl, GLib - -MUSIC_ICON = '' -PAUSE_ICON = '' -PLAYER_CLOSED_ICON = '' - -def listPlayers(): - return [ - playername.split('"')[1].split('.')[-1] - for playername - in subprocess.getoutput( - 'dbus-send --session --dest=org.freedesktop.DBus --type=method_call --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames | grep org.mpris.MediaPlayer2' - ).split("\n") - ] - -def getPlayerStatus(playername): - return subprocess.getoutput( - 'playerctl --player="%s" status' % playername - ) - -def getActivePlayer(): - players = [ { 'name': player, 'status': getPlayerStatus(player) } for player in listPlayers() ] - playing = [ player['name'] for player in players if player['status'] == 'Playing' ] - paused = [ player['name'] for player in players if player['status'] == 'Paused' ] - if len(playing): - return playing[-1] - if len(paused): - return paused[-1] - if len(players): - return players[-1]['name'] - -class PlayerStatus: - def __init__(self): - self._player = None - self._player_class = None - self._player_name = None - self._icon = PAUSE_ICON - - self._last_artist = None - self._last_title = None - - self._last_status = '' - - def show(self): - self._init_player() - - # Wait for events - main = GLib.MainLoop() - main.run() - - def _init_player(self): - while True: - try: - self._player_name = getActivePlayer() - self._player_class = Playerctl.Player() - if self._player_name: - self._player = self._player_class.new(self._player_name) - else: - self._player = self._player_class.new() - self._player.on('metadata', self._on_metadata) - self._player.on('play', self._on_play) - self._player.on('pause', self._on_pause) - self._player.on('exit', self._on_exit) - status = self._player.get_property('status') - if status == 'Playing': - self._icon = MUSIC_ICON - elif status == 'Paused': - self._icon = PAUSE_ICON - self._on_metadata(self._player, self._player.get_property('metadata')) - break - - except: - self._print_flush(PLAYER_CLOSED_ICON) - time.sleep(2) - - def _on_metadata(self, player, e): - if 'xesam:artist' in e.keys() and 'xesam:title' in e.keys(): - self._artist = e['xesam:artist'][0] - self._title = e['xesam:title'] - self._print_song() - - def _on_play(self, player): - self._icon = MUSIC_ICON - self._print_song() - - def _on_pause(self, player): - self._icon = PAUSE_ICON - self._print_song() - - def _on_exit(self, player): - self._init_player() - - def _print_song(self): - self._print_flush( - '{} {} - {}'.format(self._icon, self._artist, self._title)) - - """ - Seems to assure print() actually prints when no terminal is connected - """ - - def _print_flush(self, status, **kwargs): - if status != self._last_status: - print(status, **kwargs) - sys.stdout.flush() - self._last_status = status - -PlayerStatus().show() diff --git a/polybar/.config/polybar/bin/player-mpris-tail/screenshots/1.png b/polybar/.config/polybar/bin/player-mpris-tail/screenshots/1.png deleted file mode 100644 index 686c7d6..0000000 Binary files a/polybar/.config/polybar/bin/player-mpris-tail/screenshots/1.png and /dev/null differ diff --git a/polybar/.config/polybar/bin/player-mpris-tail/screenshots/2.png b/polybar/.config/polybar/bin/player-mpris-tail/screenshots/2.png deleted file mode 100644 index 7aeabf3..0000000 Binary files a/polybar/.config/polybar/bin/player-mpris-tail/screenshots/2.png and /dev/null differ diff --git a/polybar/.config/polybar/bin/updates-arch-combined/README.md b/polybar/.config/polybar/bin/updates-arch-combined/README.md deleted file mode 100644 index 499bee7..0000000 --- a/polybar/.config/polybar/bin/updates-arch-combined/README.md +++ /dev/null @@ -1,24 +0,0 @@ -# Script: updates-arch-combined - -A script that shows if there are updates for Arch Linux and AUR updates. - -See also [updates-arch](../updates-arch) and [updates-arch-aur](../updates-arch-aur). - -![updates-arch-combined](screenshots/1.png) - - -## Dependencies - -The possibilities depend on your AUR helper. Not all helpers can report the pending updates. - -At the moment `trizen` and `cower` are documented. Take a look at the script to see how it works. - - -## Module - -```ini -[module/updates-arch-combined] -type = custom/script -exec = ~/polybar-scripts/updates-arch-combined.sh -interval = 600 -``` diff --git a/polybar/.config/polybar/bin/updates-arch-combined/screenshots/1.png b/polybar/.config/polybar/bin/updates-arch-combined/screenshots/1.png deleted file mode 100644 index b69bbc3..0000000 Binary files a/polybar/.config/polybar/bin/updates-arch-combined/screenshots/1.png and /dev/null differ diff --git a/polybar/.config/polybar/bin/updates-arch-combined/updates-arch-combined.sh b/polybar/.config/polybar/bin/updates-arch-combined/updates-arch-combined.sh deleted file mode 100644 index 00b6c79..0000000 --- a/polybar/.config/polybar/bin/updates-arch-combined/updates-arch-combined.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -updates_arch=$(checkupdates | wc -l) - -# if ! updates_aur=$(cower -u 2> /dev/null | wc -l); then -if ! updates_aur=$(trizen -Su --aur --quiet | wc -l); then - updates_aur=0 -fi - -updates=$(("$updates_arch" + "$updates_aur")) - -if [ "$updates" -gt 0 ]; then - echo " $updates" -else - echo "" -fi diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config deleted file mode 100644 index d00a778..0000000 --- a/polybar/.config/polybar/config +++ /dev/null @@ -1,564 +0,0 @@ -;===================================================== -; -; To learn more about how to configure Polybar -; go to https://github.com/jaagr/polybar -; -; The README contains alot of information -; -;===================================================== - -[colors] -;background = ${xrdb:color0:#222} -background = #222 -background-alt = #444 -;foreground = ${xrdb:color7:#222} -foreground = #dfdfdf -foreground-alt = #555 -primary = #ffb52a -secondary = #e60053 -alert = #bd2c40 - -[bar/laptop-bottom] -bottom = true -monitor = ${env:MONITOR:e-DP1} -width = 100% - -height = 27 -radius = 6.0 -fixed-center = false - -background = ${colors.background} -foreground = ${colors.foreground} - -line-size = 3 -line-color = #f00 - -border-size = 0 -border-color = #00000000 - -padding-left = 0 -padding-right = 2 - -module-margin-left = 1 -module-margin-right = 2 - -font-0 = DejaVuSansMono Nerd Font Mono:pixelsize=14 -font-1 = "Wuncon Siji:pixelsize=14;1" - -modules-center = mpd player-mpris-tail - -[bar/laptop-top] -monitor = ${env:MONITOR:e-DP1} -width = 100% -height = 27 -;offset-x = 1% -;offset-y = 1% -radius = 6.0 -fixed-center = false - -background = ${colors.background} -foreground = ${colors.foreground} - -line-size = 3 -line-color = #f00 - -border-size = 0 -border-color = #00000000 - -padding-left = 0 -padding-right = 2 - -module-margin-left = 1 -module-margin-right = 2 - -font-0 = DejaVuSansMono Nerd Font Mono:pixelsize=14 -font-1 = "Wuncon Siji:pixelsize=14;1" - -modules-left = i3 -modules-center = tun0 tun1 wlan bluetooth -modules-right = github updates-arch-combined battery xbacklight filesystem volume-laptop memory cpu temperature date - -tray-position = right -tray-padding = 0 -;tray-transparent = true -;tray-background = #0063ff - -;wm-restack = bspwm -;wm-restack = i3 - -;override-redirect = true - -;scroll-up = bspwm-desknext -;scroll-down = bspwm-deskprev - -;scroll-up = i3wm-wsnext -;scroll-down = i3wm-wsprev - -scroll-up = i3wm-wsnext -scroll-down = i3wm-wsprev - -[bar/monitor1] -monitor = ${env:MONITOR:DP-1} -width = 100% -height = 27 -;offset-x = 1% -;offset-y = 1% -radius = 6.0 -fixed-center = false - -background = ${colors.background} -foreground = ${colors.foreground} - -line-size = 3 -line-color = #f00 - -border-size = 0 -border-color = #00000000 - -padding-left = 0 -padding-right = 2 - -module-margin-left = 1 -module-margin-right = 2 - -font-0 = DejaVuSansMono Nerd Font Mono:pixelsize=10 -font-1 = "Wuncon Siji:pixelsize=10;1" - -modules-left = i3 -modules-center = mpd player-mpris-tail -modules-right = github updates-arch-combined bluetooth eth filesystem volume memory cpu temperature date - -tray-position = right -tray-padding = 0 -;tray-transparent = true -;tray-background = #0063ff - -;wm-restack = bspwm -;wm-restack = i3 - -;override-redirect = true - -;scroll-up = bspwm-desknext -;scroll-down = bspwm-deskprev - -;scroll-up = i3wm-wsnext -;scroll-down = i3wm-wsprev - -scroll-up = i3wm-wsnext -scroll-down = i3wm-wsprev - -[module/xwindow] -type = internal/xwindow -label = %title:0:30:...% - -[module/xkeyboard] -type = internal/xkeyboard -blacklist-0 = num lock - -format-prefix = " " -format-prefix-foreground = ${colors.foreground-alt} -format-prefix-underline = ${colors.secondary} - -label-layout = %layout% -label-layout-underline = ${colors.secondary} - -label-indicator-padding = 2 -label-indicator-margin = 1 -label-indicator-background = ${colors.secondary} -label-indicator-underline = ${colors.secondary} - -[module/filesystem] -type = internal/fs -interval = 25 - -mount-0 = / -mount-1 = /home - -label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% -label-unmounted = %mountpoint% not mounted -label-unmounted-foreground = ${colors.foreground-alt} - -[module/bspwm] -type = internal/bspwm - -label-focused = %index% -label-focused-background = ${colors.background-alt} -label-focused-underline= ${colors.primary} -label-focused-padding = 2 - -label-occupied = %index% -label-occupied-padding = 2 - -label-urgent = %index%! -label-urgent-background = ${colors.alert} -label-urgent-padding = 2 - -label-empty = %index% -label-empty-foreground = ${colors.foreground-alt} -label-empty-padding = 2 - -[module/i3] -type = internal/i3 -format = -index-sort = true -wrapping-scroll = false - -; Only show workspaces on the same output as the bar -;pin-workspaces = true - -label-mode-padding = 2 -label-mode-foreground = #000 -label-mode-background = ${colors.primary} - -; focused = Active workspace on focused monitor -label-focused = %index% -label-focused-background = ${module/bspwm.label-focused-background} -label-focused-underline = ${module/bspwm.label-focused-underline} -label-focused-padding = ${module/bspwm.label-focused-padding} - -; unfocused = Inactive workspace on any monitor -label-unfocused = %index% -label-unfocused-padding = ${module/bspwm.label-occupied-padding} - -; visible = Active workspace on unfocused monitor -label-visible = %index% -label-visible-background = ${self.label-focused-background} -label-visible-underline = ${self.label-focused-underline} -label-visible-padding = ${self.label-focused-padding} - -; urgent = Workspace with urgency hint set -label-urgent = %index% -label-urgent-background = ${module/bspwm.label-urgent-background} -label-urgent-padding = ${module/bspwm.label-urgent-padding} - -[module/mpd] -type = internal/mpd -format-online = - -icon-prev =  -icon-stop =  -icon-play =  -icon-pause =  -icon-next =  - -label-song-maxlen = 25 -label-song-ellipsis = true - -[module/xbacklight] -type = internal/xbacklight - -format =