#!/bin/sh # GTK Theming export GTK_THEME=Adwaita:dark # Set up monitors. Confirm these names with: xrandr --query xrandr \ --output eDP-1 --mode 1920x1080 --rate 60 --primary \ --output DP-2-1 --mode 1920x1080 --same-as eDP-1 # Set the keyboard layouts setxkbmap -layout "us,cz" -variant ",qwerty" -option "grp:alt_shift_toggle" # Natural scrolling for the touchpad (requires xinput and the libinput driver) xinput list --name-only | while IFS= read -r device; do case "$device" in *[Tt]ouch[Pp]ad*) xinput set-prop "$device" "libinput Natural Scrolling Enabled" 1 2>/dev/null ;; esac done # Start desktop services bluetoothctl power off & picom & xbindkeys & xss-lock -l slock & feh --bg-scale "$HOME/Obrázky/wallpapers/glados.jpg" & dwmblocks & exec dbus-run-session -- sh -c ' GPG_TTY=$(tty) pipewire & sleep 1 pkill -RTMIN+2 dwmblocks exec dwm '