mirror of https://git.davidovski.xyz/dot.git
transparent st
This commit is contained in:
parent
51937c18e6
commit
54c6b0a122
11
Xdefaults
11
Xdefaults
|
@ -1,10 +1,10 @@
|
||||||
#define FG #fefefe
|
#define FG #fefefe
|
||||||
#define BG #191919
|
#define BG #191919
|
||||||
|
|
||||||
! #define font1 xft:minecraft enchantment:minispace=False:size=10:antialias=true
|
! #define font1 minecraft enchantment:minispace=False:size=10:antialias=true
|
||||||
! #define spacing -2
|
! #define spacing 2
|
||||||
|
|
||||||
#define font1 xft:mononoki:minispace=False:size=14:antialias=true
|
#define font1 mononoki:minispace=False:size=10:antialias=true
|
||||||
#define spacing 2
|
#define spacing 2
|
||||||
|
|
||||||
#define font2 xft:MesloLGM Nerd Font Mono:minispace=False:size=10
|
#define font2 xft:MesloLGM Nerd Font Mono:minispace=False:size=10
|
||||||
|
@ -17,8 +17,9 @@ dzen2.font: mononoki
|
||||||
|
|
||||||
*.foreground: FG
|
*.foreground: FG
|
||||||
*.background: BG
|
*.background: BG
|
||||||
|
*.alpha: 100
|
||||||
*.borderColor: BG
|
*.borderColor: BG
|
||||||
*.cursorColor: FG
|
*.cursorColor: FG
|
||||||
|
|
||||||
! black
|
! black
|
||||||
*.color0: #282a2e
|
*.color0: #282a2e
|
||||||
|
@ -55,7 +56,7 @@ dzen2.font: mononoki
|
||||||
! Set depth to make transparency work.
|
! Set depth to make transparency work.
|
||||||
URxvt*depth: 32
|
URxvt*depth: 32
|
||||||
|
|
||||||
*.font: mononoki:minispace=False:size=10:antialias=true
|
*.font: font1
|
||||||
URxvt.font: font1,font2,font3,font4
|
URxvt.font: font1,font2,font3,font4
|
||||||
URxvt.boldFont: font1:style=bold,font2:style=bold,font3:style=bold,font4
|
URxvt.boldFont: font1:style=bold,font2:style=bold,font3:style=bold,font4
|
||||||
URxvt.italicFont:font1:style=italic,font2:style=italic,font3:style=italic,font4
|
URxvt.italicFont:font1:style=italic,font2:style=italic,font3:style=italic,font4
|
||||||
|
|
|
@ -14,10 +14,8 @@ pgrep -x sxhkd > /dev/null || sxhkd &
|
||||||
pgrep -x picom > /dev/null || picom &
|
pgrep -x picom > /dev/null || picom &
|
||||||
pgrep -x xss-lock > /dev/null || xss-lock slock &
|
pgrep -x xss-lock > /dev/null || xss-lock slock &
|
||||||
pgrep -x bg.sh > /dev/null || $HOME/.scripts/bg.sh > /dev/null &
|
pgrep -x bg.sh > /dev/null || $HOME/.scripts/bg.sh > /dev/null &
|
||||||
#pgrep -x xcompmgr > /dev/null || xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55 &
|
|
||||||
|
|
||||||
[ -f "$HOME/.config/xrandr.sh" ] && . $HOME/.config/xrandr.sh
|
[ -f "$HOME/.config/xrandr.sh" ] && . $HOME/.config/xrandr.sh
|
||||||
#xrandr > ~/XRANDR
|
|
||||||
|
|
||||||
primary=$(bspc query --monitors -m primary)
|
primary=$(bspc query --monitors -m primary)
|
||||||
set -- a b c d e f g h i j k l m n o
|
set -- a b c d e f g h i j k l m n o
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
# Manual sensitivity in %. Autosens must be turned off for this to take effect.
|
# Manual sensitivity in %. Autosens must be turned off for this to take effect.
|
||||||
# 200 means double height. Accepts only non-negative values.
|
# 200 means double height. Accepts only non-negative values.
|
||||||
; sensitivity = 200
|
; sensitivity = 100
|
||||||
|
|
||||||
# The number of bars (0-200). 0 sets it to auto (fill up console).
|
# The number of bars (0-200). 0 sets it to auto (fill up console).
|
||||||
# Bars' width and space between bars in number of characters.
|
# Bars' width and space between bars in number of characters.
|
||||||
|
@ -56,10 +56,10 @@
|
||||||
# For alsa 'source' will be the capture device.
|
# For alsa 'source' will be the capture device.
|
||||||
# For fifo 'source' will be the path to fifo-file.
|
# For fifo 'source' will be the path to fifo-file.
|
||||||
# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address
|
# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address
|
||||||
source = auto
|
; source = auto
|
||||||
|
|
||||||
; method = alsa
|
method = alsa
|
||||||
; source = hw:Loopback,1
|
source = hw:Loopback,1
|
||||||
|
|
||||||
; method = fifo
|
; method = fifo
|
||||||
; source = /tmp/mpd.fifo
|
; source = /tmp/mpd.fifo
|
||||||
|
@ -139,15 +139,15 @@ source = auto
|
||||||
|
|
||||||
# Percentage value for integral smoothing. Takes values from 0 - 100.
|
# Percentage value for integral smoothing. Takes values from 0 - 100.
|
||||||
# Higher values means smoother, but less precise. 0 to disable.
|
# Higher values means smoother, but less precise. 0 to disable.
|
||||||
integral = 0
|
; integral = 76
|
||||||
|
|
||||||
# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
|
# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
|
||||||
monstercat = 0
|
monstercat = 1
|
||||||
waves = 0
|
; waves = 0
|
||||||
|
|
||||||
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
|
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
|
||||||
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
|
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
|
||||||
gravity = 400
|
; gravity = 100
|
||||||
|
|
||||||
|
|
||||||
# In bar height, bars that would have been lower that this will not be drawn.
|
# In bar height, bars that would have been lower that this will not be drawn.
|
||||||
|
|
|
@ -17,7 +17,7 @@ animation-stiffness = 240;
|
||||||
|
|
||||||
# Change the mass of windows
|
# Change the mass of windows
|
||||||
# Modifying the mass of windows makes them virtually heavier and therefore slower to animate.
|
# Modifying the mass of windows makes them virtually heavier and therefore slower to animate.
|
||||||
animation-window-mass = 0.5;
|
animation-window-mass = 1;
|
||||||
|
|
||||||
# Change dampening applied during the animation
|
# Change dampening applied during the animation
|
||||||
# This setting basically does what it says. It dampens the animation of windows.
|
# This setting basically does what it says. It dampens the animation of windows.
|
||||||
|
@ -152,11 +152,11 @@ 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
|
||||||
fade-in-step = 0.01;
|
fade-in-step = 0.03;
|
||||||
|
|
||||||
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 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
|
||||||
fade-out-step = 0.01;
|
fade-out-step = 0.03;
|
||||||
|
|
||||||
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
|
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
|
||||||
fade-delta = 4
|
fade-delta = 4
|
||||||
|
|
|
@ -15,24 +15,14 @@ audio_output {
|
||||||
|
|
||||||
audio_output {
|
audio_output {
|
||||||
type "pulse"
|
type "pulse"
|
||||||
name "mpd pulse"
|
name "mpd"
|
||||||
}
|
}
|
||||||
|
|
||||||
#audio_output {
|
|
||||||
# type "jack"
|
|
||||||
# name "MPD jack"
|
|
||||||
#}
|
|
||||||
|
|
||||||
#audio_output {
|
|
||||||
#type "pipewire"
|
|
||||||
#name "MPD pipewire"
|
|
||||||
#}
|
|
||||||
|
|
||||||
audio_output {
|
audio_output {
|
||||||
type "fifo"
|
type "fifo"
|
||||||
name "Visualizer feed"
|
name "Visualizer feed"
|
||||||
path "/tmp/mpd.fifo"
|
path "/tmp/mpd.fifo"
|
||||||
format "22050:16:2"
|
format "44100:16:2"
|
||||||
}
|
}
|
||||||
|
|
||||||
db_file "~/.config/mpd/database"
|
db_file "~/.config/mpd/database"
|
||||||
|
|
|
@ -4,8 +4,8 @@ offsety = 24
|
||||||
|
|
||||||
[color]
|
[color]
|
||||||
bg = #191919
|
bg = #191919
|
||||||
bga = #191919
|
bga = #CC191919
|
||||||
fg4= #f58d44
|
fg4 = #f58d44
|
||||||
fg2 = #5f819d
|
fg2 = #5f819d
|
||||||
fg3 = #707880
|
fg3 = #707880
|
||||||
fg1 = #fefefe
|
fg1 = #fefefe
|
||||||
|
@ -40,7 +40,7 @@ modules-right = time
|
||||||
|
|
||||||
[bar/ws]
|
[bar/ws]
|
||||||
inherit = bar/base
|
inherit = bar/base
|
||||||
width = 2510
|
width = 1870
|
||||||
offset-x = 25
|
offset-x = 25
|
||||||
offset-y = 10
|
offset-y = 10
|
||||||
modules-left = workspaces xwindow
|
modules-left = workspaces xwindow
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#message {
|
#message {
|
||||||
border: 0px 0px 0px;
|
border: 2px 0px 0px;
|
||||||
border-color: @border-color;
|
border-color: @border-color;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
}
|
}
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
|
|
||||||
#listview {
|
#listview {
|
||||||
fixed-height: 0;
|
fixed-height: 0;
|
||||||
border: 0px 0px 0px;
|
border: 2px 0px 0px;
|
||||||
border-color: @border-color;
|
border-color: @border-color;
|
||||||
spacing: 2px;
|
spacing: 2px;
|
||||||
scrollbar: true;
|
scrollbar: true;
|
||||||
|
|
|
@ -73,7 +73,7 @@ super + i
|
||||||
|
|
||||||
# open audio mixer
|
# open audio mixer
|
||||||
super + semicolon
|
super + semicolon
|
||||||
bspc rule -a \* -o state=floating && $TERMINAL -e pulsemixer
|
bspc rule -a \* -o state=floating && $TERMINAL -e pulsemixer
|
||||||
|
|
||||||
# xkill
|
# xkill
|
||||||
ctrl + alt + Escape
|
ctrl + alt + Escape
|
||||||
|
@ -233,7 +233,7 @@ super + f
|
||||||
super + d
|
super + d
|
||||||
[ -z "$(bspc query -N -n focused.sticky)" ] && \
|
[ -z "$(bspc query -N -n focused.sticky)" ] && \
|
||||||
bspc node focused -g sticky=on || \
|
bspc node focused -g sticky=on || \
|
||||||
bspc node focused -g stick=off;
|
bspc node focused -g sticky=off;
|
||||||
|
|
||||||
super + ctrl + f
|
super + ctrl + f
|
||||||
bspc node -t \~fullscreen
|
bspc node -t \~fullscreen
|
||||||
|
|
|
@ -71,13 +71,13 @@ nmap <silent> <leader>re <Plug>(coc-codeaction-refactor)
|
||||||
xmap <silent> <leader>r <Plug>(coc-codeaction-refactor-selected)
|
xmap <silent> <leader>r <Plug>(coc-codeaction-refactor-selected)
|
||||||
" nmap <silent> <leader>r <Plug>(coc-codeaction-refactor-selected)
|
" nmap <silent> <leader>r <Plug>(coc-codeaction-refactor-selected)
|
||||||
|
|
||||||
inoremap <silent><expr> <TAB>
|
"inoremap <silent><expr> <TAB>
|
||||||
\ coc#pum#visible() ? coc#pum#next(1) :
|
" \ coc#pum#visible() ? coc#pum#next(1) :
|
||||||
\ CheckBackspace() ? "\<Tab>" :
|
" \ CheckBackspace() ? "\<Tab>" :
|
||||||
\ coc#refresh()
|
" \ coc#refresh()
|
||||||
inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
|
"inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
|
||||||
|
|
||||||
inoremap <silent><expr> <CR> coc#pum#visible() ? coc#pum#confirm()
|
"inoremap <silent><expr> <CR> coc#pum#visible() ? coc#pum#confirm()
|
||||||
\: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
|
\: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
|
||||||
|
|
||||||
function! CheckBackspace() abort
|
function! CheckBackspace() abort
|
||||||
|
|
2
profile
2
profile
|
@ -14,7 +14,7 @@ export FILE_MANAGER="/usr/bin/thunar"
|
||||||
export EMAIL_CLIENT="/usr/bin/claws-mail"
|
export EMAIL_CLIENT="/usr/bin/claws-mail"
|
||||||
export EDITOR="/usr/bin/vim"
|
export EDITOR="/usr/bin/vim"
|
||||||
|
|
||||||
export JAVA_HOME=/usr/lib/jvm/java-19-openjdk/
|
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk/
|
||||||
|
|
||||||
export XINITRC="$HOME/.config/sx/sxrc"
|
export XINITRC="$HOME/.config/sx/sxrc"
|
||||||
[ "$(fgconsole 2>/dev/null)" = "1" ] && exec sx
|
[ "$(fgconsole 2>/dev/null)" = "1" ] && exec sx
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
query=${1}
|
query=${1}
|
||||||
cd ~/music
|
cd ~/music
|
||||||
find . -iname "*$query*" -type f | while read -r line; do mpc insert "${line#./}"; done
|
find . -iname "*$query*" -type f | while read -r line; do echo "$line"; mpc insert "${line#./}"; done
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# add recently added files to the playlist
|
# add recently added files to the playlist
|
||||||
|
|
||||||
count=${1:-10}
|
count=${1:-25}
|
||||||
|
|
||||||
cd ~/music
|
cd ~/music
|
||||||
find . -type f -print0 | xargs -0 stat -c"%Y %n" | sort -n | tail -${count} |cut -d' ' -f2- | while read -r line; do mpc insert "${line#./}"; done
|
find . -type f -print0 | xargs -0 stat -c"%Y %n" | sort -n | tail -${count} |cut -d' ' -f2- | while read -r line; do mpc insert "${line#./}"; done
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# TODO make this list results in rofi/dmenu that would be coo
|
||||||
|
|
||||||
default_browser="links-launcher"
|
default_browser="links-launcher"
|
||||||
BROWSER=${BROWSER:-$default_browser}
|
BROWSER=${BROWSER:-$default_browser}
|
||||||
|
|
1192
st/davidovski.patch
1192
st/davidovski.patch
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue