mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-04 04:28:11 +00:00 
			
		
		
		
	Add albert configuration; delete .netrwhite vim configuration; improve sxhkd and bspwm config
This commit is contained in:
		
							parent
							
								
									558e3e4904
								
							
						
					
					
						commit
						afea196f49
					
				
					 6 changed files with 196 additions and 20 deletions
				
			
		
							
								
								
									
										38
									
								
								config.yaml
									
										
									
									
									
								
							
							
						
						
									
										38
									
								
								config.yaml
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,6 +1,10 @@
 | 
			
		|||
actions:
 | 
			
		||||
  oh-my-zsh: if [ ! -d ~/.oh-my-zsh ]; then sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" && if [ -f ~/.zshrc.pre-oh-my-zsh ]; then rm ~/.zshrc && mv ~/.zshrc.pre-oh-my-zsh ~/.zshrc; fi; fi
 | 
			
		||||
  powerlevel9k-theme: if [ ! -d ~/.oh-my-zsh/custom/themes ]; then mkdir -p ~/.oh-my-zsh/custom/themes; fi && if [ -d ~/.oh-my-zsh/custom/themes/powerlevel9k ];then git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k; fi
 | 
			
		||||
  oh-my-zsh: if [ ! -d ~/.oh-my-zsh ]; then sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
 | 
			
		||||
    && if [ -f ~/.zshrc.pre-oh-my-zsh ]; then rm ~/.zshrc && mv ~/.zshrc.pre-oh-my-zsh
 | 
			
		||||
    ~/.zshrc; fi; fi
 | 
			
		||||
  powerlevel9k-theme: if [ ! -d ~/.oh-my-zsh/custom/themes ]; then mkdir -p ~/.oh-my-zsh/custom/themes;
 | 
			
		||||
    fi && if [ -d ~/.oh-my-zsh/custom/themes/powerlevel9k ];then git clone https://github.com/bhilburn/powerlevel9k.git
 | 
			
		||||
    ~/.oh-my-zsh/custom/themes/powerlevel9k; fi
 | 
			
		||||
config:
 | 
			
		||||
  backup: true
 | 
			
		||||
  create: true
 | 
			
		||||
| 
						 | 
				
			
			@ -9,21 +13,32 @@ dotfiles:
 | 
			
		|||
  d_bspwm:
 | 
			
		||||
    dst: ~/.config/bspwm
 | 
			
		||||
    src: config/bspwm
 | 
			
		||||
  d_colors:
 | 
			
		||||
    dst: ~/.vim/colors
 | 
			
		||||
    src: vim/colors
 | 
			
		||||
  d_fonts:
 | 
			
		||||
    dst: ~/.local/share/fonts
 | 
			
		||||
    src: local/share/fonts
 | 
			
		||||
  d_org.albert.frontend.boxmodel.widgets:
 | 
			
		||||
    dst: ~/.local/share/albert/org.albert.frontend.boxmodel.widgets
 | 
			
		||||
    src: local/share/albert/org.albert.frontend.boxmodel.widgets
 | 
			
		||||
  d_polybar:
 | 
			
		||||
    dst: ~/.config/polybar
 | 
			
		||||
    src: config/polybar
 | 
			
		||||
  d_sxhkd:
 | 
			
		||||
    dst: ~/.config/sxhkd
 | 
			
		||||
    src: config/sxhkd
 | 
			
		||||
  d_vim:
 | 
			
		||||
    dst: ~/.vim
 | 
			
		||||
    src: vim
 | 
			
		||||
  f_albert.conf:
 | 
			
		||||
    dst: ~/.config/albert/albert.conf
 | 
			
		||||
    src: config/albert/albert.conf
 | 
			
		||||
  f_fehbg:
 | 
			
		||||
    dst: ~/.fehbg
 | 
			
		||||
    src: fehbg
 | 
			
		||||
  f_powerlevel9krc:
 | 
			
		||||
    actions:
 | 
			
		||||
    - powerlevel9k-theme
 | 
			
		||||
    dst: ~/.powerlevel9krc
 | 
			
		||||
    src: powerlevel9krc
 | 
			
		||||
  f_profile:
 | 
			
		||||
    dst: ~/.profile
 | 
			
		||||
    src: profile
 | 
			
		||||
| 
						 | 
				
			
			@ -40,15 +55,10 @@ dotfiles:
 | 
			
		|||
    dst: ~/.xsession
 | 
			
		||||
    src: xsession
 | 
			
		||||
  f_zshrc:
 | 
			
		||||
    actions:
 | 
			
		||||
    - oh-my-zsh
 | 
			
		||||
    dst: ~/.zshrc
 | 
			
		||||
    src: zshrc
 | 
			
		||||
    actions:
 | 
			
		||||
      - oh-my-zsh
 | 
			
		||||
  f_powerlevel9krc:
 | 
			
		||||
    dst: ~/.powerlevel9krc
 | 
			
		||||
    src: powerlevel9krc
 | 
			
		||||
    actions:
 | 
			
		||||
      - powerlevel9k-theme
 | 
			
		||||
profiles:
 | 
			
		||||
  yoetunheimr:
 | 
			
		||||
    dotfiles:
 | 
			
		||||
| 
						 | 
				
			
			@ -59,9 +69,11 @@ profiles:
 | 
			
		|||
    - f_fehbg
 | 
			
		||||
    - d_fonts
 | 
			
		||||
    - f_profile
 | 
			
		||||
    - d_vim
 | 
			
		||||
    - f_vimrc
 | 
			
		||||
    - f_xinitrc
 | 
			
		||||
    - f_xsession
 | 
			
		||||
    - f_zshrc
 | 
			
		||||
    - f_powerlevel9krc
 | 
			
		||||
    - f_albert.conf
 | 
			
		||||
    - d_org.albert.frontend.boxmodel.widgets
 | 
			
		||||
    - d_colors
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										75
									
								
								dotfiles/config/albert/albert.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										75
									
								
								dotfiles/config/albert/albert.conf
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,75 @@
 | 
			
		|||
;
 | 
			
		||||
; {{@@ env['dotdrop_warning'] @@}}
 | 
			
		||||
;
 | 
			
		||||
 | 
			
		||||
[General]
 | 
			
		||||
frontendId=org.albert.frontend.boxmodel.widgets
 | 
			
		||||
hotkey=Meta+Space
 | 
			
		||||
showTray=true
 | 
			
		||||
standsalone_note_shown=true
 | 
			
		||||
 | 
			
		||||
[org.albert.extension.applications]
 | 
			
		||||
enabled=true
 | 
			
		||||
 | 
			
		||||
[org.albert.extension.calculator]
 | 
			
		||||
enabled=true
 | 
			
		||||
 | 
			
		||||
[org.albert.extension.chromebookmarks]
 | 
			
		||||
enabled=false
 | 
			
		||||
 | 
			
		||||
[org.albert.extension.externalextensions]
 | 
			
		||||
enabled=true
 | 
			
		||||
 | 
			
		||||
[org.albert.extension.files]
 | 
			
		||||
enabled=true
 | 
			
		||||
 | 
			
		||||
[org.albert.extension.firefoxbookmarks]
 | 
			
		||||
enabled=true
 | 
			
		||||
profile=Profile0
 | 
			
		||||
 | 
			
		||||
[org.albert.extension.hashgenerator]
 | 
			
		||||
enabled=true
 | 
			
		||||
 | 
			
		||||
[org.albert.extension.kvstore]
 | 
			
		||||
enabled=true
 | 
			
		||||
 | 
			
		||||
[org.albert.extension.mpris]
 | 
			
		||||
enabled=true
 | 
			
		||||
 | 
			
		||||
[org.albert.extension.python]
 | 
			
		||||
enabled=true
 | 
			
		||||
enabled_modules=AUR, Kill, Pacman, Python, Wikipedia
 | 
			
		||||
 | 
			
		||||
[org.albert.extension.ssh]
 | 
			
		||||
enabled=true
 | 
			
		||||
 | 
			
		||||
[org.albert.extension.system]
 | 
			
		||||
enabled=true
 | 
			
		||||
 | 
			
		||||
[org.albert.extension.terminal]
 | 
			
		||||
enabled=true
 | 
			
		||||
 | 
			
		||||
[org.albert.extension.websearch]
 | 
			
		||||
enabled=true
 | 
			
		||||
 | 
			
		||||
[org.albert.frontend.boxmodel.qml]
 | 
			
		||||
alwaysOnTop=true
 | 
			
		||||
clearOnHide=false
 | 
			
		||||
hideOnClose=false
 | 
			
		||||
hideOnFocusLoss=true
 | 
			
		||||
showCentered=true
 | 
			
		||||
stylePath=/usr/share/albert/org.albert.frontend.boxmodel.qml/styles/BoxModel/MainComponent.qml
 | 
			
		||||
windowPosition=@Point(611 285)
 | 
			
		||||
 | 
			
		||||
[org.albert.frontend.boxmodel.widgets]
 | 
			
		||||
alwaysOnTop=true
 | 
			
		||||
clearOnHide=true
 | 
			
		||||
displayIcons=true
 | 
			
		||||
displayScrollbar=false
 | 
			
		||||
displayShadow=true
 | 
			
		||||
hideOnClose=false
 | 
			
		||||
hideOnFocusLoss=true
 | 
			
		||||
itemCount=5
 | 
			
		||||
showCentered=true
 | 
			
		||||
theme=bspwm
 | 
			
		||||
windowPosition=@Point(610 285)
 | 
			
		||||
| 
						 | 
				
			
			@ -20,3 +20,4 @@ bspc rule -a Screenkey manage=off
 | 
			
		|||
# THIS SHOULD BE THE LAST!
 | 
			
		||||
# Lauch polybar(s)
 | 
			
		||||
$HOME/.config/polybar/launch.sh
 | 
			
		||||
/usr/bin/albert
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -64,10 +64,6 @@ super + w
 | 
			
		|||
super + Return
 | 
			
		||||
  urxvt
 | 
			
		||||
 | 
			
		||||
# Open dynamic menu
 | 
			
		||||
super + space
 | 
			
		||||
  dmenu_run
 | 
			
		||||
 | 
			
		||||
# Lower,Raise Volume Master
 | 
			
		||||
{_,shift + }XF86Audio{Lower,Raise}Volume
 | 
			
		||||
  amixer set Master {2%-,10%-,2%+,10%+}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,95 @@
 | 
			
		|||
/*
 | 
			
		||||
 *
 | 
			
		||||
 * {{@@ env['dotdrop_warning'] @@}}
 | 
			
		||||
 *
 | 
			
		||||
 * This theme was made using Albert theme creator (https://albertlauncher.github.io/docs/theming/themecreator/).
 | 
			
		||||
 *
 | 
			
		||||
 * Check http://doc.qt.io/qt-5/stylesheet-syntax.html especially the subtopics:
 | 
			
		||||
 * The Style Sheet Syntax (http://doc.qt.io/qt-5/stylesheet-syntax.html)
 | 
			
		||||
 * Qt Style Sheets Reference (http://doc.qt.io/qt-5/stylesheet-reference.html)
 | 
			
		||||
 */
 | 
			
		||||
* {
 | 
			
		||||
  border: none;
 | 
			
		||||
  color : #b0b0b0;
 | 
			
		||||
  background-color: #000000;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#frame {
 | 
			
		||||
  padding: 6px;
 | 
			
		||||
  border-radius: 0px;
 | 
			
		||||
  background-color: #000000;
 | 
			
		||||
  border: 0px solid #5d5d5d;
 | 
			
		||||
  min-width: 640px;
 | 
			
		||||
  max-width: 640px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#inputLine {
 | 
			
		||||
  padding: 2px;
 | 
			
		||||
  border-radius: 0px;
 | 
			
		||||
  font-size: 36px;
 | 
			
		||||
  selection-color: #b0b0b0;
 | 
			
		||||
  selection-background-color: #b0b0b0;
 | 
			
		||||
  background-color: #5d5d5d;
 | 
			
		||||
  color: #b0b0b0
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#settingsButton {
 | 
			
		||||
  color: #5d5d5d;
 | 
			
		||||
  background-color: #000000;
 | 
			
		||||
  padding: 4px;
 | 
			
		||||
  margin: 6px 6px 0px 0px;
 | 
			
		||||
  border-top-right-radius: 0px;
 | 
			
		||||
  border-bottom-left-radius: 0px;
 | 
			
		||||
  min-width:13px;
 | 
			
		||||
  min-height:13px;
 | 
			
		||||
  max-width:13px;
 | 
			
		||||
  max-height:13px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/********** ListViews **********/
 | 
			
		||||
QListView QScrollBar:vertical  {
 | 
			
		||||
  width: 5px;
 | 
			
		||||
  background: transparent;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QListView QScrollBar::handle:vertical  {
 | 
			
		||||
  background: #5d5d5d;
 | 
			
		||||
  min-height: 24px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QListView QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical,
 | 
			
		||||
QListView QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical,
 | 
			
		||||
QListView QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
 | 
			
		||||
  border: 0px;
 | 
			
		||||
  width: 0px;
 | 
			
		||||
  height: 0px;
 | 
			
		||||
  background: transparent;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/********** actionList **********/
 | 
			
		||||
QListView#actionList {
 | 
			
		||||
  font-size: 20px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QListView#actionList::item{
 | 
			
		||||
  height: 28px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QListView#actionList::item::selected{
 | 
			
		||||
  background: qlineargradient(x1:0, x2:1, stop:0.0 #405d5d5d, stop:0.5 #205d5d5d, stop:1.0 #405d5d5d );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/********** proposalList **********/
 | 
			
		||||
QListView#proposalList {
 | 
			
		||||
  icon-size: 44px;
 | 
			
		||||
  font-size: 26px;
 | 
			
		||||
  color: #b0b0b0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QListView#proposalList::item{
 | 
			
		||||
  height: 48px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QListView#proposalList::item::selected{
 | 
			
		||||
  background: qlineargradient(x1:0, x2:1, stop:0.0 #40f7f7f7, stop:0.5 #20f7f7f7, stop:1.0 #40f7f7f7 );
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,3 +0,0 @@
 | 
			
		|||
let g:netrw_dirhistmax  =10
 | 
			
		||||
let g:netrw_dirhist_cnt =1
 | 
			
		||||
let g:netrw_dirhist_1='/home/phg/.oh-my-zsh/plugins/colorize'
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue