summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-10-09 17:42:22 +0100
committerdavidovski <david@davidovski.xyz>2023-10-09 17:42:22 +0100
commit02a4a3a4c1e6116158b807674709f26933ac5b10 (patch)
tree84f325f6e8ed2a6ccc618ebb358cea8f1faa95e9 /config
parent051ed527f64b0d7f400f76244b3d63a7ac98bb70 (diff)
Add desktop background
Diffstat (limited to 'config')
-rwxr-xr-xconfig/bspwm/bspwmrc16
-rw-r--r--config/cava/config6
-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/config2
-rwxr-xr-xconfig/sx/sxrc4
-rw-r--r--config/sxhkd/sxhkdrc14
-rw-r--r--config/zathura/zathurarc2
9 files changed, 39 insertions, 33 deletions
diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc
index 44dab3b..aaa92ec 100755
--- a/config/bspwm/bspwmrc
+++ b/config/bspwm/bspwmrc
@@ -4,20 +4,17 @@ setup=0
COLOR_BACKGROUND="#282a2e"
COLOR_PRIMARY="#fefefe"
COLOR_SECONDARY="#707880"
-BORDER=2
+BORDER=3
hsetroot -solid $COLOR_BACKGROUND &
xsetroot -cursor_name left_ptr &
xrdb ~/.config/Xdefaults
-pgrep -x pipewire > /dev/null || pipewire &
-pgrep -x pipewire-pulse > /dev/null || pipewire-pulse &
-pgrep -x wireplumber > /dev/null || wireplumber &
-
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 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
@@ -33,7 +30,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
@@ -51,4 +47,10 @@ bspc config active_border_color "$COLOR_SECONDARY"
bspc config focused_border_color "$COLOR_PRIMARY"
wmname bspwm
+sleep 1
+
+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 2ddd926..a2b5cf8 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/mpd/mpd.conf b/config/mpd/mpd.conf
index b086d5e..c507226 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..2e2e0fc 100644
--- a/config/mpv/mpv.conf
+++ b/config/mpv/mpv.conf
@@ -1,5 +1 @@
-#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"
-
+vo=x11
diff --git a/config/picom/picom.conf b/config/picom/picom.conf
index 7e5ed20..5800384 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 = true;
+blur-background = false;
# 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 = "glx";
+backend = "xrender";
vsync = true
@@ -439,8 +439,8 @@ log-level = "info";
#
wintypes:
{
- normal = { fade = true; shadow = true;}
- tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
+ normal = { fade = false; shadow = true;}
+ tooltip = { fade = false; 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 213b86c..a08cc24 100644
--- a/config/polybar/config
+++ b/config/polybar/config
@@ -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 = pactl list sources | grep -qi 'Mute: yes' && pactl set-source-mute 2 false || pactl set-source-mute 2 true
+click-left = $HOME/.scripts/toggle-mute.sh
[module/vpn]
type = custom/script
diff --git a/config/sx/sxrc b/config/sx/sxrc
index ee19f27..a95a311 100755
--- a/config/sx/sxrc
+++ b/config/sx/sxrc
@@ -1,4 +1,4 @@
-setxkbmap -option caps:backspace
-xmodmap -e "clear Lock"
+xrdb ~/.config/Xdefaults
+setxkbmap -option caps:none
exec bspwm
diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc
index 4869fc5..e9b0202 100644
--- a/config/sxhkd/sxhkdrc
+++ b/config/sxhkd/sxhkdrc
@@ -4,7 +4,7 @@
# mic
super + BackSpace
- pactl list sources | grep -qi 'Mute: yes' && pactl set-source-mute 2 false || pactl set-source-mute 2 true
+ $HOME/.scripts/toggle-mute.sh
super + ctrl + alt + f
pactl list sources | grep -qi 'Active Port: analog-input-rear-mic' && pactl set-source-port 2 analog-input-front-mic || pactl set-source-port 2 analog-input-rear-mic
@@ -144,24 +144,24 @@ super + alt + t
# record screen
super + alt + s
- .scripts/screenrecord
+ $HOME/.scripts/screenrecord
#bring up calculator
super + period
- .scripts/calculator
+ $HOME/.scripts/calculator
# file search and open
super + slash
websearch
shift + super + slash
- bspc rule -a \* -o state=floating && $TERMINAL -e ~/.scripts/fzf_menu.sh
+ bspc rule -a \* -o state=floating && $TERMINAL -e $HOME/.scripts/fzf_menu.sh
# Calendar
super + c
- bspc rule -a \* -o state=floating && $TERMINAL -e calcurse
+ $HOME/.scripts/calendar
super + comma
- .scripts/notepad
+ $HOME/.scripts/notepad
###################
# mpd server #
@@ -188,7 +188,7 @@ super + alt + ctrl + backslash
# chooser
super + alt + ctrl + slash
- .scripts/mpc_picker
+ $HOME/.scripts/mpc_picker
# volume
super + alt + ctrl + Next
mpc volume -10
diff --git a/config/zathura/zathurarc b/config/zathura/zathurarc
index 8fc40d8..5a0717d 100644
--- a/config/zathura/zathurarc
+++ b/config/zathura/zathurarc
@@ -30,5 +30,3 @@ set selection-clipboard clipboard
set guioptions none
set recolor true
-
-set first-page-column 1:1