|
|
|
@ -5,9 +5,28 @@
|
|
|
|
|
### install requirements
|
|
|
|
|
rofi mlocate
|
|
|
|
|
|
|
|
|
|
### hotkey binding command
|
|
|
|
|
### colors
|
|
|
|
|
vim ~/.Xresources
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
!-------- ROFI Color theme {{{
|
|
|
|
|
!------------------------------------------------------
|
|
|
|
|
! https://davedavenport.github.io/rofi/p11-Generator.html
|
|
|
|
|
rofi.color-enabled: true
|
|
|
|
|
rofi.color-window: #000000, #000000, #000000
|
|
|
|
|
rofi.color-normal: #000000, #b3e774, #000000, #b3e774, #000000
|
|
|
|
|
rofi.color-active: #000000, #b3e774, #000000, #b3e774, #000000
|
|
|
|
|
rofi.color-urgent: #000000, #b3e774, #000000, #b3e774, #000000
|
|
|
|
|
! }}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### hotkey binding command (better version) Thanks [@smilingverb](https://github.com/gotbletu/shownotes/issues/16)
|
|
|
|
|
locate home media | rofi -threads 0 -width 100 -dmenu -i -p "locate:" | xargs -r -0 xdg-open
|
|
|
|
|
|
|
|
|
|
### hotkey binding command (alternative version with colors without needing ~/.Xresources)
|
|
|
|
|
xdg-open "$(locate home media | rofi -threads 0 -width 100 -color-window "#000000, #000000, #000000" -color-normal "#000000, #b3e774, #000000, #b3e774, #000000" -color-active "#000000, #b3e774, #000000, #b3e774, #000000" -color-urgent "#000000, #b3e774, #000000, #b3e774, #000000" -dmenu -i -p "locate:")"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### refresh locate command database
|
|
|
|
|
sudo updatedb
|
|
|
|
|
|
|
|
|
|