updated to latest state

aka no idea what is there:)
This commit is contained in:
Filip Rojek 2023-06-13 14:16:13 +02:00
parent 7fc48a5009
commit 269efeacd5
3 changed files with 10 additions and 7 deletions

10
.bashrc
View File

@ -93,12 +93,12 @@ function sv-enable () {
## Switch keyboard layouts ## Switch keyboard layouts
function xkb-switch () { function xkb-switch () {
LAYOUT=$(setxkbmap -query | grep layout | awk '{print $2}') LAYOUT=$(setxkbmap -query | grep layout | awk '{print $2}')
if [[ $LAYOUT == "us" ]]; then if [[ $LAYOUT == "us" ]]; then
setxkbmap cz qwerty setxkbmap cz qwerty
else else
setxkbmap us setxkbmap us
fi fi
} }
## Repeat command until exit ## Repeat command until exit
@ -132,7 +132,7 @@ m3u8-download() {
alias cal="cal -m" alias cal="cal -m"
## shell ## shell
set -o vi # vim keybinding in terminal #set -o vi # vim keybinding in terminal
EDITOR=vim # prefered editor EDITOR=vim # prefered editor
stty -ixon # reverse i search bash stty -ixon # reverse i search bash
complete -cf doas # doas completion complete -cf doas # doas completion

View File

@ -7,9 +7,10 @@
feh --bg-center "$HOME/Pictures/bg.png" & feh --bg-center "$HOME/Pictures/bg.png" &
xautolock -locker slock -detectsleep -secure -time 10 & xautolock -locker slock -secure -time 5 &
pipewire & #pipewire &
dbus-run-session pipewire &
pipewire-pulse & pipewire-pulse &
dwmblocks & dwmblocks &

View File

@ -3,3 +3,5 @@ ssh-agent &
TPADID=$(xinput | grep "Synaptics" | awk '{print $5}' | awk -F "=" '{print $2}') TPADID=$(xinput | grep "Synaptics" | awk '{print $5}' | awk -F "=" '{print $2}')
xinput disable $TPADID xinput disable $TPADID
xinput set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Speed" 0.9 xinput set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Speed" 0.9
xdg-settings set default-web-browser firefox.desktop