mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-20 00:36:09 +01:00
Added some scripts I use,
Optimized keybinds and other settings, Added a script to install my personaly preferred apps via yay
This commit is contained in:
@@ -151,7 +151,7 @@ bell:
|
|||||||
color: '#4C566A'
|
color: '#4C566A'
|
||||||
|
|
||||||
command:
|
command:
|
||||||
program: play
|
program: aplay
|
||||||
args: ["/home/vectorkappa/Music/beeps/wav/honk-sound.wav"]
|
args: ["/home/vectorkappa/Music/beeps/wav/honk-sound.wav"]
|
||||||
hints:
|
hints:
|
||||||
# URL launcher
|
# URL launcher
|
||||||
|
|||||||
3
bin/magic-sysrq-enable
Executable file
3
bin/magic-sysrq-enable
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
echo 1 | sudo tee /proc/sys/kernel/sysrq
|
||||||
|
exit
|
||||||
4
bin/set-trackpoint-sensitivity
Executable file
4
bin/set-trackpoint-sensitivity
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
echo "100" | tee /sys/devices/platform/i8042/serio1/serio2/sensitivity
|
||||||
|
echo "75" | tee /sys/devices/platform/i8042/serio1/serio2/speed
|
||||||
59
bin/workspaces_multimonitor
Executable file
59
bin/workspaces_multimonitor
Executable file
@@ -0,0 +1,59 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
all_monitors=$(xrandr -q | awk '/connected/ {print $1}')
|
||||||
|
default_screen=$(xrandr | awk '/ connected/ {print $1;exit;}')
|
||||||
|
extra_monitors=$(xrandr -q | awk '/ connected/ {print $1}' | grep -v $default_screen)
|
||||||
|
|
||||||
|
|
||||||
|
#First, configure stuff with xrandr
|
||||||
|
#Get user path
|
||||||
|
[[ $(who) != "" ]] && USER=$(who | grep :0\) | cut -f 1 -d ' ') || \
|
||||||
|
USER=$(echo /home/* | cut -f 3 -d '/')
|
||||||
|
|
||||||
|
export DISPLAY=:0.0
|
||||||
|
export XAUTHORITY=/home/$USER/.Xauthority
|
||||||
|
|
||||||
|
for monitor in $extra_monitors; do
|
||||||
|
prev_mon=$(xrandr | awk '/ connected/ {print $1}' | grep -B1 "^$monitor" | grep -vE "^$monitor|^--$")
|
||||||
|
xrandr --output $monitor \
|
||||||
|
--auto \
|
||||||
|
--right-of $prev_mon
|
||||||
|
done
|
||||||
|
|
||||||
|
##Then, create workspaces on all monitors
|
||||||
|
I=1
|
||||||
|
M=$(bspc query -M | wc -l)
|
||||||
|
if [[ "$M" == 1 ]]; then
|
||||||
|
bspc monitor -d I II III IV V VI VII VIII IX X
|
||||||
|
elif [[ "$M" == 2 ]]; then
|
||||||
|
bspc monitor $(bspc query -M | awk NR==1) -d I II III IV V
|
||||||
|
bspc monitor $(bspc query -M | awk NR==2) -d VI VII VIII IX X
|
||||||
|
elif [[ "$M" == 3 ]]; then
|
||||||
|
bspc monitor $(bspc query -M | awk NR==1) -d I II III IV
|
||||||
|
bspc monitor $(bspc query -M | awk NR==2) -d V VI VII
|
||||||
|
bspc monitor $(bspc query -M | awk NR==3) -d VIII IX X
|
||||||
|
elif [[ "$M" == 4 ]]; then
|
||||||
|
bspc monitor $(bspc query -M | awk NR==1) -d I II III
|
||||||
|
bspc monitor $(bspc query -M | awk NR==2) -d IV V VI
|
||||||
|
bspc monitor $(bspc query -M | awk NR==3) -d VII VIII
|
||||||
|
bspc monitor $(bspc query -M | awk NR==4) -d IX X
|
||||||
|
elif [[ "$M" == 5 ]]; then
|
||||||
|
bspc monitor $(bspc query -M | awk NR==1) -d I II
|
||||||
|
bspc monitor $(bspc query -M | awk NR==2) -d III IV
|
||||||
|
bspc monitor $(bspc query -M | awk NR==3) -d V VI
|
||||||
|
bspc monitor $(bspc query -M | awk NR==4) -d VII VIII
|
||||||
|
bspc monitor $(bspc query -M | awk NR==5) -d IX X
|
||||||
|
else
|
||||||
|
for monitor in $(bspc query -M); do
|
||||||
|
bspc monitor $monitor \
|
||||||
|
-n "$I" \
|
||||||
|
-d $I/{a,b,c}
|
||||||
|
let I++
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
##Polybar launch
|
||||||
|
/home/$USER/.dotfiles/polybar/.config/polybar/launch.sh &
|
||||||
|
|
||||||
|
##Set wallpaper
|
||||||
|
/home/$USER/.fehbg
|
||||||
@@ -51,9 +51,10 @@ padding-right = 2
|
|||||||
module-margin-left = 1
|
module-margin-left = 1
|
||||||
module-margin-right = 1
|
module-margin-right = 1
|
||||||
|
|
||||||
font-0 = SauceCodePro Nerd Font Mono:size=10
|
font-0 = "SauceCodePro Nerd Font Mono:size=10"
|
||||||
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||||
font-2 = siji:pixelsize=10;1
|
font-2 = siji:pixelsize=10;1
|
||||||
|
font-3 = "SauceCodePro Nerd Font Mono:size=16;4"
|
||||||
|
|
||||||
modules-left = rofi bspwm
|
modules-left = rofi bspwm
|
||||||
modules-center = mpd title
|
modules-center = mpd title
|
||||||
@@ -182,6 +183,8 @@ format = <label>
|
|||||||
format-foreground = ${colors.foreground-alt}
|
format-foreground = ${colors.foreground-alt}
|
||||||
format-padding = 0
|
format-padding = 0
|
||||||
|
|
||||||
|
click-left = bspc node -c
|
||||||
|
|
||||||
label = %title%
|
label = %title%
|
||||||
label-maxlen = 40
|
label-maxlen = 40
|
||||||
|
|
||||||
@@ -398,10 +401,14 @@ menu-2-1 = cancel
|
|||||||
menu-2-1-exec = menu-open-0
|
menu-2-1-exec = menu-open-0
|
||||||
|
|
||||||
[module/rofi]
|
[module/rofi]
|
||||||
type = custom/script
|
type = custom/text
|
||||||
click-left = rofi -modi drun,run,window,calc -show drun
|
click-left = xlunch --bc 2e3440aa >> /tmp/xlunchlog.log 2>&1
|
||||||
label =
|
;click-left = rofi -modi drun,run,window,calc -show drun
|
||||||
|
content =
|
||||||
|
content-padding = 1
|
||||||
|
content-background = #BF616A
|
||||||
|
content-foreground = #2E3440
|
||||||
|
content-font = 4
|
||||||
[settings]
|
[settings]
|
||||||
screenchange-reload = true
|
screenchange-reload = true
|
||||||
;compositing-background = xor
|
;compositing-background = xor
|
||||||
|
|||||||
@@ -265,11 +265,9 @@ super + space
|
|||||||
#dmenu_recent -fn 'xos4 Terminus:size=15' -i -l 14 -w 600 -y $PANEL_HEIGHT
|
#dmenu_recent -fn 'xos4 Terminus:size=15' -i -l 14 -w 600 -y $PANEL_HEIGHT
|
||||||
|
|
||||||
# Triggered by jus tapping super
|
# Triggered by jus tapping super
|
||||||
super + shift + space
|
super + shift + @space
|
||||||
#xlunch --
|
xlunch --
|
||||||
gnome-pie -o 460
|
#gnome-pie -o 460 --display=:0
|
||||||
|
|
||||||
#super + p
|
|
||||||
# dmenu_recent -h $PANEL_HEIGHT -fn 'xos4 Terminus:size=15' -i
|
# dmenu_recent -h $PANEL_HEIGHT -fn 'xos4 Terminus:size=15' -i
|
||||||
|
|
||||||
super + shift + Return
|
super + shift + Return
|
||||||
@@ -294,8 +292,8 @@ super + shift + e
|
|||||||
alacritty -e ranger
|
alacritty -e ranger
|
||||||
|
|
||||||
Print
|
Print
|
||||||
scrot
|
# scrot
|
||||||
|
flameshot gui
|
||||||
|
|
||||||
#
|
#
|
||||||
# Media keys
|
# Media keys
|
||||||
@@ -348,11 +346,11 @@ super + shift + Escape
|
|||||||
alt + space
|
alt + space
|
||||||
rofi -modi drun,run,window,calc -show drun
|
rofi -modi drun,run,window,calc -show drun
|
||||||
|
|
||||||
super + shift + s
|
super + shift + @S
|
||||||
flameshot gui
|
#flameshot gui
|
||||||
|
scrot
|
||||||
# In case bspwmrc fails to execute/you wish have plugged in a new monitor
|
# In case bspwmrc fails to execute/you wish have plugged in a new monitor
|
||||||
super + shift + r
|
super + shift + R
|
||||||
bspwmrc
|
bspwmrc
|
||||||
#edit this file
|
#edit this file
|
||||||
alt + ctrl + space
|
alt + ctrl + space
|
||||||
|
|||||||
69
yay.sh
Normal file
69
yay.sh
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
yay -S \
|
||||||
|
zsh \
|
||||||
|
stow \
|
||||||
|
git \
|
||||||
|
polybar \
|
||||||
|
dunst \
|
||||||
|
rofi \
|
||||||
|
bspwm \
|
||||||
|
sxhkd \
|
||||||
|
picom \
|
||||||
|
bat \
|
||||||
|
exa \
|
||||||
|
vim \
|
||||||
|
ranger \
|
||||||
|
alacritty \
|
||||||
|
alsa-utils \
|
||||||
|
thefuck \
|
||||||
|
nerd-fonts-complete \
|
||||||
|
polkit-dumb-agent-git \
|
||||||
|
kvantum-qt5 \
|
||||||
|
lxappearance \
|
||||||
|
nordic-darker-theme\
|
||||||
|
papirus-folders-nordic \
|
||||||
|
capitaine-cursors\
|
||||||
|
noto-fonts-emoji \
|
||||||
|
noto-fonts-cjk \
|
||||||
|
noto-fonts-extra \
|
||||||
|
noto-fonts \
|
||||||
|
nodejs \
|
||||||
|
packagekit \
|
||||||
|
kvantum-theme-nordic-git \
|
||||||
|
atool \
|
||||||
|
ffmpeg \
|
||||||
|
tigervnc \
|
||||||
|
xlunch \
|
||||||
|
rofi-calc \
|
||||||
|
rofi-emoji \
|
||||||
|
rofimoji \
|
||||||
|
cockpit \
|
||||||
|
cockpit-pcp \
|
||||||
|
cockpit-machines \
|
||||||
|
xss-lock \
|
||||||
|
qemu \
|
||||||
|
ebtables \
|
||||||
|
radvd \
|
||||||
|
dmidecode \
|
||||||
|
lsof \
|
||||||
|
strace \
|
||||||
|
dockd \
|
||||||
|
xclip \
|
||||||
|
xsel \
|
||||||
|
xdotool \
|
||||||
|
ffmpegthumbnailer \
|
||||||
|
highlight \
|
||||||
|
libcaca \
|
||||||
|
mediainfo \
|
||||||
|
transmission-cli \
|
||||||
|
transmission-qt \
|
||||||
|
ueberzug \
|
||||||
|
w3m \
|
||||||
|
poppler \
|
||||||
|
odt2txt \
|
||||||
|
gnome-keyring \
|
||||||
|
i3lock-fancy-dualmonitors-git \
|
||||||
|
lxrandr \
|
||||||
|
feh
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user