random updates, dwm is working fine started from tty, but xmonad don't like it and lightdm isn't working as expected with updated profiles and x config

This commit is contained in:
Solomon Laing 2022-05-21 22:55:19 +09:30
parent 7505827c85
commit 7acda4cd9d
3 changed files with 18 additions and 15 deletions

View File

@ -6,18 +6,21 @@ else
. "$HOME/.xprofile"
fi
HOST=$(cat /etc/hostname)
if [ -f /etc/hostname ]; then
HOST=$(cat /etc/hostname)
else
HOST=$(hostname)
fi
if [ "$HOST" == "archmetabox" ] ; then
# this is specifically for the laptop so check hostname
xrandr --setprovideroutputsource modesetting NVIDIA-G0
xrandr --auto
fi
HOST=$(hostname)
if [ "$HOST" == "holocene" ] ; then
dwmblocks &
exec dwm
dwmblocks &
exec dwm
else
./$MOME/.xmonad/start-xmonad.sh
fi

View File

@ -135,7 +135,7 @@ Config {
, Run Com "xmobar-status-weather" ["YPAD"] "weather" 300
-- Script polls the batter for info and displays nicely
, Run Com "status-bat" [] "bat" 20
, Run Com "xmobar-status-bat" [] "bat" 20
-- Prints out the left side items such as workspaces, layout, etc.
, Run UnsafeStdinReader

View File

@ -1,5 +1,5 @@
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# export PATH=$HOME/.local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/solomon/.oh-my-zsh"