mirror of https://github.com/E-Almqvist/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
672 B
48 lines
672 B
#!/usr/bin/bash
|
|
|
|
WM_CHECK=$(wmctrl -m | grep Name | cut -d: -f2 | sed 's/ //g')
|
|
|
|
if [ "$WM_CHECK" != "LeftWM" ]; then
|
|
echo "Not LEFTWM, ignoring..."
|
|
exit 0
|
|
else
|
|
echo "OK"
|
|
fi
|
|
|
|
|
|
# Keyboard layout
|
|
setxkbmap se &
|
|
|
|
# Display settings
|
|
$HOME/.screenlayout/layout.sh &
|
|
|
|
# Compositor
|
|
$HOME/.config/picom/launch &
|
|
|
|
# Background
|
|
nitrogen --restore &
|
|
|
|
# Notification daemon
|
|
dunst &
|
|
|
|
# Anti sleep
|
|
xset s off &
|
|
xset -dpms &
|
|
|
|
# EWW widgets etc
|
|
#eww daemon
|
|
#eww open bar
|
|
|
|
# Polybar
|
|
# $HOME/.config/polybar/launch &
|
|
|
|
# EWW widgets
|
|
eww daemon &
|
|
eww open-many bar-1 bar-2 & # the bar
|
|
|
|
# Keyring
|
|
eval $(gnome-keyring-daemon --start)
|
|
export SSH_AUTH_SOCK
|
|
|
|
# Emacs daemon
|
|
# emacs --daemon &
|
|
|