This commit is contained in:
fz0x1 2024-12-12 03:03:05 +01:00
parent ab8752cbac
commit e4a5818b39
3 changed files with 15 additions and 8 deletions

View file

@ -15,7 +15,9 @@ xrdb -merge ~/.Xresources &
# PolicyKit Authentication Agent - Gnome
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
#
sleep 1
# bar
~/.config/polybar/launch.sh &
@ -54,11 +56,15 @@ solaar --restart-on-wake-up --window=hide &
bauh-tray &
# keyboard layout switcher
setxkbmap -layout us,ru -option 'grp:alt_space_toggle' &
# now is using X11 variant in /etc/X11/xorg.conf.d/00-keyboard.conf
# setxkbmap -layout us,ru -option 'grp:alt_space_toggle' &
# emacs
emacs --daemon &
# brightness control
clight &
# lockscreen
# xss-lock --transfer-sleep-lock -- ~/scripts/bin/lock.sh

View file

@ -3,7 +3,7 @@
connected_monitors=$(xrandr | grep " connected" | awk '{ print $1 }')
if echo "$connected_monitors" | grep -q "HDMI"; then
xrandr --output DP-2 --off
xrandr --output HDMI-0 --mode 2560x1440 --rate 165.00 --dpi 120
xrandr --output HDMI-0 --mode 2560x1440 --rate 144.00 --dpi 120
# xrandr --output eDP-1 --left-of HDMI-1-0
xrandr --output HDMI-0 --primary
else