diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1dfec02
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/wallpapers
\ No newline at end of file
diff --git a/archive.sh b/archive.sh
index a98157a..780f2c8 100755
--- a/archive.sh
+++ b/archive.sh
@@ -1,11 +1,11 @@
#!/bin/bash
dir=$PWD
-scripts_subdir=$(echo "$PWD/scripts")
+scripts_subdir="$PWD/scripts"
# rsync -a ~/pictures/wallpapers/* wallpapers/
-cd config
+cd config || exit
rsync -a ~/.config/kitty .
rsync -a \
--exclude 'bookmarks' \
@@ -13,6 +13,7 @@ rsync -a \
--exclude 'qsettings' \
--exclude 'autoconfig.yml' \
~/.config/qutebrowser .
+rsync -a ~/.config/vesktop/settings ./vesktop
rsync -a ~/.config/bspwm .
rsync -a ~/.config/sxhkd .
rsync -a ~/.config/xfce4 \
@@ -20,13 +21,14 @@ rsync -a ~/.config/xfce4 \
rsync -a ~/.config/rofi .
# cp ~/.config/picom.conf .
-cd ~/bin
+cd ~/bin || exit
cp \
bsp-auto-monitors \
bsp-float \
bsp-key-daemon \
bsp-smove \
le-keyboard \
+le-audio \
sxhkd-help \
change-scheme \
le-wallpaper \
@@ -36,3 +38,5 @@ qutesearch \
rack \
f \
"$scripts_subdir"
+
+cd "$dir"
diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc
index b3463fc..475d981 100755
--- a/config/bspwm/bspwmrc
+++ b/config/bspwm/bspwmrc
@@ -8,7 +8,7 @@ bsp-key-daemon
bspc config border_width 1
bspc config window_gap 4
-bspc config split_ratio 0.52
+bspc config split_ratio 0.54
bspc config borderless_monocle true
bspc config gapless_monocle true
@@ -24,6 +24,7 @@ bspc config pointer_follows_focus true
bspc rule -a KittyScratch state=floating
bspc rule -a Wrapper-2.0 state=floating # Xfce start menu
+bspc rule -a Rofi state=floating
bspc rule -a Gimp state=floating
bspc rule -a Chromium desktop='^2'
bspc rule -a mplayer2 state=floating
@@ -31,6 +32,6 @@ bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off
xsetroot -cursor_name left_ptr &
-$(dirname $0)/colors
+"$(dirname "$0")/colors"
export _JAVA_AWT_WM_NONREPARENTING=1
diff --git a/config/bspwm/colors b/config/bspwm/colors
index 796ee24..46e38cc 100755
--- a/config/bspwm/colors
+++ b/config/bspwm/colors
@@ -1,3 +1,3 @@
-bspc config normal_border_color "#2E303E"
-bspc config active_border_color "#6F6F70"
-bspc config focused_border_color "#9DA0A2"
+bspc config normal_border_color "#68615e"
+bspc config active_border_color "#766e6b"
+bspc config focused_border_color "#9c9491"
diff --git a/config/kitty/kitty.conf b/config/kitty/kitty.conf
index 34929f8..656ded2 100644
--- a/config/kitty/kitty.conf
+++ b/config/kitty/kitty.conf
@@ -17,48 +17,48 @@ font_size 11.5
#START SHCHEMES BLOCK : shchemes create_theme kitty
# Base16 - kitty color config
# Scheme by
-visual_bell_color #171921
+visual_bell_color #161413
-background #1C1E26
-foreground #CBCED0
-selection_background #CBCED0
-selection_foreground #1C1E26
-url_color #26BBD9
-cursor #26BBD9
-cursor_text_color #1C1E26
-active_border_color #6F6F70
-inactive_border_color #232530
-active_tab_background #1C1E26
-active_tab_foreground #CBCED0
-inactive_tab_background #232530
-inactive_tab_foreground #9DA0A2
+background #1b1918
+foreground #a8a19f
+selection_background #a8a19f
+selection_foreground #1b1918
+url_color #407ee7
+cursor #407ee7
+cursor_text_color #1b1918
+active_border_color #766e6b
+inactive_border_color #2c2421
+active_tab_background #1b1918
+active_tab_foreground #a8a19f
+inactive_tab_background #2c2421
+inactive_tab_foreground #9c9491
# Normal
-color0 #1C1E26
-color1 #E95678
-color2 #29D398
-color3 #FAC29A
-color4 #26BBD9
-color5 #EE64AC
-color6 #59E1E3
-color7 #CBCED0
+color0 #1b1918
+color1 #f22c40
+color2 #7b9726
+color3 #c38418
+color4 #407ee7
+color5 #6666ea
+color6 #3d97b8
+color7 #a8a19f
# Bright (same as Normal except 8/15)
-color8 #6F6F70
-color9 #E95678
-color10 #29D398
-color11 #FAC29A
-color12 #26BBD9
-color13 #EE64AC
-color14 #59E1E3
-color15 #E3E6EE
+color8 #766e6b
+color9 #f22c40
+color10 #7b9726
+color11 #c38418
+color12 #407ee7
+color13 #6666ea
+color14 #3d97b8
+color15 #f1efee
# Other (like base16-shell)
-color16 #FAB795
-color17 #F09383
-color18 #232530
-color19 #2E303E
-color20 #9DA0A2
-color21 #DCDFE4
+color16 #df5320
+color17 #c33ff3
+color18 #2c2421
+color19 #68615e
+color20 #9c9491
+color21 #e6e2e0
#END SHCHEMES BLOCK
diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py
index 9a42300..390007e 100644
--- a/config/qutebrowser/config.py
+++ b/config/qutebrowser/config.py
@@ -47,22 +47,22 @@ config.bind(';b', 'hint bookmarks userscript copy-bookmark')
# Template author: theova
# Commentary: Tinted Theming: (https://github.com/tinted-theming)
-base00 = "#1C1E26"
-base01 = "#232530"
-base02 = "#2E303E"
-base03 = "#6F6F70"
-base04 = "#9DA0A2"
-base05 = "#CBCED0"
-base06 = "#DCDFE4"
-base07 = "#E3E6EE"
-base08 = "#E95678"
-base09 = "#FAB795"
-base0A = "#FAC29A"
-base0B = "#29D398"
-base0C = "#59E1E3"
-base0D = "#26BBD9"
-base0E = "#EE64AC"
-base0F = "#F09383"
+base00 = "#1b1918"
+base01 = "#2c2421"
+base02 = "#68615e"
+base03 = "#766e6b"
+base04 = "#9c9491"
+base05 = "#a8a19f"
+base06 = "#e6e2e0"
+base07 = "#f1efee"
+base08 = "#f22c40"
+base09 = "#df5320"
+base0A = "#c38418"
+base0B = "#7b9726"
+base0C = "#3d97b8"
+base0D = "#407ee7"
+base0E = "#6666ea"
+base0F = "#c33ff3"
# set qutebrowser colors
diff --git a/config/rofi/theme.rasi b/config/rofi/theme.rasi
index 0839b08..60abf9d 100644
--- a/config/rofi/theme.rasi
+++ b/config/rofi/theme.rasi
@@ -7,13 +7,13 @@
*/
* {
- red: rgba ( 233, 86, 120, 100 % );
- blue: rgba ( 38, 187, 217, 100 % );
- lightfg: rgba ( 220, 223, 228, 100 % );
- lightbg: rgba ( 35, 37, 48, 100 % );
- foreground: rgba ( 203, 206, 208, 100 % );
- background: rgba ( 28, 30, 38, 100 % );
- background-color: rgba ( 28, 30, 38, 0 % );
+ red: rgba ( 242, 44, 64, 100 % );
+ blue: rgba ( 64, 126, 231, 100 % );
+ lightfg: rgba ( 230, 226, 224, 100 % );
+ lightbg: rgba ( 44, 36, 33, 100 % );
+ foreground: rgba ( 168, 161, 159, 100 % );
+ background: rgba ( 27, 25, 24, 100 % );
+ background-color: rgba ( 27, 25, 24, 0 % );
separatorcolor: @foreground;
border-color: @foreground;
selected-normal-foreground: @lightbg;
diff --git a/config/sxhkd/moderc b/config/sxhkd/moderc
new file mode 100644
index 0000000..4f367d3
--- /dev/null
+++ b/config/sxhkd/moderc
@@ -0,0 +1,2 @@
+r
+ sxhkd-mode-exit
diff --git a/config/sxhkd/status b/config/sxhkd/status
new file mode 100755
index 0000000..8a92398
--- /dev/null
+++ b/config/sxhkd/status
@@ -0,0 +1,73 @@
+#!/bin/sh
+
+# tail -f test-out | awk -v qt='""' '
+# $1 ~ "HSuper_L" { checkstart=1 }
+# /^BBegin chain/ && checkstart {
+ # checkstart=0
+ # print "rofi -normal-window -e " qt "sxhkd: Super ;" qt
+# }
+# /^EEnd chain/ {
+ # print "kill " qt "$pid" qt
+# }'
+
+checkstart=false
+theme='
+window {
+ anchor: southwest;
+ location: southwest;
+ x-offset: 4;
+ y-offset: -4;
+ width: 200;
+}
+
+listview {
+ border-color: @blue;
+}'
+
+display_message() {
+ rofi \
+ -normal-window \
+ -e "sxhkd: $1" \
+ -theme-str "$theme" &
+ pid=$!
+}
+
+close_message() {
+ [ -n "$pid" ] && kill "$pid"
+ pid=""
+}
+
+tail -f test-out | while read -r line; do
+ case $line in
+ HSuper_L)
+ checkstart=true
+ ;;
+
+ HSuper_L*)
+ if [ "$inchain" = "false" ]; then
+ continue
+ fi
+ echo "Extra chain"
+ close_message
+ display_message "$line"
+ ;;
+
+ "BBegin chain")
+ if [ "$checkstart" = "false" ]; then
+ continue
+ fi
+ echo "In chain"
+ checkstart=false
+ inchain=true
+ display_message "HSuper_L"
+ ;;
+
+ "EEnd chain")
+ if [ "$inchain" = "false" ]; then
+ continue
+ fi
+ echo "End chain"
+ close_message
+ ;;
+ esac
+done
diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc
index db8f1ad..474730e 100644
--- a/config/sxhkd/sxhkdrc
+++ b/config/sxhkd/sxhkdrc
@@ -54,6 +54,14 @@ super + t
super + Print
xfce4-screenshooter -r
+# Manage audio profiles[57362;10u]
+super + shift + Pause
+ le-audio
+
+# Cycle audio profile on default sink
+super + Pause
+ le-audio -afc
+
#
# bspwm hotkeys
#
@@ -142,11 +150,7 @@ super + {_,shift + }{1-6}
# preselect the direction
super + ctrl + shift {h,j,k,l,Left,Down,Up,Right}
bspc node -p {west,south,north,east,west,south,north,east}
-
-# preselect the ratio
-super + ctrl + {1-9}
- bspc node -o 0.{1-9}
-
+
# cancel the preselection for the focused node
super + ctrl + space
bspc node -p cancel
@@ -155,6 +159,10 @@ super + ctrl + space
super + ctrl + shift + space
bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
+# swap current window with preselection
+super + p
+ bspc node -n last.\!automatic -t tiled
+
#
# move/resize
#
@@ -171,26 +179,8 @@ super + {h,j,k,l}
# move a window
super + shift + {h,j,k,l,Left,Down,Up,Right}
- bsp-smove {west,south,north,east,west,south,north,east}
+ bsp-smove {west,south,north,east,west,south,north,east}
-#
-# tabs
-#
-
-# move in/out of tabbed container
-super + ctrl + {h,j,k,l,Left,Down,Up,Right}
- tabc-smart-detach {west,south,north,east,west,south,north,east}
-
-# tab/untab window
-super + t
- id=$(bspc query -N -n); \
- [[ "$(tabc printclass $id)" == "tabbed" ]] \
- && tabc detach $id \
- || tabc create $id
-
-# toggle autoattach in tabbed container
-super + shift + t
- tabc autoattach $(bspc query -N -n)
#
# Program launching binds
diff --git a/config/sxhkd/sxhkdrc.old b/config/sxhkd/sxhkdrc.old
new file mode 100644
index 0000000..4db552f
--- /dev/null
+++ b/config/sxhkd/sxhkdrc.old
@@ -0,0 +1,162 @@
+#
+# wm independent hotkeys
+#
+
+Super_L ; Return
+ kitty
+
+# # Open kitty
+# super + Return
+# kitty
+
+# Open floating kitty
+# Super_L ; shift + Return
+# bsp-float kitty
+
+# launch program (drun)
+Super_L ; @space
+ rofi -show drun -show-icons
+
+# launch program (standard run)
+# Super_L ; shift + @space
+# rofi -show run
+
+# make sxhkd reload its configuration files:
+Super_L ; Escape
+ pkill -USR1 -x sxhkd && notify-send 'Key daemon reloaded'
+
+super + alt + Menu
+ le-keyboard && notify-send 'Remapped Keyboard'
+
+# Start a qutebrowser search
+Super_L ; o
+ qutesearch
+
+# Show keybinds
+Super_L ; slash
+ sxhkd-help
+
+# Show clipmenu
+Super_L ; v
+ xfce4-popup-clipman
+
+# Exit session
+# Super_L ; shift + q
+# xfce4-session-logout
+
+# Lock screen
+Super_L ; q
+ xflock4
+
+# Open task manager
+Super_L ; t
+ # Arguable how valuable this is tbh
+ bsp-float xfce4-taskmanager
+
+# Screenshot region
+Super_L ; Print
+ xfce4-screenshooter -r
+
+#
+# bspwm hotkeys
+#
+
+# close and kill
+Super_L ; {_,shift + }w
+ bspc node -{c,k}
+
+# superernate between the tiled and monocle layout
+F3
+ bspc desktop -l next
+
+# send the newest marked node to the newest preselected node
+Super_L ; y
+ bspc node newest.marked.local -n newest.!automatic.local
+
+# Plumb selected text
+Super_L ; c
+ zsh -c "$(sselp | goawk $(cat ~/plumber.awk))"
+
+#
+# state/flags
+#
+
+# set the window state
+Super_L ; {z,shift + z,x,f}
+ bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
+
+#
+# focus/swap
+#
+
+# focus the node in the given direction
+super + {w,a,s,d,j,k,i,l,Left,Down,Up,Right}
+ bspc node -f {west,south,north,east,west,south,north,east,west,south,north,east}
+
+# Change window, counterclockwise/clockwise
+{F1,F2}
+ bspc node -f {prev,next}.local.!hidden.window
+
+# focus the next/previous desktop in the current monitor
+super + bracket{left,right}
+ bspc desktop -f {prev,next}.local
+
+# focus the last node/desktop
+super + {grave,Tab}
+ bspc {node,desktop} -f last
+
+# focus or send to the given desktop
+super + {_,shift + }{1-6}
+ bspc {desktop -f,node -d} '^{1-6}'
+
+#
+# preselect
+#
+
+# preselect the direction
+super + ctrl + shift {h,j,k,l,Left,Down,Up,Right}
+ bspc node -p {west,south,north,east,west,south,north,east}
+
+# preselect the ratio
+super + ctrl + {1-9}
+ bspc node -o 0.{1-9}
+
+# cancel the preselection for the focused node
+super + ctrl + space
+ bspc node -p cancel
+
+# cancel the preselection for the focused desktop
+super + ctrl + shift + space
+ bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
+
+#
+# move/resize
+#
+
+
+# Resize a window by moving one of its side outward/inward
+# Super_L ; {w,a,s,d,j,k,i,l,Left,Down,Up,Right}
+ # STEP=20; SELECTION={1,2,3,4,1,2,3,4,1,2,3,4}; \
+ # bspc node -z $(echo "left -$STEP 0,bottom 0 $STEP,top 0 -$STEP,right $STEP 0" | cut -d',' -f$SELECTION) || \
+ # bspc node -z $(echo "right -$STEP 0,top 0 $STEP,bottom 0 -$STEP,left $STEP 0" | cut -d',' -f$SELECTION)
+
+# move a floating window
+super + {h,j,k,l}
+ bspc node -v {-30 0,0 20,0 -30,20 0}
+
+# move a window
+super + shift + {w,s,a,d,j,k,i,l,Left,Down,Up,Right}
+ bsp-smove {west,south,north,east,west,south,north,east,west,south,north,east}
+
+#
+# Program launching binds
+#
+
+super + 8
+ vesktop
+
+super + 9
+ bitwarden
+
+super + 0
+ kitty --hold sh -c micro
diff --git a/config/sxhkd/sxhkdrc.save b/config/sxhkd/sxhkdrc.save
new file mode 100755
index 0000000..1113480
--- /dev/null
+++ b/config/sxhkd/sxhkdrc.save
@@ -0,0 +1,121 @@
+#
+# wm independent hotkeys
+#
+
+# terminal emulator
+super + Return
+ kitty
+
+# program launcher
+super + @space
+
+
+# make sxhkd reload its configuration files:
+super + Escape
+ pkill -USR1 -x sxhkd
+
+#
+# bspwm hotkeys
+#
+
+# quit/restart bspwm
+super + alt + {q,r}
+ bspc {quit,wm -r}
+
+# close and kill
+super + {_,shift + }w
+ bspc node -{c,k}
+
+# alternate between the tiled and monocle layout
+super + m
+ bspc desktop -l next
+
+# send the newest marked node to the newest preselected node
+super + y
+ bspc node newest.marked.local -n newest.!automatic.local
+
+# swap the current node and the biggest window
+super + g
+ bspc node -s biggest.window
+
+#
+# state/flags
+#
+
+# set the window state
+super + {t,shift + t,s,f}
+ bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
+
+# set the node flags
+super + ctrl + {m,x,y,z}
+ bspc node -g {marked,locked,sticky,private}
+
+#
+# focus/swap
+#
+
+# focus the node in the given direction
+super + {_,shift + }{h,j,k,l}
+ bspc node -{f,s} {west,south,north,east}
+
+# focus the node for the given path jump
+super + {p,b,comma,period}
+ bspc node -f @{parent,brother,first,second}
+
+# focus the next/previous window in the current desktop
+super + {_,shift + }c
+ bspc node -f {next,prev}.local.!hidden.window
+
+# focus the next/previous desktop in the current monitor
+super + bracket{left,right}
+ bspc desktop -f {prev,next}.local
+
+# focus the last node/desktop
+super + {grave,Tab}
+ bspc {node,desktop} -f last
+
+# focus the older or newer node in the focus history
+super + {o,i}
+ bspc wm -h off; \
+ bspc node {older,newer} -f; \
+ bspc wm -h on
+
+# focus or send to the given desktop
+super + {_,shift + }{1-9,0}
+ bspc {desktop -f,node -d} '^{1-9,10}'
+
+#
+# preselect
+#
+
+# preselect the direction
+super + ctrl + {h,j,k,l}
+ bspc node -p {west,south,north,east}
+
+# preselect the ratio
+super + ctrl + {1-9}
+ bspc node -o 0.{1-9}
+
+# cancel the preselection for the focused node
+super + ctrl + space
+ bspc node -p cancel
+
+# cancel the preselection for the focused desktop
+super + ctrl + shift + space
+ bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
+
+#
+# move/resize
+#
+
+# expand a window by moving one of its side outward
+super + alt + {h,j,k,l}
+ bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
+
+# contract a window by moving one of its side inward
+super + alt + shift + {h,j,k,l}
+ bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
+
+# move a floating window
+super + {Left,Down,Up,Right}
+ bspc node -v {-20 0,0 20,0 -20,20 0}
diff --git a/config/sxhkd/sxhkdrc.seq b/config/sxhkd/sxhkdrc.seq
new file mode 100644
index 0000000..b55b992
--- /dev/null
+++ b/config/sxhkd/sxhkdrc.seq
@@ -0,0 +1,52 @@
+#
+# Utilities
+#
+
+Super_L ; Return
+ kitty
+
+# Open floating kitty
+Super_L ; f ; Return
+ bsp-float kitty
+
+# open rofi
+Super_L ; @space
+ rofi -show drun -show-icons
+
+#
+# Management
+#
+
+# Close or kill window
+Super_L ; {_,shift + }w
+ bspc node -{c,k}
+
+#
+# Navigation
+#
+
+super + {w,a,s,d,j,k,i,l,Left,Down,Up,Right}
+ bspc node -f {west,south,north,east,west,south,north,east,west,south,north,east}
+
+super + shift + {w,s,a,d,j,k,i,l,Left,Down,Up,Right}
+ bsp-smove {west,south,north,east,west,south,north,east,west,south,north,east}
+
+# focus or send to the given desktop
+Super_L ; {_,shift + }{1-5}
+ bspc {desktop -f,node -d} '^{1-5}'
+
+#
+# Program launching binds
+#
+
+Super_L ; o
+ qutesearch
+
+super + 8
+ vesktop
+
+super + 9
+ bitwarden
+
+super + 0
+ kitty --hold sh -c micro
diff --git a/config/sxhkd/test-out b/config/sxhkd/test-out
new file mode 100644
index 0000000..86f1fb6
--- /dev/null
+++ b/config/sxhkd/test-out
@@ -0,0 +1,110 @@
+HSuper_L
+BBegin chain
+EEnd chain
+Hsuper + Right
+Cbspc node -f east
+Hsuper + Left
+Cbspc node -f west
+Hsuper + Right
+Cbspc node -f east
+HSuper_L
+BBegin chain
+HSuper_L ; Return
+EEnd chain
+Ckitty
+HSuper_L
+BBegin chain
+EEnd chain
+HSuper_L
+BBegin chain
+TTimeout reached
+EEnd chain
+HSuper_L
+BBegin chain
+TTimeout reached
+EEnd chain
+HSuper_L
+BBegin chain
+HSuper_L ; 2
+EEnd chain
+Cbspc desktop -f '^2'
+HSuper_L
+BBegin chain
+TTimeout reached
+EEnd chain
+HSuper_L
+BBegin chain
+EEnd chain
+HSuper_L
+BBegin chain
+HSuper_L ; w
+EEnd chain
+Cbspc node -c
+HSuper_L
+BBegin chain
+EEnd chain
+HSuper_L
+BBegin chain
+HSuper_L ; o
+EEnd chain
+Cqutesearch
+HSuper_L
+BBegin chain
+HSuper_L ; w
+EEnd chain
+Cbspc node -c
+HSuper_L
+BBegin chain
+HSuper_L ; w
+EEnd chain
+Cbspc node -c
+HSuper_L
+BBegin chain
+EEnd chain
+HSuper_L
+BBegin chain
+HSuper_L ; o
+EEnd chain
+Cqutesearch
+HSuper_L
+BBegin chain
+EEnd chain
+HSuper_L
+BBegin chain
+EEnd chain
+HSuper_L
+BBegin chain
+EEnd chain
+Hsuper + w
+Cbspc node -f west
+HSuper_L
+BBegin chain
+EEnd chain
+HSuper_L
+BBegin chain
+EEnd chain
+HSuper_L
+BBegin chain
+HSuper_L ; 1
+EEnd chain
+Cbspc desktop -f '^1'
+HSuper_L
+BBegin chain
+HSuper_L ; 2
+EEnd chain
+Cbspc desktop -f '^2'
+HSuper_L
+BBegin chain
+EEnd chain
+Hsuper + Right
+Cbspc node -f east
+Hsuper + Left
+Cbspc node -f west
+Hsuper + Right
+Cbspc node -f east
+HSuper_L
+BBegin chain
+EEnd chain
+HSuper_L
+BBegin chain
+EEnd chain
diff --git a/config/vesktop/settings/quickCss.css b/config/vesktop/settings/quickCss.css
new file mode 100644
index 0000000..f04baa6
--- /dev/null
+++ b/config/vesktop/settings/quickCss.css
@@ -0,0 +1,6 @@
+@media screen and (max-width: 1280px) {
+ /* Hide guild members sidebar */
+ .container_cbd271 {
+ display: none;
+ }
+}
diff --git a/config/vesktop/settings/settings.json b/config/vesktop/settings/settings.json
new file mode 100644
index 0000000..e505b25
--- /dev/null
+++ b/config/vesktop/settings/settings.json
@@ -0,0 +1,587 @@
+{
+ "notifyAboutUpdates": true,
+ "autoUpdate": false,
+ "autoUpdateNotification": true,
+ "useQuickCss": true,
+ "themeLinks": [],
+ "enabledThemes": [
+ "theme.css"
+ ],
+ "enableReactDevtools": false,
+ "frameless": false,
+ "transparent": false,
+ "winCtrlQ": false,
+ "disableMinSize": false,
+ "winNativeTitleBar": false,
+ "plugins": {
+ "BadgeAPI": {
+ "enabled": true
+ },
+ "ChatInputButtonAPI": {
+ "enabled": false
+ },
+ "CommandsAPI": {
+ "enabled": true
+ },
+ "ContextMenuAPI": {
+ "enabled": true
+ },
+ "MemberListDecoratorsAPI": {
+ "enabled": false
+ },
+ "MessageAccessoriesAPI": {
+ "enabled": true
+ },
+ "MessageDecorationsAPI": {
+ "enabled": false
+ },
+ "MessageEventsAPI": {
+ "enabled": true
+ },
+ "MessagePopoverAPI": {
+ "enabled": false
+ },
+ "NoticesAPI": {
+ "enabled": true
+ },
+ "ServerListAPI": {
+ "enabled": false
+ },
+ "NoTrack": {
+ "enabled": true,
+ "disableAnalytics": true
+ },
+ "Settings": {
+ "enabled": true,
+ "settingsLocation": "aboveActivity"
+ },
+ "SupportHelper": {
+ "enabled": true
+ },
+ "AlwaysAnimate": {
+ "enabled": false
+ },
+ "AlwaysTrust": {
+ "enabled": false
+ },
+ "AnonymiseFileNames": {
+ "enabled": false
+ },
+ "WebRichPresence (arRPC)": {
+ "enabled": false
+ },
+ "BANger": {
+ "enabled": false
+ },
+ "BetterFolders": {
+ "enabled": false
+ },
+ "BetterGifAltText": {
+ "enabled": false
+ },
+ "BetterGifPicker": {
+ "enabled": false
+ },
+ "BetterNotesBox": {
+ "enabled": false
+ },
+ "BetterRoleContext": {
+ "enabled": false
+ },
+ "BetterRoleDot": {
+ "enabled": false
+ },
+ "BetterSettings": {
+ "enabled": false
+ },
+ "BetterUploadButton": {
+ "enabled": false
+ },
+ "BiggerStreamPreview": {
+ "enabled": false
+ },
+ "BlurNSFW": {
+ "enabled": false
+ },
+ "CallTimer": {
+ "enabled": false
+ },
+ "ClearURLs": {
+ "enabled": true
+ },
+ "ClientTheme": {
+ "enabled": false
+ },
+ "ColorSighted": {
+ "enabled": false
+ },
+ "ConsoleShortcuts": {
+ "enabled": false
+ },
+ "CopyUserURLs": {
+ "enabled": false
+ },
+ "CrashHandler": {
+ "enabled": true
+ },
+ "CustomRPC": {
+ "enabled": false
+ },
+ "Dearrow": {
+ "enabled": true,
+ "hideButton": false,
+ "replaceElements": 0
+ },
+ "Decor": {
+ "enabled": false
+ },
+ "DisableCallIdle": {
+ "enabled": false
+ },
+ "EmoteCloner": {
+ "enabled": false
+ },
+ "Experiments": {
+ "enabled": false
+ },
+ "F8Break": {
+ "enabled": false
+ },
+ "FakeNitro": {
+ "enabled": false
+ },
+ "FakeProfileThemes": {
+ "enabled": false
+ },
+ "FavoriteEmojiFirst": {
+ "enabled": false
+ },
+ "FavoriteGifSearch": {
+ "enabled": false
+ },
+ "FixCodeblockGap": {
+ "enabled": false
+ },
+ "FixSpotifyEmbeds": {
+ "enabled": false
+ },
+ "FixYoutubeEmbeds": {
+ "enabled": false
+ },
+ "ForceOwnerCrown": {
+ "enabled": false
+ },
+ "FriendInvites": {
+ "enabled": false
+ },
+ "FriendsSince": {
+ "enabled": false
+ },
+ "GameActivityToggle": {
+ "enabled": false
+ },
+ "GifPaste": {
+ "enabled": false
+ },
+ "GreetStickerPicker": {
+ "enabled": false
+ },
+ "HideAttachments": {
+ "enabled": false
+ },
+ "iLoveSpam": {
+ "enabled": false
+ },
+ "IgnoreActivities": {
+ "enabled": false
+ },
+ "ImageZoom": {
+ "enabled": false
+ },
+ "InvisibleChat": {
+ "enabled": false
+ },
+ "KeepCurrentChannel": {
+ "enabled": false
+ },
+ "LastFMRichPresence": {
+ "enabled": false
+ },
+ "LoadingQuotes": {
+ "enabled": false
+ },
+ "MemberCount": {
+ "enabled": false
+ },
+ "MessageClickActions": {
+ "enabled": false
+ },
+ "MessageLinkEmbeds": {
+ "enabled": false
+ },
+ "MessageLogger": {
+ "enabled": false
+ },
+ "MessageTags": {
+ "enabled": false
+ },
+ "MoreCommands": {
+ "enabled": false
+ },
+ "MoreKaomoji": {
+ "enabled": false
+ },
+ "MoreUserTags": {
+ "enabled": false
+ },
+ "Moyai": {
+ "enabled": false
+ },
+ "MutualGroupDMs": {
+ "enabled": false
+ },
+ "NewGuildSettings": {
+ "enabled": false
+ },
+ "NoBlockedMessages": {
+ "enabled": false
+ },
+ "NoDevtoolsWarning": {
+ "enabled": false
+ },
+ "NoF1": {
+ "enabled": false
+ },
+ "NoMosaic": {
+ "enabled": false
+ },
+ "NoPendingCount": {
+ "enabled": false
+ },
+ "NoProfileThemes": {
+ "enabled": false
+ },
+ "NoReplyMention": {
+ "enabled": false
+ },
+ "NoScreensharePreview": {
+ "enabled": false
+ },
+ "NoTypingAnimation": {
+ "enabled": false
+ },
+ "NoUnblockToJump": {
+ "enabled": false
+ },
+ "NormalizeMessageLinks": {
+ "enabled": false
+ },
+ "NotificationVolume": {
+ "enabled": false
+ },
+ "NSFWGateBypass": {
+ "enabled": false
+ },
+ "OnePingPerDM": {
+ "enabled": false
+ },
+ "oneko": {
+ "enabled": false
+ },
+ "OpenInApp": {
+ "enabled": false
+ },
+ "OverrideForumDefaults": {
+ "enabled": false
+ },
+ "PermissionFreeWill": {
+ "enabled": false
+ },
+ "PermissionsViewer": {
+ "enabled": false
+ },
+ "petpet": {
+ "enabled": false
+ },
+ "PictureInPicture": {
+ "enabled": false
+ },
+ "PinDMs": {
+ "enabled": false
+ },
+ "PlainFolderIcon": {
+ "enabled": false
+ },
+ "PlatformIndicators": {
+ "enabled": false
+ },
+ "PreviewMessage": {
+ "enabled": false
+ },
+ "PronounDB": {
+ "enabled": false
+ },
+ "QuickMention": {
+ "enabled": false
+ },
+ "QuickReply": {
+ "enabled": false
+ },
+ "ReactErrorDecoder": {
+ "enabled": false
+ },
+ "ReadAllNotificationsButton": {
+ "enabled": false
+ },
+ "RelationshipNotifier": {
+ "enabled": false
+ },
+ "ResurrectHome": {
+ "enabled": false
+ },
+ "RevealAllSpoilers": {
+ "enabled": false
+ },
+ "ReverseImageSearch": {
+ "enabled": false
+ },
+ "ReviewDB": {
+ "enabled": false
+ },
+ "RoleColorEverywhere": {
+ "enabled": false
+ },
+ "SearchReply": {
+ "enabled": false
+ },
+ "SecretRingToneEnabler": {
+ "enabled": false
+ },
+ "SendTimestamps": {
+ "enabled": false
+ },
+ "ServerListIndicators": {
+ "enabled": false
+ },
+ "ShikiCodeblocks": {
+ "enabled": false
+ },
+ "ShowAllMessageButtons": {
+ "enabled": false
+ },
+ "ShowConnections": {
+ "enabled": false
+ },
+ "ShowHiddenChannels": {
+ "enabled": false
+ },
+ "ShowMeYourName": {
+ "enabled": false
+ },
+ "SilentMessageToggle": {
+ "enabled": false
+ },
+ "SilentTyping": {
+ "enabled": false
+ },
+ "SortFriendRequests": {
+ "enabled": false
+ },
+ "SpotifyControls": {
+ "enabled": false
+ },
+ "SpotifyCrack": {
+ "enabled": false
+ },
+ "SpotifyShareCommands": {
+ "enabled": false
+ },
+ "StartupTimings": {
+ "enabled": false
+ },
+ "SuperReactionTweaks": {
+ "enabled": false
+ },
+ "TextReplace": {
+ "enabled": false
+ },
+ "ThemeAttributes": {
+ "enabled": false
+ },
+ "TimeBarAllActivities": {
+ "enabled": false
+ },
+ "Translate": {
+ "enabled": false
+ },
+ "TypingIndicator": {
+ "enabled": false
+ },
+ "TypingTweaks": {
+ "enabled": false
+ },
+ "Unindent": {
+ "enabled": false
+ },
+ "UnsuppressEmbeds": {
+ "enabled": false
+ },
+ "UrbanDictionary": {
+ "enabled": false
+ },
+ "UserVoiceShow": {
+ "enabled": false
+ },
+ "USRBG": {
+ "enabled": false
+ },
+ "ValidUser": {
+ "enabled": false
+ },
+ "VoiceChatDoubleClick": {
+ "enabled": false
+ },
+ "VcNarrator": {
+ "enabled": false
+ },
+ "VencordToolbox": {
+ "enabled": false
+ },
+ "ViewIcons": {
+ "enabled": false
+ },
+ "ViewRaw": {
+ "enabled": false
+ },
+ "VoiceMessages": {
+ "enabled": false
+ },
+ "WebContextMenus": {
+ "enabled": true,
+ "addBack": true
+ },
+ "WebKeybinds": {
+ "enabled": true
+ },
+ "WhoReacted": {
+ "enabled": false
+ },
+ "Wikisearch": {
+ "enabled": false
+ },
+ "XSOverlay": {
+ "enabled": false
+ },
+ "UnlockedAvatarZoom": {
+ "enabled": false
+ },
+ "ShowHiddenThings": {
+ "enabled": false
+ },
+ "BetterSessions": {
+ "enabled": false
+ },
+ "ImplicitRelationships": {
+ "enabled": false
+ },
+ "StreamerModeOnStream": {
+ "enabled": false
+ },
+ "PartyMode": {
+ "enabled": false
+ },
+ "MessageUpdaterAPI": {
+ "enabled": false
+ },
+ "AutomodContext": {
+ "enabled": false
+ },
+ "CtrlEnterSend": {
+ "enabled": false
+ },
+ "CustomIdle": {
+ "enabled": false
+ },
+ "DontRoundMyTimestamps": {
+ "enabled": false
+ },
+ "ImageLink": {
+ "enabled": false
+ },
+ "MaskedLinkPaste": {
+ "enabled": false
+ },
+ "MessageLatency": {
+ "enabled": false
+ },
+ "NoDefaultHangStatus": {
+ "enabled": false
+ },
+ "NoServerEmojis": {
+ "enabled": false
+ },
+ "PauseInvitesForever": {
+ "enabled": false
+ },
+ "ReplaceGoogleSearch": {
+ "enabled": false
+ },
+ "ReplyTimestamp": {
+ "enabled": false
+ },
+ "Summaries": {
+ "enabled": false
+ },
+ "ShowTimeoutDuration": {
+ "enabled": false
+ },
+ "ValidReply": {
+ "enabled": false
+ },
+ "VoiceDownload": {
+ "enabled": false
+ },
+ "WatchTogetherAdblock": {
+ "enabled": false
+ },
+ "WebScreenShareFixes": {
+ "enabled": true
+ },
+ "ServerInfo": {
+ "enabled": false
+ },
+ "UserSettingsAPI": {
+ "enabled": true
+ },
+ "AppleMusicRichPresence": {
+ "enabled": false
+ },
+ "ConsoleJanitor": {
+ "enabled": false
+ },
+ "CopyEmojiMarkdown": {
+ "enabled": false
+ },
+ "MentionAvatars": {
+ "enabled": false
+ },
+ "NoOnboardingDelay": {
+ "enabled": false
+ },
+ "ShowAllRoles": {
+ "enabled": false
+ }
+ },
+ "notifications": {
+ "timeout": 5000,
+ "position": "bottom-right",
+ "useNative": "not-focused",
+ "logLimit": 50
+ },
+ "cloud": {
+ "authenticated": false,
+ "url": "https://api.vencord.dev/",
+ "settingsSync": false,
+ "settingsSyncVersion": 1723460751842
+ }
+}
diff --git a/config/xfce4/xfce4-screenshooter b/config/xfce4/xfce4-screenshooter
index 06e7a55..7ac6456 100644
--- a/config/xfce4/xfce4-screenshooter
+++ b/config/xfce4/xfce4-screenshooter
@@ -4,7 +4,7 @@ last_user=
last_extension=png
enable_imgur_upload=true
show_in_folder=false
-screenshot_dir=file:/home/dakedres/documents
+screenshot_dir=file:/home/dakedres
action=2
delay=0
region=3
diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml
index 5f1a8e7..ab7372c 100644
--- a/config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml
+++ b/config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml
@@ -10,13 +10,13 @@
-
+
-
+
-
+
diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
index 4b868ce..bd9ae14 100644
--- a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
+++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
@@ -68,6 +68,6 @@
-
+
diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
index c825d97..20d31cb 100644
--- a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
+++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
@@ -45,7 +45,6 @@
-
diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml
index 89e9057..733d759 100644
--- a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml
+++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml
@@ -9,9 +9,11 @@
+
+
diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
index a6080c9..bf2d1c9 100644
--- a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
+++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
@@ -4,7 +4,7 @@
-
+
@@ -28,6 +28,7 @@
+
@@ -38,16 +39,15 @@
+
+
+
+
+
-
-
-
-
-
-
diff --git a/install-shchemes.sh b/install-shchemes.sh
new file mode 100644
index 0000000..21d8f5a
--- /dev/null
+++ b/install-shchemes.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+printf %s '
+#START SHCHEMES BLOCK : printf "SCHEME=\"%s\"\n" "$SCHEME"
+SCHEME="horizon-terminal-dark"
+
+#END SHCHEMES BLOCK
+' >> ~/.profile
+change-scheme
\ No newline at end of file
diff --git a/scripts/change-scheme b/scripts/change-scheme
index 10b56bb..41dc137 100755
--- a/scripts/change-scheme
+++ b/scripts/change-scheme
@@ -28,7 +28,7 @@ shchemes inject "$HOME/.config/kitty/kitty.conf"
pkill -SIGUSR1 kitty
shchemes create_theme rofi > "$HOME/.config/rofi/theme.rasi"
-shchemes create_theme better-discord > "$HOME/.config/vesktop/themes/.theme.css"
+shchemes create_theme better-discord > "$HOME/.config/vesktop/themes/theme.css"
shchemes create_theme obsidian > "$HOME/media/vault/.obsidian/themes/base16.css"
"$HOME/repos/oomox-gtk-theme/change_color.sh" -o base16 <(shchemes create_theme oomox-gtk)
diff --git a/scripts/f b/scripts/f
index 0cc4536..c726c6c 100755
--- a/scripts/f
+++ b/scripts/f
@@ -18,15 +18,12 @@ else
format="${format%%/*}"
case "$format" in
- "text")
- batcat "$path" --paging=never
- ;;
-
"image")
kitty +kitten icat "$path"
;;
*)
- xdg-open "$path"
+ cat "$path"
+ ;;
esac
fi
diff --git a/scripts/le-audio b/scripts/le-audio
new file mode 100755
index 0000000..6273b2a
--- /dev/null
+++ b/scripts/le-audio
@@ -0,0 +1,162 @@
+#!/bin/sh
+
+get_cards() {
+ pacmd list-cards | awk -F '[\t ]+' '
+ function printcard() {
+ print cardindex " " cardname " " carddesc
+ }
+
+ $2 ~ "index:" {
+ if(incard) {
+ printcard()
+ }
+ incard=1
+ cardindex=$3
+ }
+ incard && $2 ~ "name:" {
+ cardname=substr($3, 2, length($3) - 2)
+ }
+ incard && $2 ~ "device.description" {
+ carddesc=substr($0, index($0, "= ") + 2)
+ }
+ END {
+ printcard()
+ }
+ '
+}
+
+# First line will always be the active profile
+get_selected_card_profiles() {
+ pacmd list-cards | awk -F '[\t ]+' \
+ -v selected_card_index="$selected_card_index" '
+ BEGIN {
+ profile_count=0
+ }
+ function print_card() {
+ if(do_print) {
+ print profile_names[i] " " profile_descs[i]
+ }
+ }
+
+ $2 ~ "index:" && $3 == selected_card_index {
+ incard=1
+ }
+ incard && $2 ~ "profiles:" {
+ inprofiles=1
+ next
+ }
+ inprofiles && $2 ~ "active" {
+ for(i = 0; i < profile_count; i++) {
+ if(profile_names[i] == substr($4, 2, length($4) - 2)) {
+ current_card_index=i
+ do_print=1
+ }
+ print_card()
+ }
+ for(i = 0; i < current_card_index; i++) {
+ print_card()
+ }
+ exit
+ }
+ inprofiles {
+ profile_names[profile_count] = substr($2, 0, length($2) - 1)
+ profile_descs[profile_count] = substr($0, index($0, ": ") + 2)
+ profile_count++
+ }
+ '
+}
+
+select_default_sink_card() {
+ selected_card=$(pacmd list-sinks | awk -F '[\t ]+' '
+ $2 == "*" && $3 ~ "index:" {
+ incard=1
+ }
+ incard && $2 == "card:" {
+ print $3 " " substr($4, 2, length($4) - 2)
+ exit
+ }
+ ')
+}
+
+select_card_manually() {
+ card_options=$(get_cards)
+ selected_option_index=$(printf %s\\n "$card_options" | rofi -dmenu -format 'i')
+ selected_option_index=$((selected_option_index+1))
+ selected_card=$(printf %s\\n "$card_options" | sed -n "${selected_option_index}p")
+}
+
+print_usage() {
+ printf '
+Usage: le-audio [OPTIONS]
+Manage audio profiles
+
+Options
+ -a Auto - Auto-select the card for the default sink
+ -f Filter - Filter out "off" profiles
+ -c Cycle - Auto-select the next audio profile after the current one
+
+Utility written by Dakedres (dakedres.sys42.net)
+'
+}
+
+while getopts 'afc' args; do
+ case "$args" in
+ a)
+ arg_auto_select_card=true
+ ;;
+
+ f)
+ arg_filter_off_profile=true
+ ;;
+
+ c)
+ arg_select_next_profile=true
+ ;;
+
+ ?)
+ print_usage
+ exit
+ ;;
+
+ *)
+ >&2 echo "Invalid option '${args}'"
+ esac
+done
+
+if [ "$arg_auto_select_card" = true ]; then
+ select_default_sink_card
+else
+ select_card_manually
+fi
+
+selected_card_index=$(printf %s\\n "$selected_card" | awk '{ print $1 }')
+echo "$selected_card"
+
+if [ "$arg_filter_off_profile" = true ]; then
+ selected_card_profiles=$(get_selected_card_profiles | grep -v '^off')
+else
+ selected_card_profiles=$(get_selected_card_profiles)
+fi
+
+if [ "$arg_select_next_profile" = true ]; then
+ selected_profile_index=1
+else
+ selected_profile_index=$(printf %s\\n "$selected_card_profiles" | rofi -dmenu -format "i")
+fi
+
+if [ -z "$selected_profile_index" ]; then
+ >&2 echo "No profile selected"
+ exit 1
+fi
+
+printf %s\\n "$selected_card_profiles" | awk \
+ -v selected_profile_index="$selected_profile_index" \
+ -v selected_card="$selected_card" \
+ -v qt="'" '
+NR-1 == selected_profile_index {
+ split(selected_card, split_card, " ")
+ printf "pactl set-card-profile" " " split_card[1] " " $1
+ $1=""
+ print " && notify-send " qt "Set audio profile to" $0 qt
+}
+' | sh
diff --git a/scripts/qutesearch b/scripts/qutesearch
index c73c806..555e6ac 100755
--- a/scripts/qutesearch
+++ b/scripts/qutesearch
@@ -1,6 +1,7 @@
#!/bin/sh
db=$HOME/.local/share/qutebrowser/history.sqlite
-url=$(sqlite3 "$db" "select title,url from History" | tac | rofi -dmenu | awk -F '|' '{print $NF}')
+url=$(sqlite3 "$db" "select title,url from History" | tac | awk '!a[$0]++' | rofi -dmenu | awk -F '|' '{print $NF}')
+
[ -z "$url" ] && exit
qutebrowser "$url"