From 269efeacd5b0406bb66697757744d163151a7dda Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Tue, 13 Jun 2023 14:16:13 +0200 Subject: [PATCH] updated to latest state aka no idea what is there:) --- .bashrc | 10 +++++----- .xinitrc | 5 +++-- .xprofile | 2 ++ 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.bashrc b/.bashrc index 3d0f913..c7a2af5 100644 --- a/.bashrc +++ b/.bashrc @@ -93,12 +93,12 @@ function sv-enable () { ## Switch keyboard layouts function xkb-switch () { -LAYOUT=$(setxkbmap -query | grep layout | awk '{print $2}') - if [[ $LAYOUT == "us" ]]; then + LAYOUT=$(setxkbmap -query | grep layout | awk '{print $2}') + if [[ $LAYOUT == "us" ]]; then setxkbmap cz qwerty - else + else setxkbmap us - fi + fi } ## Repeat command until exit @@ -132,7 +132,7 @@ m3u8-download() { alias cal="cal -m" ## shell -set -o vi # vim keybinding in terminal +#set -o vi # vim keybinding in terminal EDITOR=vim # prefered editor stty -ixon # reverse i search bash complete -cf doas # doas completion diff --git a/.xinitrc b/.xinitrc index e7d96a6..c09f94d 100644 --- a/.xinitrc +++ b/.xinitrc @@ -7,9 +7,10 @@ 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 & dwmblocks & diff --git a/.xprofile b/.xprofile index 3ff4d78..1624492 100644 --- a/.xprofile +++ b/.xprofile @@ -3,3 +3,5 @@ ssh-agent & TPADID=$(xinput | grep "Synaptics" | awk '{print $5}' | awk -F "=" '{print $2}') xinput disable $TPADID xinput set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Speed" 0.9 + +xdg-settings set default-web-browser firefox.desktop