bashrc
This commit is contained in:
		
							
								
								
									
										5
									
								
								config/bash/.bash_profile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								config/bash/.bash_profile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
#
 | 
			
		||||
# ~/.bash_profile
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
 | 
			
		||||
							
								
								
									
										42
									
								
								config/bash/bashrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								config/bash/bashrc
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,42 @@
 | 
			
		||||
#
 | 
			
		||||
# ~/.bashrc
 | 
			
		||||
#
 | 
			
		||||
#start i3 if not running 
 | 
			
		||||
#check if ssh
 | 
			
		||||
if [ "$SSH_TTY" = "" ]
 | 
			
		||||
then
 | 
			
		||||
	#check if xinit running already
 | 
			
		||||
	STARTX=$(ps -e | grep xinit | awk '{print $4}')
 | 
			
		||||
	if [ "$STARTX" != "xinit" ]
 | 
			
		||||
	then
 | 
			
		||||
		startx ~/.config/X11/xinitrc
 | 
			
		||||
		clear
 | 
			
		||||
	fi
 | 
			
		||||
fi
 | 
			
		||||
# MPD daemon start (if no other user instance exists)
 | 
			
		||||
#[ ! -s ~/.config/mpd/pid ] && mpd
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# If not running interactively, don't do anything
 | 
			
		||||
[[ $- != *i* ]] && return
 | 
			
		||||
 | 
			
		||||
PS1='[\u@\h \W]\$ '
 | 
			
		||||
 | 
			
		||||
#path
 | 
			
		||||
PATH=$PATH:~/.scripts
 | 
			
		||||
 | 
			
		||||
## Aliases
 | 
			
		||||
alias ls='ls --color=auto'
 | 
			
		||||
alias mv="mv -v"
 | 
			
		||||
alias rm="rm -v"
 | 
			
		||||
alias cp="cp -v"
 | 
			
		||||
alias ssh="kitty +kitten ssh"
 | 
			
		||||
alias mkdir="mkdir -pv"
 | 
			
		||||
#alias neofetch="neofetch --ascii_distro off"
 | 
			
		||||
 | 
			
		||||
source ~/.local/share/blesh/ble.sh
 | 
			
		||||
 | 
			
		||||
# BEGIN_KITTY_SHELL_INTEGRATION
 | 
			
		||||
if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi
 | 
			
		||||
# END_KITTY_SHELL_INTEGRATION
 | 
			
		||||
 | 
			
		||||
@@ -222,8 +222,9 @@ for_window [class="Nm-connection-editor" instance="nm-connection-editor"] floati
 | 
			
		||||
 | 
			
		||||
#start programs
 | 
			
		||||
exec telegram-desktop
 | 
			
		||||
exec picom
 | 
			
		||||
exec_always picom
 | 
			
		||||
exec dunst
 | 
			
		||||
exec ~/.script/addvirtualsoundcard Virtual-Sound-Card
 | 
			
		||||
exec systemctl --user start mpd
 | 
			
		||||
exec --no-startup-id i3-msg 'workspace $ws1;exec i3-sensible-terminal ~/.scripts/run'
 | 
			
		||||
exec --no-startup-id i3-msg 'workspace $ws9;exec i3-sensible-terminal ncmpcpp'
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,9 @@
 | 
			
		||||
sw_volume: 42
 | 
			
		||||
sw_volume: 0
 | 
			
		||||
audio_device_state:1:Visualizer feed
 | 
			
		||||
audio_device_state:1:pulse audio
 | 
			
		||||
state: stop
 | 
			
		||||
state: play
 | 
			
		||||
current: 11
 | 
			
		||||
time: 119.944000
 | 
			
		||||
random: 0
 | 
			
		||||
repeat: 0
 | 
			
		||||
single: 0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user