Update configs
This commit is contained in:
		
							parent
							
								
									72da0ef04a
								
							
						
					
					
						commit
						12349398f3
					
				
					 7 changed files with 18 additions and 5 deletions
				
			
		
							
								
								
									
										3
									
								
								.bin/.e
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								.bin/.e
									
										
									
									
									
								
							| 
						 | 
					@ -18,7 +18,8 @@ declare -A mapper=(
 | 
				
			||||||
	["nvim"]="$HOME/.config/nvim/"
 | 
						["nvim"]="$HOME/.config/nvim/"
 | 
				
			||||||
	["nvim.packer"]="$HOME/.config/nvim/lua/plugins.lua"
 | 
						["nvim.packer"]="$HOME/.config/nvim/lua/plugins.lua"
 | 
				
			||||||
	["polybar"]="$HOME/.config/polybar"
 | 
						["polybar"]="$HOME/.config/polybar"
 | 
				
			||||||
	["qutebrowser"]="$HOME/.config/qutebrowser/common.py"
 | 
						["qutebrowser"]="$HOME/.config/qutebrowser/config.py"
 | 
				
			||||||
 | 
						["qutebrowser-kiosk"]="$HOME/.config/qutebrowser/config_kiosk.py"
 | 
				
			||||||
	["starship"]="$HOME/.config/starship.toml"
 | 
						["starship"]="$HOME/.config/starship.toml"
 | 
				
			||||||
	["sxhkd"]="$HOME/.config/sxhkd/sxhkdrc"
 | 
						["sxhkd"]="$HOME/.config/sxhkd/sxhkdrc"
 | 
				
			||||||
	["vim"]="$HOME/.config/vim/vimrc"
 | 
						["vim"]="$HOME/.config/vim/vimrc"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -35,4 +35,3 @@ fi
 | 
				
			||||||
#fi
 | 
					#fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
printf "\n\n\n\n=== DONE ============================================================\n"
 | 
					printf "\n\n\n\n=== DONE ============================================================\n"
 | 
				
			||||||
read -r
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -63,12 +63,18 @@ _autostart_manage_sync () {
 | 
				
			||||||
	done
 | 
						done
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_get_autostart_cmd () {
 | 
					_get_autostart_cmd () {
 | 
				
			||||||
	_query_autostart_toml 'select((.key == "'"$1"'") or (.value.alias == "'"$1"'")) | .value.command'
 | 
						_query_autostart_toml 'select((.key == "'"$1"'") or (.value.alias == "'"$1"'")) | .value.command'
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					_get_autostart_delay () {
 | 
				
			||||||
 | 
						_query_autostart_toml 'select((.key == "'"$1"'") or (.value.alias == "'"$1"'")) | .value.delay // 0'
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_autostart_manage_exec () {
 | 
					_autostart_manage_exec () {
 | 
				
			||||||
	cmd=$(_get_autostart_cmd "$1")
 | 
						cmd=$(_get_autostart_cmd "$1")
 | 
				
			||||||
 | 
						sleep "$(_get_autostart_delay "$1")"
 | 
				
			||||||
	bash -c "$cmd"
 | 
						bash -c "$cmd"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -28,6 +28,7 @@ group = 'conky'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[apps.discord]
 | 
					[apps.discord]
 | 
				
			||||||
command = 'flatpak run com.discordapp.Discord'
 | 
					command = 'flatpak run com.discordapp.Discord'
 | 
				
			||||||
 | 
					delay = 3
 | 
				
			||||||
hosts = []
 | 
					hosts = []
 | 
				
			||||||
group = 'chat'
 | 
					group = 'chat'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,6 +69,7 @@ group = 'common'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[apps.signal]
 | 
					[apps.signal]
 | 
				
			||||||
command = 'flatpak run org.signal.Signal'
 | 
					command = 'flatpak run org.signal.Signal'
 | 
				
			||||||
 | 
					delay = 3
 | 
				
			||||||
hosts = []
 | 
					hosts = []
 | 
				
			||||||
group = 'messenger'
 | 
					group = 'messenger'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -23,14 +23,14 @@ windowrulev2 = move 100%-300 100%-30, class:(steam), title:^(notificationtoasts)
 | 
				
			||||||
windowrulev2 = nofocus, class:(steam), title:^(notificationtoasts)
 | 
					windowrulev2 = nofocus, class:(steam), title:^(notificationtoasts)
 | 
				
			||||||
windowrulev2 = float, class:(steam), title:^(Friends List)
 | 
					windowrulev2 = float, class:(steam), title:^(Friends List)
 | 
				
			||||||
windowrulev2 = noinitialfocus, class:(steam), title:^(Friends List)
 | 
					windowrulev2 = noinitialfocus, class:(steam), title:^(Friends List)
 | 
				
			||||||
windowrulev2 = monitor $mon2, class:(steam), title:^(Friends List)
 | 
					windowrulev2 = workspace $ws_chat silent, class:(steam), title:^(Friends List)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
windowrulev2 = float, class:(xdg-desktop-portal-gtk)
 | 
					windowrulev2 = float, class:(xdg-desktop-portal-gtk)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
windowrulev2 = monitor $mon2, class:(thunderbird), title:^$ # where monitor silent rule?
 | 
					#windowrulev2 = monitor $mon2, class:(thunderbird), title:^$ # where monitor silent rule?
 | 
				
			||||||
windowrulev2 = noinitialfocus, class:(thunderbird), title:^$
 | 
					windowrulev2 = noinitialfocus, class:(thunderbird), title:^$
 | 
				
			||||||
windowrulev2 = float, class:(thunderbird), title:^$
 | 
					windowrulev2 = float, class:(thunderbird), title:^$
 | 
				
			||||||
windowrulev2 = move 5 5, class:(thunderbird), title:^$
 | 
					#windowrulev2 = move 5 5, class:(thunderbird), title:^$
 | 
				
			||||||
 | 
					
 | 
				
			||||||
windowrulev2 = float, class:(thunderbird), title:(Reminder)
 | 
					windowrulev2 = float, class:(thunderbird), title:(Reminder)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,6 +5,9 @@ def init(c):
 | 
				
			||||||
    # ungoogled-chromium
 | 
					    # ungoogled-chromium
 | 
				
			||||||
    c.bind(',b', 'spawn chromium {url}')
 | 
					    c.bind(',b', 'spawn chromium {url}')
 | 
				
			||||||
    c.bind(',B', 'hint links spawn chromium {hint-url}')
 | 
					    c.bind(',B', 'hint links spawn chromium {hint-url}')
 | 
				
			||||||
 | 
					    # firefox
 | 
				
			||||||
 | 
					    c.bind(',f', 'spawn firefox {url}')
 | 
				
			||||||
 | 
					    c.bind(',F', 'hint links spawn firefox {hint-url}')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    c.bind(',j',  'spawn --userscript format_json dracula')
 | 
					    c.bind(',j',  'spawn --userscript format_json dracula')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1 +1,3 @@
 | 
				
			||||||
source ~/.config/vim/vimrc
 | 
					source ~/.config/vim/vimrc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					set ideajoin
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue