bar & picom fixes, restructuring
@ -21,6 +21,7 @@ bspc rule -a openrgb state=floating
|
||||
bspc rule -a Sxiv state=floating
|
||||
bspc rule -a Dconf-editor state=floating
|
||||
bspc rule -a Thunar state=floating
|
||||
bspc rule -a Xarchiver state=floating
|
||||
|
||||
# start screen locker
|
||||
xset s 600 5
|
||||
@ -34,4 +35,5 @@ pgrep -x notify.sh > /dev/null || ~/.config/bspwm/scripts/notify.sh &
|
||||
|
||||
pgrep -x greenclip > /dev/null || greenclip daemon &
|
||||
|
||||
pkill picom && picom --no-fading-openclose &
|
||||
killall picom
|
||||
picom --no-fading-openclose &
|
||||
|
@ -5,11 +5,15 @@ while true; do
|
||||
# Check if feishin player exists
|
||||
player_exists=$(playerctl --player=Feishin status > /dev/null 2>&1; echo $?)
|
||||
if (( player_exists != 0 )); then
|
||||
echo "Feishin player not found."
|
||||
sleep 5
|
||||
sleep 1
|
||||
continue
|
||||
fi
|
||||
|
||||
status=$(playerctl -p Feishin status)
|
||||
if [[ x"$status" == x"Stopped" ]]; then
|
||||
sleep 1
|
||||
continue
|
||||
fi
|
||||
current_track=$(playerctl -p Feishin metadata --format '<i>{{ title }}</i>\n{{ artist }}\n{{ album }}')
|
||||
album_art_url=$(playerctl -p Feishin metadata mpris:artUrl)
|
||||
album_art_file="/tmp/album_art.jpg"
|
||||
|
@ -1,54 +0,0 @@
|
||||
set number
|
||||
" Options
|
||||
set background=dark
|
||||
set clipboard=unnamedplus
|
||||
set completeopt=noinsert,menuone,noselect
|
||||
set cursorline
|
||||
set hidden
|
||||
set inccommand=split
|
||||
set mouse=a
|
||||
set number
|
||||
" set relativenumber
|
||||
set splitbelow splitright
|
||||
set title
|
||||
set ttimeoutlen=0
|
||||
set wildmenu
|
||||
set clipboard+=unnamedplus
|
||||
|
||||
set nocompatible
|
||||
filetype plugin indent on
|
||||
|
||||
" Tabs size
|
||||
set expandtab
|
||||
set shiftwidth=2
|
||||
set tabstop=2
|
||||
|
||||
call plug#begin()
|
||||
" Appearance
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
Plug 'ryanoasis/vim-devicons'
|
||||
|
||||
" Utilities
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
Plug 'ap/vim-css-color'
|
||||
Plug 'tpope/vim-commentary'
|
||||
Plug 'lambdalisue/suda.vim'
|
||||
|
||||
" Completion / linters / formatters
|
||||
" Plug 'neoclide/coc.nvim', {'branch': 'master', 'do': 'yarn install'}
|
||||
Plug 'plasticboy/vim-markdown'
|
||||
|
||||
" Git
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
call plug#end()
|
||||
|
||||
nnoremap <C-t> :NERDTreeToggle<CR>
|
||||
let NERDTreeShowHidden=1
|
||||
|
||||
let g:airline_theme='deus'
|
||||
let g:airline_powerline_fonts = 1
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
|
||||
ca w!! :SudaWrite
|
2
.xinitrc
@ -4,7 +4,7 @@
|
||||
xsetroot -cursor_name left_ptr
|
||||
|
||||
# set wallpaper
|
||||
xwallpaper --zoom ~/wallpapers/everforest/flowers.png
|
||||
xwallpaper --zoom ~/wall/everforest/flowers.png
|
||||
|
||||
# start window manager
|
||||
exec bspwm
|
||||
|
Before Width: | Height: | Size: 7.4 MiB |
Before Width: | Height: | Size: 7.5 MiB |
Before Width: | Height: | Size: 2.5 MiB |
Before Width: | Height: | Size: 943 KiB |
Before Width: | Height: | Size: 4.7 MiB |
Before Width: | Height: | Size: 7.2 MiB |
Before Width: | Height: | Size: 2.7 MiB |
Before Width: | Height: | Size: 18 MiB |
Before Width: | Height: | Size: 2.4 MiB |
Before Width: | Height: | Size: 15 MiB |
Before Width: | Height: | Size: 12 MiB |
Before Width: | Height: | Size: 1004 KiB |
Before Width: | Height: | Size: 4.4 MiB |
Before Width: | Height: | Size: 21 MiB |
Before Width: | Height: | Size: 18 MiB |
Before Width: | Height: | Size: 4.0 MiB |
Before Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.5 MiB |
Before Width: | Height: | Size: 5.4 MiB |
Before Width: | Height: | Size: 461 KiB |
Before Width: | Height: | Size: 8.7 MiB |
Before Width: | Height: | Size: 1.5 MiB |
Before Width: | Height: | Size: 8.9 MiB |
Before Width: | Height: | Size: 3.8 MiB |
Before Width: | Height: | Size: 3.1 MiB |
Before Width: | Height: | Size: 2.4 MiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 12 MiB |
Before Width: | Height: | Size: 4.6 MiB |
Before Width: | Height: | Size: 12 MiB |
Before Width: | Height: | Size: 5.1 MiB |
Before Width: | Height: | Size: 3.3 MiB |
Before Width: | Height: | Size: 1.8 MiB |
Before Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 1.0 MiB |
Before Width: | Height: | Size: 2.2 MiB |
Before Width: | Height: | Size: 8.2 MiB |
Before Width: | Height: | Size: 6.6 MiB |