summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig/bspwm/bspwmrc18
-rw-r--r--config/cava/config6
-rw-r--r--config/gtk-3.0/bookmarks16
-rw-r--r--config/mimeapps.list1
-rw-r--r--config/mpd/mpd.conf14
-rw-r--r--config/mpv/mpv.conf6
-rw-r--r--config/picom/picom.conf8
-rw-r--r--config/polybar/config6
-rwxr-xr-xconfig/sx/sxrc4
-rw-r--r--config/sxhkd/sxhkdrc18
-rw-r--r--config/vim/vimrc7
-rw-r--r--config/zathura/zathurarc2
12 files changed, 54 insertions, 52 deletions
diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc
index bad91bf..f913564 100755
--- a/config/bspwm/bspwmrc
+++ b/config/bspwm/bspwmrc
@@ -4,17 +4,16 @@ setup=0
COLOR_BACKGROUND="#282a2e"
COLOR_PRIMARY="#fefefe"
COLOR_SECONDARY="#707880"
-BORDER=3
+BORDER=2
hsetroot -solid $COLOR_BACKGROUND &
xsetroot -cursor_name left_ptr &
xrdb ~/.config/Xdefaults
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 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
@@ -30,6 +29,7 @@ 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,19 +38,19 @@ $HOME/.scripts/toggle-gap.sh
## individual rules
bspc rule -a Zathura state=tiled
-bspc rule -a feh state=fullscreen
+bspc rule -a feh state=floating
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
+wmname bspwm
sleep 1
-pgrep -x pipewire > /dev/null || pipewire &
-pgrep -x pipewire-pulse > /dev/null || pipewire-pulse &
-pgrep -x wireplumber > /dev/null || wireplumber &
+#pgrep -x pipewire > /dev/null || pipewire &
+#pgrep -x pipewire-pulse > /dev/null || pipewire-pulse &
+#pgrep -x wireplumber > /dev/null || wireplumber &
$HOME/.scripts/start-mpd
diff --git a/config/cava/config b/config/cava/config
index a2b5cf8..2ddd926 100644
--- a/config/cava/config
+++ b/config/cava/config
@@ -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
diff --git a/config/gtk-3.0/bookmarks b/config/gtk-3.0/bookmarks
index d6229a6..019802d 100644
--- a/config/gtk-3.0/bookmarks
+++ b/config/gtk-3.0/bookmarks
@@ -1,11 +1,5 @@
-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
+file:///home/x/docs/proj
+file:///home/x/dl
+file:///tmp
+file:///
+file:///home/x/pics/screenshot
diff --git a/config/mimeapps.list b/config/mimeapps.list
index 1d268b2..cf7a550 100644
--- a/config/mimeapps.list
+++ b/config/mimeapps.list
@@ -13,6 +13,7 @@ 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;
diff --git a/config/mpd/mpd.conf b/config/mpd/mpd.conf
index 5dd1296..b086d5e 100644
--- a/config/mpd/mpd.conf
+++ b/config/mpd/mpd.conf
@@ -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"
diff --git a/config/mpv/mpv.conf b/config/mpv/mpv.conf
index 2e2e0fc..de4d6d7 100644
--- a/config/mpv/mpv.conf
+++ b/config/mpv/mpv.conf
@@ -1 +1,5 @@
-vo=x11
+#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/picom/picom.conf b/config/picom/picom.conf
index 5800384..7e5ed20 100644
--- a/config/picom/picom.conf
+++ b/config/picom/picom.conf
@@ -185,7 +185,7 @@ opacity-rule = [
# Bad in performance, with driver-dependent behavior.
# The name of the switch may change without prior notifications.
#
-blur-background = false;
+blur-background = true;
# Blur background of windows when the window frame is not opaque.
# Implies:
@@ -237,7 +237,7 @@ daemon = true
# `xrender` is the default one.
#
experimental-backends = true;
-backend = "xrender";
+backend = "glx";
vsync = true
@@ -439,8 +439,8 @@ log-level = "info";
#
wintypes:
{
- normal = { fade = false; shadow = true;}
- tooltip = { fade = false; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
+ normal = { fade = true; shadow = true;}
+ tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
dock = { full-shadow = true; }
dnd = { shadow = true; }
popup_menu = { shadow = true; }
diff --git a/config/polybar/config b/config/polybar/config
index a08cc24..18a7eae 100644
--- a/config/polybar/config
+++ b/config/polybar/config
@@ -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
@@ -140,7 +140,7 @@ label-muted = "%{T3} %{T-}--%"
type = custom/script
exec = pactl list sources | grep -qi 'Mute: yes' && echo "" || echo ""
interval = 1
-click-left = $HOME/.scripts/toggle-mute.sh
+click-left = $HOME/.scripts/toggle-mic.sh
[module/vpn]
type = custom/script
@@ -153,7 +153,7 @@ format-prefix-foreground = #5b
[module/temperature]
type = custom/script
-exec = sensors | awk '/^Tctl:/ { print substr($2, 2) }'
+exec = sensors | awk '/^Core 0:/ { print substr($3, 2) }'
format-prefix = " "
interval = 1
diff --git a/config/sx/sxrc b/config/sx/sxrc
index a95a311..ee19f27 100755
--- a/config/sx/sxrc
+++ b/config/sx/sxrc
@@ -1,4 +1,4 @@
-xrdb ~/.config/Xdefaults
-setxkbmap -option caps:none
+setxkbmap -option caps:backspace
+xmodmap -e "clear Lock"
exec bspwm
diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc
index e9b0202..40ddc7e 100644
--- a/config/sxhkd/sxhkdrc
+++ b/config/sxhkd/sxhkdrc
@@ -21,12 +21,11 @@ super + ctrl + alt + f
light -U {10,1}
{_, super} + XF86MonBrightnessUp
light -A {10,1}
-
super + r
- rofi -show drun -show-icons
+ rofi -show drun -show-icons
super + shift + r
rofi -show ssh -show-icons
@@ -35,13 +34,13 @@ super + ctrl + Tab
rofi -show window
super + g
- $HOME/.scripts/toggle-gap.sh
+ $HOME/.scripts/toggle-gap.sh
super + shift + g
$HOME/.scripts/toggle-size-hints.sh
# open terminal
-super + Return
+super + Return
$TERMINAL
# open pdf viewer
@@ -67,6 +66,11 @@ super + m
super + n
$FILE_MANAGER
+# open dmenu iwd
+super + i
+ $HOME/.scripts/dmenu-iwd
+
+
# open audio mixer
super + semicolon
bspc rule -a \* -o state=floating && $TERMINAL -e pulsemixer
@@ -225,6 +229,12 @@ super + f
bspc node focused -t floating || \
bspc node focused -t tiled;
+# make the node sticky
+super + d
+ [ -z "$(bspc query -N -n focused.sticky)" ] && \
+ bspc node focused -g sticky=on || \
+ bspc node focused -g stick=off;
+
super + ctrl + f
bspc node -t \~fullscreen
diff --git a/config/vim/vimrc b/config/vim/vimrc
index 1850986..5444edb 100644
--- a/config/vim/vimrc
+++ b/config/vim/vimrc
@@ -14,7 +14,7 @@ set spelllang=en_gb
set number relativenumber
-syntax on
+syntax on
nnoremap <silent> <C-l> :nohl<CR><C-l>
@@ -50,7 +50,7 @@ Plug 'preservim/vim-markdown'
Plug 'neoclide/coc.nvim'
-hi CocInlayHint ctermbg=Black ctermfg=Gray
+hi CocInlayHint ctermbg=Black ctermfg=Gray
set updatetime=300
set signcolumn=yes
@@ -118,4 +118,5 @@ call plug#end()
highlight Pmenu ctermbg=black guibg=black ctermfg=white
-
+hi TrailingWhitespace ctermbg=red guibg=red
+call matchadd("TrailingWhitespace", '\v\s+$')
diff --git a/config/zathura/zathurarc b/config/zathura/zathurarc
index 5a0717d..8fc40d8 100644
--- a/config/zathura/zathurarc
+++ b/config/zathura/zathurarc
@@ -30,3 +30,5 @@ set selection-clipboard clipboard
set guioptions none
set recolor true
+
+set first-page-column 1:1