From 6ed4306119355c5f6dbdca7565aa53829868ef8d Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 4 Dec 2023 02:32:16 +0000 Subject: change background --- .local/share/kaomoji | 3 ++- config/bg.png | Bin 94180 -> 1589838 bytes config/bspwm/bspwmrc | 13 ++++++++----- config/cava/config | 16 ++++++++-------- config/gtk-3.0/bookmarks | 16 +++++++++++----- config/mimeapps.list | 4 +++- config/mpd/mpd.conf | 14 ++++++++++++-- config/mpv/mpv.conf | 5 ----- config/rofi/colors-rofi-dark.rasi | 6 +++--- scripts/ddc-switch-inputs | 2 +- sh_aliases | 2 -- 11 files changed, 48 insertions(+), 33 deletions(-) diff --git a/.local/share/kaomoji b/.local/share/kaomoji index b03258a..023dcc3 100644 --- a/.local/share/kaomoji +++ b/.local/share/kaomoji @@ -378,7 +378,7 @@ o(^_-)O Boxer {{|└(>o< )┘|}} Up In Arms (^^)// Applause (2) ( `_)?(_' ) Dueling -(´~`) Weary +(´~`) WearY v(^_^)v Victory (3) (ノ_ _)ノ Surrender <( ・ェ-)<} Bow and Arrow @@ -452,3 +452,4 @@ o(>< )o⌒* Mad (3) \(~O~)/ Good Morning \_(´▽`)♪_/ Bathtub ( • )( • )ԅ(≖‿≖ԅ) BOOB +◣_◢ angry diff --git a/config/bg.png b/config/bg.png index e6c64c1..4f08434 100644 Binary files a/config/bg.png and b/config/bg.png differ diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc index 29c66a3..fec65c2 100755 --- a/config/bspwm/bspwmrc +++ b/config/bspwm/bspwmrc @@ -4,18 +4,20 @@ setup=0 COLOR_BACKGROUND="#282a2e" COLOR_PRIMARY="#fefefe" COLOR_SECONDARY="#707880" -BORDER=2 +BORDER=0 hsetroot -solid $COLOR_BACKGROUND & xsetroot -cursor_name left_ptr & xrdb ~/.config/Xdefaults pgrep -x sxhkd > /dev/null || sxhkd & -pgrep -x compfy > /dev/null || compfy & +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 @@ -29,7 +31,6 @@ for m in $(bspc query -M --names); do bspc monitor $m -d ${m}1 ${m}2 ${m}3 ${m}4 ${m}5 ${m}6 ${m}7 ${m}8 ${m}9 done - $HOME/.config/polybar/launch.sh & bspc config border_width $BORDER @@ -38,14 +39,16 @@ $HOME/.scripts/toggle-gap.sh ## individual rules bspc rule -a Zathura state=tiled -bspc rule -a feh state=floating +bspc rule -a feh state=fullscreen bspc config focus_follows_pointer false bspc config normal_border_color "$COLOR_SECONDARY" bspc config active_border_color "$COLOR_SECONDARY" bspc config focused_border_color "$COLOR_PRIMARY" -wmname bspwm + +# fix java programs that get confused on a missing name property +wmname LG3D sleep 1 diff --git a/config/cava/config b/config/cava/config index 2ddd926..a8379c8 100644 --- a/config/cava/config +++ b/config/cava/config @@ -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 = 100 +; sensitivity = 200 # 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 @@ method = alsa # Percentage value for integral smoothing. Takes values from 0 - 100. # Higher values means smoother, but less precise. 0 to disable. -; integral = 76 +integral = 0 # Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable. -monstercat = 1 -; waves = 0 +monstercat = 0 +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 = 100 +gravity = 400 # In bar height, bars that would have been lower that this will not be drawn. diff --git a/config/gtk-3.0/bookmarks b/config/gtk-3.0/bookmarks index 019802d..d6229a6 100644 --- a/config/gtk-3.0/bookmarks +++ b/config/gtk-3.0/bookmarks @@ -1,5 +1,11 @@ -file:///home/x/docs/proj -file:///home/x/dl -file:///tmp -file:/// -file:///home/x/pics/screenshot +file:///home/david/docs/lmms +file:///home/david/docs docs +file:///home/david/pics pics +file:///home/david/dl dl +file:///home/david/video video +file:///home/david/music music +file:///home/david/pics/screenshot screenshot +file:///home/david/docs/proj proj +file:///tmp tmp +file:///home/david/video/anime +file:///home/david/docs/proj/ardour diff --git a/config/mimeapps.list b/config/mimeapps.list index cf7a550..fe28a07 100644 --- a/config/mimeapps.list +++ b/config/mimeapps.list @@ -13,7 +13,6 @@ application/x-extension-shtml=userapp-Firefox-AK3I01.desktop application/xhtml+xml=userapp-Firefox-AK3I01.desktop application/x-extension-xhtml=userapp-Firefox-AK3I01.desktop application/x-extension-xht=userapp-Firefox-AK3I01.desktop -x-scheme-handler/eclipse+command x-scheme-handler/eclipse+mpc=_usr_lib_eclipse_.desktop [Added Associations] x-scheme-handler/http=userapp-Firefox-AK3I01.desktop; @@ -26,3 +25,6 @@ application/x-extension-shtml=userapp-Firefox-AK3I01.desktop; application/xhtml+xml=userapp-Firefox-AK3I01.desktop; application/x-extension-xhtml=userapp-Firefox-AK3I01.desktop; application/x-extension-xht=userapp-Firefox-AK3I01.desktop; +image/gif=nsxiv.desktop; +image/png=gimp.desktop; +image/jpeg=gimp.desktop; diff --git a/config/mpd/mpd.conf b/config/mpd/mpd.conf index b086d5e..5dd1296 100644 --- a/config/mpd/mpd.conf +++ b/config/mpd/mpd.conf @@ -15,14 +15,24 @@ audio_output { audio_output { type "pulse" - name "mpd" + name "mpd pulse" } +#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 "44100:16:2" + format "22050:16:2" } db_file "~/.config/mpd/database" diff --git a/config/mpv/mpv.conf b/config/mpv/mpv.conf index de4d6d7..e69de29 100644 --- a/config/mpv/mpv.conf +++ b/config/mpv/mpv.conf @@ -1,5 +0,0 @@ -#vo=gpu -hwdec=auto -screenshot-directory=~/pics/screenshot -glsl-shaders="~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Upscale_Denoise_CNN.glsl:~~/shaders/Anime4K_Restore_CNN_Moderate_M.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl" - diff --git a/config/rofi/colors-rofi-dark.rasi b/config/rofi/colors-rofi-dark.rasi index 180889d..e861cd4 100644 --- a/config/rofi/colors-rofi-dark.rasi +++ b/config/rofi/colors-rofi-dark.rasi @@ -35,7 +35,7 @@ #window { background-color: @background; - border: 2px; + border: 0px; border-color: @foreground; padding: 2.5ch; } @@ -46,7 +46,7 @@ } #message { - border: 2px 0px 0px; + border: 0px 0px 0px; border-color: @border-color; padding: 1px; } @@ -68,7 +68,7 @@ #listview { fixed-height: 0; - border: 2px 0px 0px; + border: 0px 0px 0px; border-color: @border-color; spacing: 2px; scrollbar: true; diff --git a/scripts/ddc-switch-inputs b/scripts/ddc-switch-inputs index 9bd3682..b6f8d0a 100755 --- a/scripts/ddc-switch-inputs +++ b/scripts/ddc-switch-inputs @@ -15,5 +15,5 @@ case $1 in ;; esac -ddcutil --bus=12 setvcp 60 ${OUT[0]} & +ddcutil --bus=10 setvcp 60 ${OUT[0]} & wait diff --git a/sh_aliases b/sh_aliases index 33eb29b..57bfabf 100644 --- a/sh_aliases +++ b/sh_aliases @@ -73,5 +73,3 @@ passthrough_enable () { } alias links="links -g -html-g-text-color 0xfefefe -html-g-background-color 0x191919 -font /home/david/.fonts/ttf-mononoki/mononoki-Regular.ttf" alias weechat="weechat -d ~/.weechat" - -alias manfzf="man -k . | fzf | cut -d'(' -f1 | xargs man" -- cgit v1.2.1