transparent st

This commit is contained in:
davidovski 2024-04-04 18:04:16 +01:00
parent 51937c18e6
commit 54c6b0a122
14 changed files with 193 additions and 1083 deletions

View File

@ -1,10 +1,10 @@
#define FG #fefefe
#define BG #191919
! #define font1 xft:minecraft enchantment:minispace=False:size=10:antialias=true
! #define spacing -2
! #define font1 minecraft enchantment:minispace=False:size=10:antialias=true
! #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 font2 xft:MesloLGM Nerd Font Mono:minispace=False:size=10
@ -17,8 +17,9 @@ dzen2.font: mononoki
*.foreground: FG
*.background: BG
*.alpha: 100
*.borderColor: BG
*.cursorColor: FG
*.cursorColor: FG
! black
*.color0: #282a2e
@ -55,7 +56,7 @@ dzen2.font: mononoki
! Set depth to make transparency work.
URxvt*depth: 32
*.font: mononoki:minispace=False:size=10:antialias=true
*.font: font1
URxvt.font: font1,font2,font3,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

View File

@ -14,10 +14,8 @@ pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x picom > /dev/null || picom &
pgrep -x xss-lock > /dev/null || xss-lock slock &
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
#xrandr > ~/XRANDR
primary=$(bspc query --monitors -m primary)
set -- a b c d e f g h i j k l m n o

View File

@ -17,7 +17,7 @@
# Manual sensitivity in %. Autosens must be turned off for this to take effect.
# 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).
# Bars' width and space between bars in number of characters.
@ -56,10 +56,10 @@
# For alsa 'source' will be the capture device.
# 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
source = auto
; source = auto
; method = alsa
; source = hw:Loopback,1
method = alsa
source = hw:Loopback,1
; method = fifo
; source = /tmp/mpd.fifo
@ -139,15 +139,15 @@ source = auto
# Percentage value for integral smoothing. Takes values from 0 - 100.
# 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.
monstercat = 0
waves = 0
monstercat = 1
; waves = 0
# 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".
gravity = 400
; gravity = 100
# In bar height, bars that would have been lower that this will not be drawn.

View File

@ -17,7 +17,7 @@ animation-stiffness = 240;
# Change the mass of windows
# 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
# 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)
# 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)
# 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)
fade-delta = 4

View File

@ -15,24 +15,14 @@ audio_output {
audio_output {
type "pulse"
name "mpd pulse"
name "mpd"
}
#audio_output {
# type "jack"
# name "MPD jack"
#}
#audio_output {
#type "pipewire"
#name "MPD pipewire"
#}
audio_output {
type "fifo"
name "Visualizer feed"
path "/tmp/mpd.fifo"
format "22050:16:2"
format "44100:16:2"
}
db_file "~/.config/mpd/database"

View File

@ -4,8 +4,8 @@ offsety = 24
[color]
bg = #191919
bga = #191919
fg4= #f58d44
bga = #CC191919
fg4 = #f58d44
fg2 = #5f819d
fg3 = #707880
fg1 = #fefefe
@ -40,7 +40,7 @@ modules-right = time
[bar/ws]
inherit = bar/base
width = 2510
width = 1870
offset-x = 25
offset-y = 10
modules-left = workspaces xwindow

View File

@ -46,7 +46,7 @@
}
#message {
border: 0px 0px 0px;
border: 2px 0px 0px;
border-color: @border-color;
padding: 1px;
}
@ -68,7 +68,7 @@
#listview {
fixed-height: 0;
border: 0px 0px 0px;
border: 2px 0px 0px;
border-color: @border-color;
spacing: 2px;
scrollbar: true;

View File

@ -73,7 +73,7 @@ super + i
# open audio mixer
super + semicolon
bspc rule -a \* -o state=floating && $TERMINAL -e pulsemixer
bspc rule -a \* -o state=floating && $TERMINAL -e pulsemixer
# xkill
ctrl + alt + Escape
@ -233,7 +233,7 @@ super + f
super + d
[ -z "$(bspc query -N -n focused.sticky)" ] && \
bspc node focused -g sticky=on || \
bspc node focused -g stick=off;
bspc node focused -g sticky=off;
super + ctrl + f
bspc node -t \~fullscreen

View File

@ -71,13 +71,13 @@ nmap <silent> <leader>re <Plug>(coc-codeaction-refactor)
xmap <silent> <leader>r <Plug>(coc-codeaction-refactor-selected)
" nmap <silent> <leader>r <Plug>(coc-codeaction-refactor-selected)
inoremap <silent><expr> <TAB>
\ coc#pum#visible() ? coc#pum#next(1) :
\ CheckBackspace() ? "\<Tab>" :
\ coc#refresh()
inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
"inoremap <silent><expr> <TAB>
" \ coc#pum#visible() ? coc#pum#next(1) :
" \ CheckBackspace() ? "\<Tab>" :
" \ coc#refresh()
"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>"
function! CheckBackspace() abort

View File

@ -14,7 +14,7 @@ export FILE_MANAGER="/usr/bin/thunar"
export EMAIL_CLIENT="/usr/bin/claws-mail"
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"
[ "$(fgconsole 2>/dev/null)" = "1" ] && exec sx

View File

@ -2,4 +2,4 @@
query=${1}
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

View File

@ -1,7 +1,7 @@
#!/bin/sh
# add recently added files to the playlist
count=${1:-10}
count=${1:-25}
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

View File

@ -1,4 +1,7 @@
#!/bin/sh
#
#
# TODO make this list results in rofi/dmenu that would be coo
default_browser="links-launcher"
BROWSER=${BROWSER:-$default_browser}

File diff suppressed because it is too large Load Diff