This commit is contained in:
ksyasuda 2022-01-25 18:09:20 -08:00
parent 1c3a86a813
commit 989107ad7e
14 changed files with 1007 additions and 346 deletions

View File

@ -1,38 +1,39 @@
# Sudacode Rice # Sudacode Rice
A collection of my Linux (Arch btw) configuration and dotfiles
## Screenshots
<div align="center"> <div align="center">
<p><b><i>Ordering:</b> Top Left -> Top Right -> Bottom Left -> Bottom Right</i></p>
<p>vim, bpytop, cava, ncmpcpp</p> ## My Linux (Arch btw) configuration and dotfiles
<img width="80%" src="screenshots/home1.png">
<p>(firefox, doom emacs, doom emacs, neofetch)</p> ![my rice](screenshots/rice.png)
<img width="80%" src="screenshots/home2.png"> ![application launcher](screenshots/app_launcher.png)
</div>
## Current Setup ## Current Setup
_Click the links to get quick access to the relevant code/files_ _Click the links to get quick access to the relevant code/files_
</div>
- Desktop Environment: [EndeavourOS](https://endeavouros.com/) (Arch btw) - Desktop Environment: [EndeavourOS](https://endeavouros.com/) (Arch btw)
- Window Manager: [i3-gaps](https://github.com/Airblader/i3) - Window Manager: [bspwm](https://github.com/baskerville/bspwm)
- [i3 config](i3-wm/config-desktop) - [bspwm config](bspwm/bspwmrc)
- Shell: [zsh (oh-my-zsh)](https://ohmyz.sh/)
- [zshrc](dotfiles/.zshrc)
- Compositor: [ibhagwan's picom fork](https://github.com/ibhagwan/picom) - Compositor: [ibhagwan's picom fork](https://github.com/ibhagwan/picom)
- [picom config](picom/picom.conf) - [picom config](picom/picom-hightransparency.conf)
- Notification Server: [dunst](https://github.com/dunst-project/dunst) - Notification Server: [dunst](https://github.com/dunst-project/dunst)
- [dunst config](dunst/dunstrc) - [dunst config](dunst/dunstrc)
- Status Bar: [polybar](https://github.com/polybar/polybar)
- [polybar config](polybar-themes/sblocks/config.ini)
- Application Launcher: [rofi](https://github.com/davatorium/rofi)
- [rofi config/colorscheme](rofi/config.rasi)
- Terminal Emulator: [alacritty-ligatures](https://aur.archlinux.org/packages/alacritty-ligatures/) - Terminal Emulator: [alacritty-ligatures](https://aur.archlinux.org/packages/alacritty-ligatures/)
- [alacritty config](alacritty/alacritty.yml) - [alacritty config](alacritty/alacritty.yml)
- [colorscheme](alacritty/alacritty.onedark.yml) - [colorscheme](alacritty/doom_one.yml)
- Text Editors: [vim](https://www.vim.org/) and [doom emacs](https://github.com/hlissner/doom-emacs) - Text Editor: [vim](https://www.vim.org/)
- [vimrc](dotfiles/.vimrc) - [vimrc](dotfiles/.vimrc)
- [doom config](doom)
- Audio Player: [mpd](https://www.musicpd.org/) with [ncmpcpp](https://github.com/ncmpcpp/ncmpcpp) - Audio Player: [mpd](https://www.musicpd.org/) with [ncmpcpp](https://github.com/ncmpcpp/ncmpcpp)
- [mpd config](mpd/mpd.conf) - [mpd config](mpd/mpd.conf)
- [ncmpcpp config](ncmpcpp/ncmpcpp.config) - [ncmpcpp config](ncmpcpp/ncmpcpp.config)
- Audio Visualizer: [cava](https://github.com/karlstav/cava) - Audio Visualizer: [cava](https://github.com/karlstav/cava)
- [cava config](cava/cavaconfig) - [cava config](cava/cavaconfig)
- System Monitor: [bpytop](https://github.com/aristocratos/bpytop) - System Monitor: [bpytop](https://github.com/aristocratos/bpytop)
- Firefox Startpage: [my startpage](https://github.com/ksyasuda/Firefox-Startpage)

View File

@ -1,4 +1,5 @@
syntax on syntax on
set noshowmode "disable default vim insert text at bottom
set laststatus=2 set laststatus=2
set number set number
set colorcolumn=80 set colorcolumn=80
@ -6,9 +7,11 @@ set tw=80
set shiftwidth=4 set shiftwidth=4
set tabstop=4 set tabstop=4
set autoindent set autoindent
set ignorecase
set smartcase
set incsearch
set smartindent set smartindent
set hlsearch set hlsearch
set smartcase
set ignorecase set ignorecase
set noerrorbells set noerrorbells
set title set title
@ -21,6 +24,7 @@ set scrolloff=8
set sidescrolloff=8 set sidescrolloff=8
" show candidates for vim commands with tab " show candidates for vim commands with tab
set wildmenu set wildmenu
set background=dark
set encoding=UTF-8 set encoding=UTF-8
set guifont=FiraCode\ Nerd\ Font\ 18 set guifont=FiraCode\ Nerd\ Font\ 18
@ -28,6 +32,17 @@ set guifont=FiraCode\ Nerd\ Font\ 18
" lsp handled by coc " lsp handled by coc
let g:ale_disable_lsp = 1 let g:ale_disable_lsp = 1
" Install vim-plug if not found
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
endif
" Run PlugInstall if there are missing plugins
autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
\| PlugInstall --sync | source $MYVIMRC
\| endif
call plug#begin('~/.vim/plugged') call plug#begin('~/.vim/plugged')
Plug 'mhinz/vim-startify' Plug 'mhinz/vim-startify'
@ -40,26 +55,24 @@ Plug 'pechorin/any-jump.vim'
Plug 'tpope/vim-commentary' Plug 'tpope/vim-commentary'
Plug 'shime/vim-livedown' Plug 'shime/vim-livedown'
Plug 'jiangmiao/auto-pairs' Plug 'jiangmiao/auto-pairs'
Plug 'alvan/vim-closetag'
Plug 'MaxMEllon/vim-jsx-pretty'
Plug 'ap/vim-css-color' Plug 'ap/vim-css-color'
Plug 'ap/vim-buftabline'
Plug 'itchyny/lightline.vim' Plug 'itchyny/lightline.vim'
Plug 'wakatime/vim-wakatime' Plug 'wakatime/vim-wakatime'
Plug 'itchyny/vim-gitbranch'
Plug 'preservim/nerdtree' | Plug 'Xuyuanp/nerdtree-git-plugin' Plug 'preservim/nerdtree' | Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'prettier/vim-prettier', { 'do': 'yarn install' } Plug 'prettier/vim-prettier', { 'do': 'yarn install' }
Plug 'sheerun/vim-polyglot' Plug 'sheerun/vim-polyglot'
Plug 'dense-analysis/ale' Plug 'dense-analysis/ale'
Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'maximbaz/lightline-ale' Plug 'maximbaz/lightline-ale'
" On-demand lazy load
Plug 'liuchengxu/vim-which-key', { 'on': ['WhichKey', 'WhichKey!'] } Plug 'liuchengxu/vim-which-key', { 'on': ['WhichKey', 'WhichKey!'] }
Plug 'osyo-manga/vim-over'
" colorschemes " colorschemes
Plug 'joshdick/onedark.vim' Plug 'joshdick/onedark.vim'
Plug 'kaicataldo/material.vim', { 'branch': 'main' } Plug 'kaicataldo/material.vim', { 'branch': 'main' }
Plug 'sainnhe/sonokai'
Plug 'romgrk/doom-one.vim' Plug 'romgrk/doom-one.vim'
Plug 'dracula/vim', { 'as': 'dracula' } Plug 'morhetz/gruvbox'
Plug 'vv9k/vim-github-dark'
call plug#end() call plug#end()
@ -297,6 +310,8 @@ let g:prettier#exec_cmd_path = "/usr/bin/prettier"
let g:lightline = {} let g:lightline = {}
" 'one', 'material', 'darcula', 'deus' " 'one', 'material', 'darcula', 'deus'
let g:lightline.colorscheme = "deus" let g:lightline.colorscheme = "deus"
" let g:lightline.colorscheme = "one"
" let g:lightline.colorscheme = "darcula"
let g:lightline.component_function = { let g:lightline.component_function = {
\ 'fugitive': 'MyFugitive', \ 'fugitive': 'MyFugitive',
\ 'readonly': 'Readonly', \ 'readonly': 'Readonly',
@ -378,20 +393,29 @@ endfunction
"COLORSCHEME "COLORSCHEME
"------------------------------------------------------------------------------ "------------------------------------------------------------------------------
set t_Co=256 set t_Co=256
set termguicolors " set termguicolors
set noshowmode "disable default vim insert text at bottom " let g:onedark_termcolors=256 "enable 256 colors
let g:onedark_termcolors=256 "enable 256 colors
" colorscheme onedark "set colorsheme as onedark " colorscheme onedark "set colorsheme as onedark
"material theme "material theme
" let g:material_theme_style = 'default' | 'palenight' | 'ocean' | 'lighter' | 'darker' | 'default-community' | 'palenight-community' | 'ocean-community' | 'lighter-community' | 'darker-community' " let g:material_theme_style = 'default' | 'palenight' | 'ocean' | 'lighter' | 'darker' | 'default-community' | 'palenight-community' | 'ocean-community' | 'lighter-community' | 'darker-community'
let g:material_terminal_italics = 1 let g:material_terminal_italics = 1
let g:material_theme_style = 'darker' let g:material_theme_style = 'darker'
" let g:material_theme_style = 'darker-community' " let g:material_theme_style = 'darker-community'
colorscheme material " colorscheme material
let g:doom_one_terminal_colors = v:true " let g:doom_one_terminal_colors = v:true
" colorscheme doom-one " colorscheme doom-one
let g:gruvbox_contrast_dark = "medium" "default
" let g:gruvbox_contrast_dark = "soft"
let g:gruvbox_improved_strings = 0
let g:gruvbox_improved_warnings = 1
colorscheme gruvbox
" let g:gh_color = "soft"
" colorscheme ghdark
"------------------------------------------------------------------------------ "------------------------------------------------------------------------------
"""bash language server """bash language server
"------------------------------------------------------------------------------ "------------------------------------------------------------------------------
@ -518,21 +542,29 @@ command! -nargs=0 OR :call CocActionAsync('runCommand', 'editor.action.org
set statusline^=%{coc#status()}%{get(b:,'coc_current_function','')} set statusline^=%{coc#status()}%{get(b:,'coc_current_function','')}
" Mappings for CoCList " Mappings for CoCList
" Show all diagnostics. " Show all diagnostics.
nnoremap <silent><nowait> <space>a :<C-u>CocList diagnostics<cr> nnoremap <silent><nowait> <space>cd :<C-u>CocCommand fzf-preview.CocDiagnostics<cr>
" Manage extensions. " Manage extensions.
nnoremap <silent><nowait> <space>e :<C-u>CocList extensions<cr> nnoremap <silent><nowait> <space>ce :<C-u>CocList extensions<cr>
" Show commands. " Show commands.
nnoremap <silent><nowait> <space>c :<C-u>CocList commands<cr> nnoremap <silent><nowait> <space>cc :<C-u>CocCommand fzf-preview.CommandPallete<cr>
" Find symbol of current document. " Find symbol of current document.
nnoremap <silent><nowait> <space>o :<C-u>CocList outline<cr> nnoremap <silent><nowait> <space>co :<C-u>CocOutline<cr>
" Search workspace symbols. " Search workspace symbols.
nnoremap <silent><nowait> <space>s :<C-u>CocList -I symbols<cr> nnoremap <silent><nowait> <space>cs :<C-u>CocCommand fzf-preview.BufferLines<cr>
" Do default action for next item. " Do default action for next item.
nnoremap <silent><nowait> <space>j :<C-u>CocNext<CR> nnoremap <silent><nowait> <space>cj :<C-u>CocNext<CR>
" Do default action for previous item. " Do default action for previous item.
nnoremap <silent><nowait> <space>k :<C-u>CocPrev<CR> nnoremap <silent><nowait> <space>ck :<C-u>CocPrev<CR>
" Resume latest coc list. " Resume latest coc list.
nnoremap <silent><nowait> <space>p :<C-u>CocListResume<CR> nnoremap <silent><nowait> <space>cp :<C-u>CocListResume<CR>
" show references with fzf
nnoremap <silent><nowait> <space>cr :<C-u>CocCommand fzf-preview.CocReferences<CR>
" show implementations with fzf
nnoremap <leader><nowait> <space>ci :<C-U>CocCommand fzf-preview.CocImplementations<Cr>
"------------------------------------------------------------------------------
"which key
"------------------------------------------------------------------------------
set timeoutlen=400
"------------------------------------------------------------------------------ "------------------------------------------------------------------------------
" custom commands " custom commands
@ -542,7 +574,10 @@ command! Config execute ":e ~/.vimrc"
"------------------------------------------------------------------------------ "------------------------------------------------------------------------------
"KEYBINDINGS "KEYBINDINGS
"------------------------------------------------------------------------------ "------------------------------------------------------------------------------
let mapleader = "\<Space>" let g:mapleader = "\<Space>"
let g:maplocalleader = ','
nnoremap <silent> <leader> :<c-u>WhichKey '<Space>'<CR>
nnoremap <silent> <localleader> :<c-u>WhichKey ','<CR>
map <F5> :! map <F5> :!
map <C-n> :NERDTreeToggle<CR> map <C-n> :NERDTreeToggle<CR>
map <C-l> :LivedownToggle<CR> map <C-l> :LivedownToggle<CR>
@ -550,12 +585,16 @@ nnoremap <C-T> :wa<CR>:vertical botright term ++kill=term<CR>
" fzf " fzf
nmap // :CocCommand fzf-preview.Lines<CR> nmap // :CocCommand fzf-preview.Lines<CR>
nmap ?? :CocCommand fzf-preview.BufferLines<CR> nmap ?? :CocCommand fzf-preview.BufferLines<CR>
" search fzf, refs, impls, defs
nmap <leader>sf :FZF<CR> nmap <leader>sf :FZF<CR>
" buffers " buffers
nmap <leader>bb :CocCommand fzf-preview.Buffers<CR> nmap <leader>bb :CocCommand fzf-preview.Buffers<CR>
nmap <leader>bB :CocCommand fzf-preview.AllBuffers<CR> nmap <leader>bB :CocCommand fzf-preview.AllBuffers<CR>
nmap <leader>bk :bdelete<CR> nmap <leader>bk :bdelete<CR>
nmap <leader>bn :enew<CR> nmap <leader>bn :bnext<CR>
nmap <leader>bp :bprev<CR>
map <C-J> :bnext<CR>
map <C-K> :bprev<CR>
" git " git
nmap <leader>gg :tab term ++close lazygit<CR> nmap <leader>gg :tab term ++close lazygit<CR>
nmap <leader>gc :CocCommand fzf-preview.GitLogs<CR> nmap <leader>gc :CocCommand fzf-preview.GitLogs<CR>
@ -568,15 +607,9 @@ nmap <leader>hk :Maps<CR>
nmap <leader>j :AnyJump<CR> nmap <leader>j :AnyJump<CR>
" toggle/open " toggle/open
nmap <leader>on :NERDTreeToggle<CR> nmap <leader>on :NERDTreeToggle<CR>
nmap <leader>ot :vertical botright ter<CR> nmap <leader>ot :vertical botright ter ++kill=terminal ++close<CR>
" peek/preview nmap <leader>oo :OverCommandLine<CR>
nmap <leader>pr :CocCommand fzf-preview.CocReferences<Cr>
nmap <leader>pi :CocCommand fzf-preview.CocImplementations<Cr>
nmap <leader>pd :CocCommand fzf-preview.CocDiagnostics<Cr>
" search " search
nmap <leader>sc :nohls<Cr> nmap <leader>sc :nohls<Cr>
"toggle coc outline "toggle coc outline
nmap <leader>to :CocOutline<CR> noremap <leader>to :CocOutline<CR>
"which key
set timeoutlen=400
nnoremap <silent> <leader> :WhichKey '<Space>'<CR>

View File

@ -111,7 +111,7 @@ HISTCONTROL=ignoreboth
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup. # Add wisely, as too many plugins slow down shell startup.
plugins=(zsh-autosuggestions zsh-syntax-highlighting colored-man-pages vi-mode) plugins=(zsh-autosuggestions zsh-syntax-highlighting colored-man-pages vi-mode git zsh-z)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
#source ~/.oh-my-zsh/plugins/git/git.plugin.zsh #source ~/.oh-my-zsh/plugins/git/git.plugin.zsh

View File

@ -1,3 +1,5 @@
# See dunst(5) for all configuration options
[global] [global]
### Display ### ### Display ###
@ -17,21 +19,33 @@
# will be ignored. # will be ignored.
follow = mouse follow = mouse
# The geometry of the window: ### Geometry ###
# [{width}]x{height}[+/-{x}+/-{y}]
# The geometry of the message window.
# The height is measured in number of notifications everything else
# in pixels. If the width is omitted but the height is given
# ("-geometry x2"), the message window expands over the whole screen
# (dmenu-like). If width is 0, the window expands to the longest
# message displayed. A positive x is measured from the left, a
# negative from the right side of the screen. Y is measured from
# the top and down respectively.
# The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option.
geometry = "0x4-82+100"
# Turn on the progess bar # dynamic width from 0 to 300
# width = (0, 300)
# constant width of 300
width = 0
# The maximum height of a single notification, excluding the frame.
# height = 300
height = 500
# Position the notification in the top right corner
origin = top-right
# Offset from the origin
offset = 9x48
# Scale factor. It is auto-detected if value is 0.
scale = 0
# Maximum number of notification (0 means no limit)
notification_limit = 0
### Progress bar ###
# Turn on the progess bar. It appears when a progress hint is passed with
# for example dunstify -h int:value:12
progress_bar = true progress_bar = true
# Set the progress bar height. This includes the frame, so make sure # Set the progress bar height. This includes the frame, so make sure
@ -48,22 +62,15 @@
progress_bar_max_width = 300 progress_bar_max_width = 300
# Show how many messages are currently hidden (because of geometry). # Show how many messages are currently hidden (because of
# notification_limit).
indicate_hidden = yes indicate_hidden = yes
# Shrink window if it's smaller than the width. Will be ignored if
# width is 0.
shrink = no
# The transparency of the window. Range: [0; 100]. # The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is # This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.). # present (e.g. xcompmgr, compiz, etc.). (X11 only)
transparency = 0 # transparency = 0
transparency = 45;
# The height of the entire notification. If the height is smaller
# than the font height and padding combined, it will be raised
# to the font height and padding.
notification_height = 0
# Draw a line of "separator_height" pixel height between two # Draw a line of "separator_height" pixel height between two
# notifications. # notifications.
@ -71,18 +78,17 @@
separator_height = 2 separator_height = 2
# Padding between text and separator. # Padding between text and separator.
padding = 10 padding = 14
# Horizontal padding. # Horizontal padding.
horizontal_padding = 10 horizontal_padding = 15
# Padding between text and icon. # Padding between text and icon.
text_icon_padding = 15 text_icon_padding = 15
# Defines width in pixels of frame around the notification window. # Defines width in pixels of frame around the notification window.
# Set to 0 to disable. # Set to 0 to disable.
frame_width = 7 frame_width = 4
# frame_width = 14
# Defines color of the frame around the notification window. # Defines color of the frame around the notification window.
frame_color = "#aaaaaa" frame_color = "#aaaaaa"
@ -103,15 +109,15 @@
# Set to 0 to disable. # Set to 0 to disable.
# A client can set the 'transient' hint to bypass this. See the rules # A client can set the 'transient' hint to bypass this. See the rules
# section for how to disable this if necessary # section for how to disable this if necessary
idle_threshold = 120 # idle_threshold = 120
### Text ### ### Text ###
font = "mononoki Nerd Font" 8 font = "mononoki Nerd Font" 12
# The spacing between lines. If the height is smaller than the # The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height. # font height, it will get raised to the font height.
line_height = 1 line_height = 0
# Possible values are: # Possible values are:
# full: Allow a small subset of html markup in notifications: # full: Allow a small subset of html markup in notifications:
@ -121,7 +127,7 @@
# <u>underline</u> # <u>underline</u>
# #
# For a complete reference see # For a complete reference see
# <https://developer.gnome.org/pango/stable/pango-Markup.html>. # <https://docs.gtk.org/Pango/pango_markup.html>.
# #
# strip: This setting is provided for compatibility with some broken # strip: This setting is provided for compatibility with some broken
# clients that send markup even though it's not enabled on the # clients that send markup even though it's not enabled on the
@ -162,11 +168,7 @@
# Set to -1 to disable. # Set to -1 to disable.
show_age_threshold = 60 show_age_threshold = 60
# Split notifications into multiple lines if they don't fit into # Specify where to make an ellipsis in long lines.
# geometry.
word_wrap = yes
# When word_wrap is set to no, specify where to make an ellipsis in long lines.
# Possible values are "start", "middle" and "end". # Possible values are "start", "middle" and "end".
ellipsize = middle ellipsize = middle
@ -190,14 +192,13 @@
# Scale small icons up to this size, set to 0 to disable. Helpful # Scale small icons up to this size, set to 0 to disable. Helpful
# for e.g. small files or high-dpi screens. In case of conflict, # for e.g. small files or high-dpi screens. In case of conflict,
# max_icon_size takes precedence over this. # max_icon_size takes precedence over this.
min_icon_size = 64 min_icon_size = 0
# Scale larger icons down to this size, set to 0 to disable # Scale larger icons down to this size, set to 0 to disable
max_icon_size = 128 max_icon_size = 128
# Paths to default icons. # Paths to default icons.
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
# icon_path = /usr/share/icons/Adwaita/16x16/status/:/usr/share/icons/Adwaita/16x16/devices/
### History ### ### History ###
@ -214,7 +215,7 @@
dmenu = /usr/bin/dmenu -p dunst: dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu. # Browser for opening urls in context menu.
browser = /usr/bin/firefox -new-tab browser = /usr/bin/xdg-open
# Always run rule-defined scripts, even if the notification is suppressed # Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true always_run_script = true
@ -225,20 +226,6 @@
# Define the class of the windows spawned by dunst # Define the class of the windows spawned by dunst
class = Dunst class = Dunst
# Print a notification on startup.
# This is mainly for error detection, since dbus (re-)starts dunst
# automatically after a crash.
startup_notification = false
# Manage dunst's desire for talking
# Can be one of the following values:
# crit: Critical features. Dunst aborts
# warn: Only non-fatal warnings
# mesg: Important Messages
# info: all unimportant stuff
# debug: all less than unimportant stuff
verbosity = mesg
# Define the corner radius of the notification window # Define the corner radius of the notification window
# in pixel size. If the radius is 0, you have no rounded # in pixel size. If the radius is 0, you have no rounded
# corners. # corners.
@ -279,10 +266,14 @@
# Defines list of actions for each mouse event # Defines list of actions for each mouse event
# Possible values are: # Possible values are:
# * none: Don't do anything. # * none: Don't do anything.
# * do_action: If the notification has exactly one action, or one is marked as default, # * do_action: Invoke the action determined by the action_name rule. If there is no
# invoke it. If there are multiple and no default, open the context menu. # such action, open the context menu.
# * open_url: If the notification has exactly one url, open it. If there are multiple
# ones, open the context menu.
# * close_current: Close current notification. # * close_current: Close current notification.
# * close_all: Close all notifications. # * close_all: Close all notifications.
# * context: Open context menu for the notification.
# * context_all: Open context menu for all notifications.
# These values can be strung together for each mouse event, and # These values can be strung together for each mouse event, and
# will be executed in sequence. # will be executed in sequence.
mouse_left_click = close_current mouse_left_click = close_current
@ -299,59 +290,31 @@
# where there are multiple screens with very different dpi values. # where there are multiple screens with very different dpi values.
per_monitor_dpi = true per_monitor_dpi = true
# The internal keyboard shortcut support in dunst is now considered deprecated
# and should be replaced by dunstctl calls. You can use the configuration of your
# WM or DE to bind these to shortcuts of your choice.
# Check the dunstctl manual page for more info.
[shortcuts]
# Shortcuts are specified as [modifier+][modifier+]...key
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
# "mod3" and "mod4" (windows-key).
# Xev might be helpful to find names for keys.
# Close notification. Equivalent dunstctl command:
# dunstctl close
close = ctrl+space
# Close all notifications. Equivalent dunstctl command:
# dunstctl close-all
close_all = ctrl+shift+space
# Redisplay last message(s). Equivalent dunstctl command:
# dunstctl history-pop
# history = ctrl+grave
# Context menu. Equivalent dunstctl command:
# dunstctl context
context = ctrl+shift+period
[urgency_low] [urgency_low]
# IMPORTANT: colors have to be defined in quotation marks. # IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment. # Otherwise the "#" and following would be interpreted as a comment.
background = "#222222" background = "#222222"
foreground = "#888888" foreground = "#888888"
timeout = 5 timeout = 10
# Icon for notifications with low urgency, uncomment to enable # Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon #new_icon = /path/to/icon
[urgency_normal] [urgency_normal]
# background = "#285577" background = "#24282f"
background = "#282c34" foreground = "#c678dd"
# foreground = "#55aebb" frame_color = "#98be65"
foreground = "#b26cc6"
frame_color = "#1eb75d"
timeout = 5 timeout = 5
# Icon for notifications with normal urgency, uncomment to enable # Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon #new_icon = /path/to/icon
[urgency_critical] [urgency_critical]
background = "#900000" background = "#ff6c6b"
foreground = "#ffffff" foreground = "#ffffff"
frame_color = "#ff0000" frame_color = "#900000"
timeout = 0 timeout = 0
# Icon for notifications with critical urgency, uncomment to enable # Icon for notifications with critical urgency, uncomment to enable
#icon = /path/to/icon #new_icon = /path/to/icon
# Every section that isn't one of the above is interpreted as a rules to # Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages. # override settings for certain messages.
@ -376,8 +339,15 @@
# new_icon # new_icon
# set_stack_tag # set_stack_tag
# set_transient # set_transient
# set_category
# timeout # timeout
# urgency # urgency
# skip_display
# history_ignore
# action_name
# word_wrap
# ellipsize
# alignment
# #
# Shell-like globbing will get expanded. # Shell-like globbing will get expanded.
# #
@ -392,8 +362,6 @@
# script appname summary body icon urgency # script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL". # where urgency can be "LOW", "NORMAL" or "CRITICAL".
# #
# NOTE: if you don't want a notification to be displayed, set the format
# to "".
# NOTE: It might be helpful to run dunst -print in a terminal in order # NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules. # to find fitting options for rules.
@ -432,7 +400,7 @@
#[ignore] #[ignore]
# # This notification will not be displayed # # This notification will not be displayed
# summary = "foobar" # summary = "foobar"
# format = "" # skip_display = true
#[history-ignore] #[history-ignore]
# # This notification will not be saved in history # # This notification will not be saved in history

View File

@ -54,7 +54,8 @@
# Specify high quality video rendering preset (for --vo=gpu only) # Specify high quality video rendering preset (for --vo=gpu only)
# Can cause performance problems with some drivers and GPUs. # Can cause performance problems with some drivers and GPUs.
profile=gpu-hq # profile=gpu-hq
profile=svp
# Force video to lock on the display's refresh rate, and change video and audio # Force video to lock on the display's refresh rate, and change video and audio
# speed to some degree to ensure synchronous playback - can cause problems # speed to some degree to ensure synchronous playback - can cause problems
@ -65,7 +66,9 @@ profile=gpu-hq
# video outputs, but should work well with default settings on most systems. # video outputs, but should work well with default settings on most systems.
# If performance or energy usage is an issue, forcing the vdpau or vaapi VOs # If performance or energy usage is an issue, forcing the vdpau or vaapi VOs
# may or may not help. # may or may not help.
#hwdec=auto # discourged by mpv devs and not likely to make significant difference
# hwdec=auto-copy
# hwdec-codecs=all
################## ##################
# audio settings # # audio settings #
@ -144,3 +147,11 @@ geometry=50%
volume=50 volume=50
audio-spdif=ac3,eac3,dts-hd,truehd audio-spdif=ac3,eac3,dts-hd,truehd
glsl-shaders="~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Restore_CNN_VL.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl" glsl-shaders="~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Restore_CNN_VL.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl"
[svp]
input-ipc-server=/tmp/mpvsocket # Receives input from SVP
hr-seek-framedrop=no # Fixes audio desync
resume-playback=no # Not compatible with SVP
# Can fix stuttering in some cases, in other cases probably causes it. Try it if you experience stuttering.
opengl-early-flush=yes

View File

@ -25,11 +25,6 @@ ncmpcpp_directory = ~/.config/ncmpcpp
mpd_host = "localhost" mpd_host = "localhost"
mpd_port = "6600" mpd_port = "6600"
# connect to desktop
# mpd_host = "192.168.86.177"
# mpd_port = "6600"
#
mpd_connection_timeout = 5 mpd_connection_timeout = 5
@ -37,6 +32,8 @@ mpd_connection_timeout = 5
## Needed for tag editor and file operations to work. ## Needed for tag editor and file operations to work.
## ##
mpd_music_dir = "~/Music" mpd_music_dir = "~/Music"
# mpd_music_dir = "/var/lib/mpd/music"
# #
#mpd_crossfade_time = 5 #mpd_crossfade_time = 5
# #

View File

@ -0,0 +1,487 @@
#################################
# Shadows #
#################################
# Enabled client-side shadows on windows. Note desktop windows
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
# unless explicitly requested using the wintypes option.
#
# shadow = false
shadow = true;
# The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12
shadow-radius = 24;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
# shadow-opacity = .75
# The left offset for shadows, in pixels. (defaults to -15)
# shadow-offset-x = -15
shadow-offset-x = -7;
# The top offset for shadows, in pixels. (defaults to -15)
# shadow-offset-y = -15
shadow-offset-y = -7;
# Avoid drawing shadows on dock/panel windows. This option is deprecated,
# you should use the *wintypes* option in your config file instead.
#
# no-dock-shadow = false
# Don't draw shadows on drag-and-drop windows. This option is deprecated,
# you should use the *wintypes* option in your config file instead.
#
# no-dnd-shadow = false
# Red color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-red = 0
# Green color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-green = 0
# Blue color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-blue = 0
# Do not paint shadows on shaped windows. Note shaped windows
# here means windows setting its shape through X Shape extension.
# Those using ARGB background is beyond our control.
# Deprecated, use
# shadow-exclude = 'bounding_shaped'
# or
# shadow-exclude = 'bounding_shaped && !rounded_corners'
# instead.
#
# shadow-ignore-shaped = ''
# Specify a list of conditions of windows that should have no shadow.
#
# examples:
# shadow-exclude = "n:e:Notification";
#
# shadow-exclude = []
shadow-exclude = [
"name = 'Notification'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"_GTK_FRAME_EXTENTS@:c"
];
# Specify a X geometry that describes the region in which shadow should not
# be painted in, such as a dock window region. Use
# shadow-exclude-reg = "x10+0+0"
# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
#
# shadow-exclude-reg = ""
# Crop shadow of a window fully on a particular Xinerama screen to the screen.
# xinerama-shadow-crop = false
#################################
# Fading #
#################################
# Fade windows in/out when opening/closing and when opacity changes,
# unless no-fading-openclose is used.
# fading = false
fading = true
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
# fade-in-step = 0.028
fade-in-step = 0.03;
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
# fade-out-step = 0.03
fade-out-step = 0.03;
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
# fade-delta = 10
# Specify a list of conditions of windows that should not be faded.
# fade-exclude = []
# Do not fade on window open/close.
# no-fading-openclose = false
# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
# no-fading-destroyed-argb = false
#################################
# Transparency / Opacity #
#################################
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
active-opacity = 0.90;
# active-opacity = 1;
inactive-opacity = 0.69;
# inactive-opacity = 1;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0
frame-opacity = 0.9;
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
menu-opacity = 0.8
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
# inactive-opacity-override = true
inactive-opacity-override = false;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
# active-opacity = 1.0
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
inactive-dim = 0.1
# Specify a list of conditions of windows that should always be considered focused.
# focus-exclude = []
focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Use fixed inactive dim value, instead of adjusting according to window opacity.
# inactive-dim-fixed = 1.0
# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
# like `50:name *= "Firefox"`. picom-trans is recommended over this.
# Note we don't make any guarantee about possible conflicts with other
# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
# example:
# opacity-rule = [ "80:class_g = 'URxvt'" ];
#
opacity-rule = [
"100:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:class_g = 'mpv'",
"85:class_g = 'Alacritty' && focused",
"85:class_g = 'Emacs' && focused",
"85:class_g = 'firefoxdeveloperedition' && focused",
"85:class_g = 'Thunar' && focused",
"85:class_g = 'Thunderbird' && focused",
"85:class_g = 'qutebrowser' && focused",
"75:class_g = 'Alacritty' && !focused",
"75:class_g = 'DBeaver' && !focused",
"75:class_g = 'Emacs' && !focused",
"75:class_g = 'firefoxdeveloperedition' && !focused",
"75:class_g = 'Joplin' && !focused",
"75:class_g = 'Microsoft Teams - Preview' && !focused",
"75:class_g = 'Notepadqq' && !focused",
"75:class_g = 'Polybar' && !focused",
"75:class_g = 'Thunar' && !focused",
"75:class_g = 'Thunderbird' && !focused",
"75:class_g = 'qutebrowser' && !focused",
"75:class_g = 'Dunst' && !focused",
"75:class_g = 'Dunst' && focused",
]
#################################
# Background-Blurring #
#################################
# Parameters for background blurring, see the *BLUR* section for more information.
# blur-method =
# blur-size = 10
#
# blur-deviation = false
# Blur background of semi-transparent / ARGB windows.
# Bad in performance, with driver-dependent behavior.
# The name of the switch may change without prior notifications.
#
# blur-background = true
# Blur background of windows when the window frame is not opaque.
# Implies:
# blur-background
# Bad in performance, with driver-dependent behavior. The name may change.
#
# blur-background-frame = false
# Use fixed blur strength rather than adjusting according to window opacity.
blur-background-fixed = false
# Specify the blur convolution kernel, with the following format:
# example:
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
#
# blur-kern = ''
blur-kern = "3x3box";
# Exclude conditions for background blur.
# blur-background-exclude = []
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c",
"name *= 'rect-overlay'",
"name *= 'mpv'"
];
#################################
# General Settings #
#################################
# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
# daemon = false
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
# `xrender` is the default one.
#
# backend = 'glx'
# backend = "xrender";
backend = "glx";
# Enable/disable VSync.
# vsync = false
vsync = false
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
# dbus = false
# Try to detect WM windows (a non-override-redirect window with no
# child that has 'WM_STATE') and mark them as active.
#
# mark-wmwin-focused = false
mark-wmwin-focused = true;
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
# mark-ovredir-focused = false
mark-ovredir-focused = true;
# Try to detect windows with rounded corners and don't consider them
# shaped windows. The accuracy is not very high, unfortunately.
#
# detect-rounded-corners = false
detect-rounded-corners = false;
# Detect '_NET_WM_OPACITY' on client windows, useful for window managers
# not passing '_NET_WM_OPACITY' of client windows to frame windows.
#
# detect-client-opacity = false
detect-client-opacity = true;
# Specify refresh rate of the screen. If not specified or 0, picom will
# try detecting this with X RandR extension.
#
# refresh-rate = 60
refresh-rate = 144
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to
# boost performance. This should not be used with
# vsync drm/opengl/opengl-oml
# as they essentially does sw-opti's job already,
# unless you wish to specify a lower refresh rate than the actual value.
#
# sw-opti =
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
# provided that the WM supports it.
#
# use-ewmh-active-win = false
# Unredirect all windows if a full-screen opaque window is detected,
# to maximize performance for full-screen windows. Known to cause flickering
# when redirecting/unredirecting windows.
#
# unredir-if-possible = false
# Delay before unredirecting the window, in milliseconds. Defaults to 0.
# unredir-if-possible-delay = 0
# Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
# unredir-if-possible-exclude = []
# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
# in the same group focused at the same time.
#
# detect-transient = false
detect-transient = true
# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if
# detect-transient is enabled, too.
#
# detect-client-leader = false
detect-client-leader = true
# Resize damaged region by a specific number of pixels.
# A positive value enlarges it while a negative one shrinks it.
# If the value is positive, those additional pixels will not be actually painted
# to screen, only used in blur calculation, and such. (Due to technical limitations,
# with use-damage, those pixels will still be incorrectly painted to screen.)
# Primarily used to fix the line corruption issues of blur,
# in which case you should use the blur radius value here
# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
# with a 5x5 one you use `--resize-damage 2`, and so on).
# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
#
# resize-damage = 1
# Specify a list of conditions of windows that should be painted with inverted color.
# Resource-hogging, and is not well tested.
#
# invert-color-include = []
# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
# Might cause incorrect opacity when rendering transparent content (but never
# practically happened) and may not work with blur-background.
# My tests show a 15% performance boost. Recommended.
#
# glx-no-stencil = false
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes,
# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
# Recommended if it works.
#
# glx-no-rebind-pixmap = false
# Disable the use of damage information.
# This cause the whole screen to be redrawn everytime, instead of the part of the screen
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
# The opposing option is use-damage
#
# no-use-damage = false
use-damage = true
# Use X Sync fence to sync clients' draw calls, to make sure all draw
# calls are finished before picom starts drawing. Needed on nvidia-drivers
# with GLX backend for some users.
#
# xrender-sync-fence = false
# GLX backend: Use specified GLSL fragment shader for rendering window contents.
# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
# in the source tree for examples.
#
# glx-fshader-win = ''
# Force all windows to be painted with blending. Useful if you
# have a glx-fshader-win that could turn opaque pixels transparent.
#
# force-win-blend = false
# Do not use EWMH to detect fullscreen windows.
# Reverts to checking if a window is fullscreen based only on its size and coordinates.
#
# no-ewmh-fullscreen = false
# Dimming bright windows so their brightness doesn't exceed this set value.
# Brightness of a window is estimated by averaging all pixels in the window,
# so this could comes with a performance hit.
# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
#
# max-brightness = 1.0
# Make transparent windows clip other windows like non-transparent windows do,
# instead of blending on top of them.
#
# transparent-clipping = false
# Set the log level. Possible values are:
# "trace", "debug", "info", "warn", "error"
# in increasing level of importance. Case doesn't matter.
# If using the "TRACE" log level, it's better to log into a file
# using *--log-file*, since it can generate a huge stream of logs.
#
# log-level = "debug"
log-level = "warn";
# Set the log file.
# If *--log-file* is never specified, logs will be written to stderr.
# Otherwise, logs will to written to the given file, though some of the early
# logs might still be written to the stderr.
# When setting this option from the config file, it is recommended to use an absolute path.
#
# log-file = '/path/to/your/log/file'
# Show all X errors (for debugging)
# show-all-xerrors = false
# Write process ID to a file.
# write-pid-path = '/path/to/your/log/file'
# Window type settings
#
# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
# "unknown", "desktop", "dock", "toolbar", "menu", "utility",
# "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
# "tooltip", "notification", "combo", and "dnd".
#
# Following per window-type options are available: ::
#
# fade, shadow:::
# Controls window-type-specific shadow and fade settings.
#
# opacity:::
# Controls default opacity of the window type.
#
# focus:::
# Controls whether the window of this type is to be always considered focused.
# (By default, all window types except "normal" and "dialog" has this on.)
#
# full-shadow:::
# Controls whether shadow is drawn under the parts of the window that you
# normally won't be able to see. Useful when the window has parts of it
# transparent, and you want shadows in those areas.
#
# redir-ignore:::
# Controls whether this type of windows should cause screen to become
# redirected again after been unredirected. If you have unredir-if-possible
# set, and doesn't want certain window to cause unnecessary screen redirection,
# you can set this to `true`.
#
#stop tearing on fullscreen windows
unredir-if-possible = false;
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; full-shadow = false; };
dock = { shadow = false; }
dnd = { shadow = false; }
popup_menu = { opacity = 0.85; }
dropdown_menu = { opacity = 0.85; }
};
# ------------
# ibhagwan
# corner-radius = 7;
corner-radius = 8;
# corner-radius = 15;
rounded-corners-exclude = [
"class_g = 'Plasma'",
"class_g = 'plsama-desktop'",
"class_g = 'win7'",
"class_g = 'krunner'",
"class_g = 'plasmashell'",
# "class_g = 'Polybar'"
]
blur: {
method = "dual_kawase";
# method = "kawase";
strength = 12;
background = false;
background-frame = false;
background-fixed = false;
}

View File

@ -1,31 +1,3 @@
#################################
# Animations #
#################################
# requires https://github.com/jonaburg/picom
# (These are also the default values)
transition-length = 300
transition-pow-x = 0.1
transition-pow-y = 0.1
transition-pow-w = 0.1
transition-pow-h = 0.1
size-transition = true
#################################
# Corners #
#################################
# requires: https://github.com/sdhand/compton or https://github.com/jonaburg/picom
corner-radius = 10.0;
rounded-corners-exclude = [
#"window_type = 'normal'",
"class_g = 'polybar'",
#"class_g = 'TelegramDesktop'",
];
round-borders = 1;
round-borders-exclude = [
#"class_g = 'TelegramDesktop'",
];
################################# #################################
# Shadows # # Shadows #
################################# #################################
@ -39,11 +11,11 @@ round-borders-exclude = [
shadow = true; shadow = true;
# The blur radius for shadows, in pixels. (defaults to 12) # The blur radius for shadows, in pixels. (defaults to 12)
shadow-radius = 12 # shadow-radius = 12
# shadow-radius = 7; shadow-radius = 24;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75) # The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
shadow-opacity = .75 # shadow-opacity = .75
# The left offset for shadows, in pixels. (defaults to -15) # The left offset for shadows, in pixels. (defaults to -15)
# shadow-offset-x = -15 # shadow-offset-x = -15
@ -94,8 +66,6 @@ shadow-exclude = [
"class_g = 'Conky'", "class_g = 'Conky'",
"class_g ?= 'Notify-osd'", "class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'", "class_g = 'Cairo-clock'",
"class_g = 'slop'",
"class_g = 'Polybar'",
"_GTK_FRAME_EXTENTS@:c" "_GTK_FRAME_EXTENTS@:c"
]; ];
@ -118,7 +88,7 @@ shadow-exclude = [
# Fade windows in/out when opening/closing and when opacity changes, # Fade windows in/out when opening/closing and when opacity changes,
# unless no-fading-openclose is used. # unless no-fading-openclose is used.
# fading = false # fading = false
fading = true; fading = true
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
# fade-in-step = 0.028 # fade-in-step = 0.028
@ -132,10 +102,7 @@ fade-out-step = 0.03;
# fade-delta = 10 # fade-delta = 10
# Specify a list of conditions of windows that should not be faded. # Specify a list of conditions of windows that should not be faded.
# don't need this, we disable fading for all normal windows with wintypes: {} # fade-exclude = []
fade-exclude = [
"class_g = 'slop'" # maim
]
# Do not fade on window open/close. # Do not fade on window open/close.
# no-fading-openclose = false # no-fading-openclose = false
@ -150,39 +117,32 @@ fade-exclude = [
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
# inactive-opacity = 1
inactive-opacity = 0.85; # active-opacity = 0.69;
active-opacity = 1;
# inactive-opacity = 0.95;
inactive-opacity = 1;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0 # frame-opacity = 1.0
frame-opacity = 0.7; frame-opacity = 0.8;
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) # Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
# menu-opacity = 1.0 menu-opacity = 0.8
# menu-opacity is depreciated use dropdown-menu and popup-menu instead.
#If using these 2 below change their values in line 510 & 511 aswell
popup_menu = { opacity = 0.8; }
dropdown_menu = { opacity = 0.8; }
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. # Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
# inactive-opacity-override = true # inactive-opacity-override = true
inactive-opacity-override = false; inactive-opacity-override = false;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
active-opacity = .9; # active-opacity = 1.0
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0) # Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
inactive-dim = 0.1 inactive-dim = 0.1
# Specify a list of conditions of windows that should always be considered focused. # Specify a list of conditions of windows that should always be considered focused.
# focus-exclude = [] # focus-exclude = []
focus-exclude = [ focus-exclude = [ "class_g = 'Cairo-clock'" ];
"class_g = 'Cairo-clock'",
"class_g = 'Bar'", # lemonbar
"class_g = 'slop'" # maim
];
# Use fixed inactive dim value, instead of adjusting according to window opacity. # Use fixed inactive dim value, instead of adjusting according to window opacity.
# inactive-dim-fixed = 1.0 # inactive-dim-fixed = 1.0
@ -194,21 +154,14 @@ focus-exclude = [
# example: # example:
# opacity-rule = [ "80:class_g = 'URxvt'" ]; # opacity-rule = [ "80:class_g = 'URxvt'" ];
# #
# opacity-rule = []
opacity-rule = [ opacity-rule = [
"96:class_g = 'Alacritty'",
"100:class_g = 'Polybar'",
"100:class_g = 'code-oss'",
"100:class_g = 'Code'",
"100:class_g = 'jetbrains-studio'",
"100:class_g = 'firefox'",
"100:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'", "100:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'", "100:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'", "100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'", "100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'", "100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'",
]; "100:class_g = 'mpv'",
]
################################# #################################
# Background-Blurring # # Background-Blurring #
@ -217,7 +170,7 @@ opacity-rule = [
# Parameters for background blurring, see the *BLUR* section for more information. # Parameters for background blurring, see the *BLUR* section for more information.
# blur-method = # blur-method =
# blur-size = 12 blur-size = 10
# #
# blur-deviation = false # blur-deviation = false
@ -225,18 +178,18 @@ opacity-rule = [
# Bad in performance, with driver-dependent behavior. # Bad in performance, with driver-dependent behavior.
# The name of the switch may change without prior notifications. # The name of the switch may change without prior notifications.
# #
# blur-background = true; blur-background = false
# Blur background of windows when the window frame is not opaque. # Blur background of windows when the window frame is not opaque.
# Implies: # Implies:
# blur-background # blur-background
# Bad in performance, with driver-dependent behavior. The name may change. # Bad in performance, with driver-dependent behavior. The name may change.
# #
# blur-background-frame = false; # blur-background-frame = false
# Use fixed blur strength rather than adjusting according to window opacity. # Use fixed blur strength rather than adjusting according to window opacity.
# blur-background-fixed = false; blur-background-fixed = false
# Specify the blur convolution kernel, with the following format: # Specify the blur convolution kernel, with the following format:
@ -244,35 +197,19 @@ opacity-rule = [
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; # blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
# #
# blur-kern = '' # blur-kern = ''
# blur-kern = "3x3box"; blur-kern = "3x3box";
blur: {
# requires: https://github.com/ibhagwan/picom
method = "kawase";
#method = "kernel";
strength = 7;
# deviation = 1.0;
# kernel = "11x11gaussian";
background = false;
background-frame = false;
background-fixed = false;
kern = "3x3box";
}
# Exclude conditions for background blur. # Exclude conditions for background blur.
# blur-background-exclude = []
blur-background-exclude = [ blur-background-exclude = [
#"window_type = 'dock'", "window_type = 'dock'",
#"window_type = 'desktop'", "window_type = 'desktop'",
#"class_g = 'URxvt'", "_GTK_FRAME_EXTENTS@:c",
# "name *= 'rect-overlay'",
# prevents picom from blurring the background "name *= 'mpv'"
# when taking selection screenshot with `main`
# https://github.com/naelstrof/maim/issues/130
"class_g = 'slop'",
"_GTK_FRAME_EXTENTS@:c"
]; ];
################################# #################################
# General Settings # # General Settings #
################################# #################################
@ -283,14 +220,12 @@ blur-background-exclude = [
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. # Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
# `xrender` is the default one. # `xrender` is the default one.
# #
experimental-backends = true; # backend = 'glx'
backend = "glx";
# backend = "xrender"; # backend = "xrender";
backend = "glx";
# Enable/disable VSync. # Enable/disable VSync.
# vsync = false # vsync = false
vsync = false vsync = true
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details. # Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
# dbus = false # dbus = false
@ -321,7 +256,7 @@ detect-client-opacity = true;
# try detecting this with X RandR extension. # try detecting this with X RandR extension.
# #
# refresh-rate = 60 # refresh-rate = 60
refresh-rate = 0 refresh-rate = 144
# Limit picom to repaint at most once every 1 / 'refresh_rate' second to # Limit picom to repaint at most once every 1 / 'refresh_rate' second to
# boost performance. This should not be used with # boost performance. This should not be used with
@ -339,7 +274,7 @@ refresh-rate = 0
# Unredirect all windows if a full-screen opaque window is detected, # Unredirect all windows if a full-screen opaque window is detected,
# to maximize performance for full-screen windows. Known to cause flickering # to maximize performance for full-screen windows. Known to cause flickering
# when redirecting/unredirecting windows. paint-on-overlay may make the flickering less obvious. # when redirecting/unredirecting windows.
# #
# unredir-if-possible = false # unredir-if-possible = false
@ -400,15 +335,13 @@ detect-client-leader = true
# The opposing option is use-damage # The opposing option is use-damage
# #
# no-use-damage = false # no-use-damage = false
#use-damage = true (Causing Weird Black semi opaque rectangles when terminal is opened) use-damage = true
#Changing use-damage to false fixes the problem
use-damage = false
# Use X Sync fence to sync clients' draw calls, to make sure all draw # Use X Sync fence to sync clients' draw calls, to make sure all draw
# calls are finished before picom starts drawing. Needed on nvidia-drivers # calls are finished before picom starts drawing. Needed on nvidia-drivers
# with GLX backend for some users. # with GLX backend for some users.
# #
xrender-sync-fence = true # xrender-sync-fence = false
# GLX backend: Use specified GLSL fragment shader for rendering window contents. # GLX backend: Use specified GLSL fragment shader for rendering window contents.
# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` # See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
@ -445,7 +378,7 @@ xrender-sync-fence = true
# using *--log-file*, since it can generate a huge stream of logs. # using *--log-file*, since it can generate a huge stream of logs.
# #
# log-level = "debug" # log-level = "debug"
log-level = "info"; log-level = "warn";
# Set the log file. # Set the log file.
# If *--log-file* is never specified, logs will be written to stderr. # If *--log-file* is never specified, logs will be written to stderr.
@ -453,7 +386,7 @@ log-level = "info";
# logs might still be written to the stderr. # logs might still be written to the stderr.
# When setting this option from the config file, it is recommended to use an absolute path. # When setting this option from the config file, it is recommended to use an absolute path.
# #
# log-file = '~/.picom.log' # log-file = '/path/to/your/log/file'
# Show all X errors (for debugging) # Show all X errors (for debugging)
# show-all-xerrors = false # show-all-xerrors = false
@ -491,13 +424,41 @@ log-level = "info";
# set, and doesn't want certain window to cause unnecessary screen redirection, # set, and doesn't want certain window to cause unnecessary screen redirection,
# you can set this to `true`. # you can set this to `true`.
# #
#stop tearing on fullscreen windows
unredir-if-possible = false;
wintypes: wintypes:
{ {
normal = { fade = false; shadow = false; } tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; full-shadow = false; };
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
dock = { shadow = false; } dock = { shadow = false; }
dnd = { shadow = false; } dnd = { shadow = false; }
popup_menu = { opacity = 0.8; } popup_menu = { opacity = 0.85; }
dropdown_menu = { opacity = 0.8; } dropdown_menu = { opacity = 0.85; }
}; };
# ------------
# ibhagwan
# corner-radius = 7;
corner-radius = 14;
# corner-radius = 15;
rounded-corners-exclude = [
"class_g = 'Plasma'",
"class_g = 'plsama-desktop'",
"class_g = 'win7'",
"class_g = 'krunner'",
"class_g = 'plasmashell'",
# "class_g = 'Polybar'"
]
blur: {
method = "dual_kawase";
# method = "kawase";
strength = 7;
background = false;
background-frame = false;
background-fixed = false;
}

View File

@ -62,7 +62,7 @@ fixed-center = true
; the percentage can optionally be extended with a pixel offset like so: ; the percentage can optionally be extended with a pixel offset like so:
; 50%:-10, this will result in a width or height of 50% minus 10 pixels ; 50%:-10, this will result in a width or height of 50% minus 10 pixels
; width = 95% ; width = 95%
width = 99.2% width = 99.4%
; height = 34 ; height = 34
height = 40 height = 40
@ -71,7 +71,7 @@ height = 40
; 50%:-10, this will result in an offset in the x or y direction ; 50%:-10, this will result in an offset in the x or y direction
; of 50% minus 10 pixels ; of 50% minus 10 pixels
; offset-x = 2.5% ; offset-x = 2.5%
offset-x = 0.4% offset-x = 0.3%
offset-y = 0.38% offset-y = 0.38%
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) ; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
@ -179,7 +179,8 @@ locale = en_US.UTF-8
; center ; center
; right ; right
; none ; none
tray-position = center ; tray-position = center
tray-position = none
; If true, the bar will not shift its ; If true, the bar will not shift its
; contents when the tray changes ; contents when the tray changes

202
rofi/config.rasi Normal file
View File

@ -0,0 +1,202 @@
configuration {
font: "Open Sans 12";
show-icons: true;
icon-theme: "Fluent-Dark";
display-drun: "Apps";
drun-display-format: "{name}";
dpi: 144;
markup: true;
}
* {
/* background: #24282f; */
background: rgba(36, 40, 47, 0.50);
foreground: #bbc2cf;
black: #464b55;
red: #ff6c6b;
green: #98be65;
yellow: #ecbe7b;
blue: #51afef;
magenta: #c678dd;
cyan: #46d9ff;
white: #bbc2cf;
selected: #82aaff;
spacing: 2;
background-color: var(background);
normal-background: var(background);
normal-foreground: var(foreground);
alternate-normal-background: var(background);
alternate-normal-foreground: var(foreground);
selected-normal-background: var(foreground);
selected-normal-foreground: var(background);
active-background: var(background);
active-foreground: var(blue);
alternate-active-background: var(background);
alternate-active-foreground: var(blue);
selected-active-background: var(blue);
selected-active-foreground: var(magenta);
urgent-background: var(background);
urgent-foreground: var(red);
alternate-urgent-background: var(background);
alternate-urgent-foreground: var(red);
selected-urgent-background: var(background);
selected-urgent-foreground: var(background);
}
element {
padding: 4px 0px 4px 7px;
spacing: 5px;
border: 0;
cursor: pointer;
margin: 1px 0px;
border-radius: 6px;
}
element normal.normal {
background-color: var(normal-background);
text-color: var(normal-foreground);
background-color: transparent;
}
element normal.urgent {
background-color: var(urgent-background);
text-color: var(urgent-foreground);
}
element normal.active {
background-color: var(active-background);
text-color: var(active-foreground);
}
element selected.normal {
text-color: var(black);
background-color: rgba(81, 175, 239, 0.69);
}
element selected.urgent {
background-color: var(selected-urgent-background);
text-color: var(selected-urgent-foreground);
}
element selected.active {
background-color: var(cyan);
text-color: var(black);
}
element alternate.normal {
background-color: var(alternate-normal-background);
text-color: var(alternate-normal-foreground);
background-color: transparent;
}
element alternate.urgent {
background-color: var(alternate-urgent-background);
text-color: var(alternate-urgent-foreground);
}
element alternate.active {
background-color: var(alternate-active-background);
text-color: var(alternate-active-foreground);
}
element-text {
background-color: rgba(0, 0, 0, 0%);
text-color: inherit;
highlight: inherit;
cursor: inherit;
margin: 0.75%;
}
element-icon {
background-color: rgba(0, 0, 0, 0%);
size: 1.75em;
text-color: inherit;
cursor: inherit;
}
window {
padding: 0;
border: 0;
background-color: var(background);
border-radius: 12px;
/* fullscreen: true; */
/* width: 85%; */
/* height: 75%; */
width: 90%;
height: 85%;
anchor: center;
location: center;
}
mainbox {
padding: 0;
border: 0;
}
message {
margin: 0px 0px 7px 15px;
border: 0;
}
textbox {
border: 0;
text-color: var(foreground);
margin: 0;
}
listview {
margin: 0px 5px 2px 5px;
scrollbar: true;
spacing: 2px;
fixed-height: 0;
columns: 4;
border: 0;
}
scrollbar {
padding: 0;
handle-width: 14px;
border: 0;
handle-color: var(selected);
}
button {
spacing: 0;
text-color: var(normal-foreground);
cursor: pointer;
}
button selected {
background-color: var(selected-normal-background);
text-color: var(selected-normal-foreground);
}
entry {
spacing: 0;
cursor: text;
text-color: var(normal-foreground);
background-color: var(black);
}
inputbar {
padding: 7px;
margin: 7px;
spacing: 0;
text-color: var(normal-foreground);
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
background-color: transparent;
}
case-indicator {
spacing: 0;
text-color: var(yellow);
margin: 0 0 0 0.5%;
}
entry {
padding: 4px 8px;
spacing: 0;
text-color: var(blue);
border-radius: 6px;
}
prompt {
spacing: 0;
text-color: var(magenta);
padding: 4px 0px;
background-color: transparent;
}
textbox-prompt-colon {
expand: false;
str: ":";
margin: 0px 0.3em 0em 0em ;
text-color: var(magenta);
padding: 4px 0px;
background-color: transparent;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 536 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 479 KiB

BIN
screenshots/rice.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 609 KiB