add: add bspwm rules
add: XDG_XXXXX_DIR config add: zathura config fix: launch of mpd and mopidy
This commit is contained in:
		
							parent
							
								
									db465455b0
								
							
						
					
					
						commit
						625ee51457
					
				
					 6 changed files with 32 additions and 10 deletions
				
			
		| 
						 | 
					@ -28,13 +28,14 @@ bspc config gapless_monocle      true
 | 
				
			||||||
bspc config focus_follows_pointer true
 | 
					bspc config focus_follows_pointer true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bspc rule -a 'firefox' desktop='web'
 | 
					bspc rule -a 'firefox' desktop='web'
 | 
				
			||||||
bspc rule -a 'firefox:Toolkit' desktop='side-view' state='fullscreen'
 | 
					bspc rule -a 'firefox:Toolkit' follow='true' desktop='side-view' state='fullscreen'
 | 
				
			||||||
bspc rule -a 'TeamSpeak 3' desktop='voip'
 | 
					bspc rule -a 'TeamSpeak 3' desktop='voip'
 | 
				
			||||||
bspc rule -a 'discord' desktop='voip'
 | 
					bspc rule -a 'discord' desktop='voip'
 | 
				
			||||||
bspc rule -a 'Evolution' desktop='messenger'
 | 
					bspc rule -a 'Evolution' desktop='messenger'
 | 
				
			||||||
bspc rule -a 'Riot' desktop='messenger'
 | 
					bspc rule -a 'Riot' desktop='messenger'
 | 
				
			||||||
bspc rule -a 'Signal' desktop='messenger'
 | 
					bspc rule -a 'Signal' desktop='messenger' follow='true'
 | 
				
			||||||
bspc rule -a 'Steam' desktop='game'
 | 
					bspc rule -a 'Steam' desktop='game'
 | 
				
			||||||
 | 
					bspc rule -a 'Zathura' state='tiled'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
setxkbmap de
 | 
					setxkbmap de
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,11 +1,11 @@
 | 
				
			||||||
# Recommended location for database
 | 
					# Recommended location for database
 | 
				
			||||||
db_file            "~/.config/mpd/database"
 | 
					db_file            "$XDG_CONFIG_DIR/mpd/database"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Logs to systemd journal
 | 
					# Logs to systemd journal
 | 
				
			||||||
log_file           "syslog"
 | 
					log_file           "syslog"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# The music directory is by default the XDG directory, uncomment to amend and choose a different directory
 | 
					# The music directory is by default the XDG directory, uncomment to amend and choose a different directory
 | 
				
			||||||
music_directory    "~/Music"
 | 
					music_directory    "$XDG_MUSIC_DIR"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Refresh the database whenever files in the music_directory are changed
 | 
					# Refresh the database whenever files in the music_directory are changed
 | 
				
			||||||
auto_update "yes"
 | 
					auto_update "yes"
 | 
				
			||||||
| 
						 | 
					@ -14,10 +14,10 @@ auto_update "yes"
 | 
				
			||||||
restore_paused "yes"
 | 
					restore_paused "yes"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Uncomment to enable the functionalities
 | 
					# Uncomment to enable the functionalities
 | 
				
			||||||
playlist_directory "~/.config/mpd/playlists"
 | 
					playlist_directory "$XDG_CONFIG_DIR/mpd/playlists"
 | 
				
			||||||
pid_file           "~/.config/mpd/pid"
 | 
					pid_file           "$XDG_CONFIG_DIR/mpd/pid"
 | 
				
			||||||
state_file         "~/.config/mpd/state"
 | 
					state_file         "$XDG_CONFIG_DIR/mpd/state"
 | 
				
			||||||
sticker_file       "~/.config/mpd/sticker.sql"
 | 
					sticker_file       "$XDG_CONFIG_DIR/mpd/sticker.sql"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
audio_output {
 | 
					audio_output {
 | 
				
			||||||
    type    "pulse"
 | 
					    type    "pulse"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,7 +13,7 @@
 | 
				
			||||||
[module/arch-updates]
 | 
					[module/arch-updates]
 | 
				
			||||||
    type = custom/script
 | 
					    type = custom/script
 | 
				
			||||||
    exec = $HOME/.config/polybar/scripts/arch-updates.sh
 | 
					    exec = $HOME/.config/polybar/scripts/arch-updates.sh
 | 
				
			||||||
    interval = 10
 | 
					    interval = 60
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    format-prefix = " "
 | 
					    format-prefix = " "
 | 
				
			||||||
    format-prefix-foreground = ${colors.foreground-alt}
 | 
					    format-prefix-foreground = ${colors.foreground-alt}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										11
									
								
								.config/user-dirs.dirs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								.config/user-dirs.dirs
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					XDG_DESKTOP_DIR="$HOME/desktop"
 | 
				
			||||||
 | 
					XDG_DOWNLOAD_DIR="$HOME/downloads"
 | 
				
			||||||
 | 
					XDG_TEMPLATES_DIR="$HOME/"
 | 
				
			||||||
 | 
					XDG_PUBLICSHARE_DIR="$HOME/"
 | 
				
			||||||
 | 
					XDG_DOCUMENTS_DIR="$HOME/documents"
 | 
				
			||||||
 | 
					XDG_MUSIC_DIR="$HOME/music"
 | 
				
			||||||
 | 
					XDG_PICTURES_DIR="$HOME/pictures"
 | 
				
			||||||
 | 
					XDG_VIDEOS_DIR="$HOME/videos"
 | 
				
			||||||
 | 
					XDG_CONFIG_DIR="$HOME/.config"
 | 
				
			||||||
 | 
					XDG_CACHE_DIR="$HOME/.cache"
 | 
				
			||||||
 | 
					XDG_DATA_DIR="$HOME/.local/share"
 | 
				
			||||||
							
								
								
									
										4
									
								
								.config/zathura/zathurarc
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								.config/zathura/zathurarc
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,4 @@
 | 
				
			||||||
 | 
					set selection-clipboard clipboard
 | 
				
			||||||
 | 
					set statusbar-home-tilde
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					set guioptions ""
 | 
				
			||||||
							
								
								
									
										8
									
								
								.profile
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								.profile
									
										
									
									
									
								
							| 
						 | 
					@ -9,7 +9,13 @@ then
 | 
				
			||||||
    gpgconf --launch gpg-agent
 | 
					    gpgconf --launch gpg-agent
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[ -x "$(command -v mpd)" ] && mpd &
 | 
					if [ -x "$(command -v mopidy)" ]
 | 
				
			||||||
 | 
					then
 | 
				
			||||||
 | 
					    mpd &
 | 
				
			||||||
 | 
					else
 | 
				
			||||||
 | 
					    if [ -x "$(command -v mpd)" ] && mopidy &
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[ -x "$(command -v ympd)" ] && ympd --webport 54594 &
 | 
					[ -x "$(command -v ympd)" ] && ympd --webport 54594 &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[ $SHELL = "/bin/bash" ] && source $HOME/.bashrc
 | 
					[ $SHELL = "/bin/bash" ] && source $HOME/.bashrc
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue