Move x11 files
This commit is contained in:
parent
8bcc87539a
commit
1ba367dcca
|
@ -1,63 +0,0 @@
|
|||
# Night light
|
||||
redshift -P -O 2750 &> /dev/null &
|
||||
|
||||
# Disable mouse acceleration
|
||||
xset m 0 0
|
||||
|
||||
xset r rate 300 50
|
||||
|
||||
# Restore wallpaper
|
||||
nitrogen --restore 2> /dev/null &
|
||||
|
||||
# Run dwmblocks
|
||||
dwmblocks &
|
||||
|
||||
# Launch dunst
|
||||
dunst 2> /dev/null &
|
||||
|
||||
# Launch clipboard daemon
|
||||
clipmenud &
|
||||
|
||||
# Hides mouse
|
||||
unclutter &
|
||||
|
||||
# Compositor
|
||||
#picom &
|
||||
#picom --experimental-backends &
|
||||
#xcompmgr -c &
|
||||
#xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55 &
|
||||
|
||||
# For java starting as blank windows
|
||||
#wmname LG3D
|
||||
|
||||
# Sound configuration
|
||||
~/.local/bin/sound &
|
||||
|
||||
if [[ -v LAPTOP ]]; then
|
||||
# Enable automatic fan control
|
||||
macfanctld
|
||||
|
||||
# Set brightness
|
||||
xbacklight -set 45
|
||||
|
||||
# Set the governor
|
||||
sudo ~/.local/bin/setGovernor > /dev/null &
|
||||
else
|
||||
# Faster scrolling
|
||||
imwheel -b 45
|
||||
|
||||
# Move mouse focus to middle of first screen
|
||||
xdotool mousemove --sync --screen=$1 960 500
|
||||
|
||||
# Restart network
|
||||
~/.local/bin/netRestart &
|
||||
fi
|
||||
|
||||
# Fix dbus BUG with GNOME keyring
|
||||
dbus-update-activation-environment --systemd DISPLAY
|
||||
|
||||
# Start GNOME keyring
|
||||
eval $(gnome-keyring-daemon --start)
|
||||
export SSH_AUTH_SOCK
|
||||
|
||||
exec $HOME/.local/bin/startdwm
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
redshift -P -O 2750 &> /dev/null &
|
||||
|
||||
xset m 0 0
|
||||
|
@ -17,17 +19,16 @@ picom &
|
|||
|
||||
#wmname LG3D
|
||||
|
||||
~/.local/bin/sound &
|
||||
~/.local/bin/autolock & disown
|
||||
"$HOME/.local/bin/sound" &
|
||||
|
||||
"$HOME/.local/bin/autolock" & disown
|
||||
|
||||
if [[ -v LAPTOP ]]; then
|
||||
macfanctld
|
||||
xbacklight -set 45
|
||||
sudo ~/.local/bin/setGovernor > /dev/null &
|
||||
else
|
||||
imwheel -b 45
|
||||
xdotool mousemove --sync --screen=$1 960 500
|
||||
~/.local/bin/netRestart &
|
||||
fi
|
||||
|
||||
dbus-update-activation-environment --systemd DISPLAY
|
Loading…
Reference in New Issue