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:
parent
7505827c85
commit
7acda4cd9d
@ -6,18 +6,21 @@ else
|
|||||||
. "$HOME/.xprofile"
|
. "$HOME/.xprofile"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
HOST=$(cat /etc/hostname)
|
if [ -f /etc/hostname ]; then
|
||||||
|
HOST=$(cat /etc/hostname)
|
||||||
|
else
|
||||||
|
HOST=$(hostname)
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$HOST" == "archmetabox" ] ; then
|
if [ "$HOST" == "archmetabox" ] ; then
|
||||||
# this is specifically for the laptop so check hostname
|
# this is specifically for the laptop so check hostname
|
||||||
xrandr --setprovideroutputsource modesetting NVIDIA-G0
|
xrandr --setprovideroutputsource modesetting NVIDIA-G0
|
||||||
xrandr --auto
|
xrandr --auto
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
HOST=$(hostname)
|
|
||||||
if [ "$HOST" == "holocene" ] ; then
|
if [ "$HOST" == "holocene" ] ; then
|
||||||
|
dwmblocks &
|
||||||
dwmblocks &
|
exec dwm
|
||||||
|
else
|
||||||
exec dwm
|
./$MOME/.xmonad/start-xmonad.sh
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
Config {
|
Config {
|
||||||
|
|
||||||
-- appearance
|
-- appearance
|
||||||
font = "xft:Fira Code:size=9:antialias=true:hinting=true"
|
font = "xft:Fira Code:size=9:antialias=true:hinting=true"
|
||||||
@ -38,7 +38,7 @@ Config {
|
|||||||
-- The --template option controls how the plugin is displayed. Text
|
-- The --template option controls how the plugin is displayed. Text
|
||||||
-- color can be set by enclosing in <fc></fc> tags. For more details
|
-- color can be set by enclosing in <fc></fc> tags. For more details
|
||||||
-- see http://projects.haskell.org/xmobar/#system-monitor-plugins.
|
-- see http://projects.haskell.org/xmobar/#system-monitor-plugins.
|
||||||
, commands =
|
, commands =
|
||||||
-- cpu activity monitor
|
-- cpu activity monitor
|
||||||
[ Run Cpu [ "--template" , "cpu <total>%"
|
[ Run Cpu [ "--template" , "cpu <total>%"
|
||||||
, "--Low" , "30" -- units: %
|
, "--Low" , "30" -- units: %
|
||||||
@ -47,7 +47,7 @@ Config {
|
|||||||
, "--normal" , "#ffb86c"
|
, "--normal" , "#ffb86c"
|
||||||
, "--high" , "#ff5555"
|
, "--high" , "#ff5555"
|
||||||
] 10
|
] 10
|
||||||
|
|
||||||
-- memory usage monitor
|
-- memory usage monitor
|
||||||
-- , Run Memory [ "--template" ,"mem: <usedratio>% (<used>Mb)"
|
-- , Run Memory [ "--template" ,"mem: <usedratio>% (<used>Mb)"
|
||||||
, Run Memory [ "--template" ,"mem <usedratio>%"
|
, Run Memory [ "--template" ,"mem <usedratio>%"
|
||||||
@ -58,7 +58,7 @@ Config {
|
|||||||
, "--high" , "#ff5555"
|
, "--high" , "#ff5555"
|
||||||
] 10
|
] 10
|
||||||
|
|
||||||
-- time and date indicator
|
-- time and date indicator
|
||||||
-- (%F = y-m-d date, %a = day of week, %T = h:m:s time)
|
-- (%F = y-m-d date, %a = day of week, %T = h:m:s time)
|
||||||
, Run Date "<fc=#268bd2><fn=1>\xf073 </fn> %a %Y-%m-%d</fc> <fc=#6272a4>|</fc> <fc=#2AA198><fn=1>\xf017 </fn>%H:%M:%S</fc>" "date" 10
|
, Run Date "<fc=#268bd2><fn=1>\xf073 </fn> %a %Y-%m-%d</fc> <fc=#6272a4>|</fc> <fc=#2AA198><fn=1>\xf017 </fn>%H:%M:%S</fc>" "date" 10
|
||||||
|
|
||||||
@ -97,7 +97,7 @@ Config {
|
|||||||
-- ] 10
|
-- ] 10
|
||||||
|
|
||||||
-- keyboard layout indicator
|
-- keyboard layout indicator
|
||||||
-- , Run Kbd [ ("us(dvorak)" , "DV")
|
-- , Run Kbd [ ("us(dvorak)" , "DV")
|
||||||
-- , ("us" , "US")
|
-- , ("us" , "US")
|
||||||
-- ]
|
-- ]
|
||||||
|
|
||||||
@ -133,9 +133,9 @@ Config {
|
|||||||
|
|
||||||
-- Script that pulls weather related data and builds string to display
|
-- Script that pulls weather related data and builds string to display
|
||||||
, Run Com "xmobar-status-weather" ["YPAD"] "weather" 300
|
, Run Com "xmobar-status-weather" ["YPAD"] "weather" 300
|
||||||
|
|
||||||
-- Script polls the batter for info and displays nicely
|
-- 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.
|
-- Prints out the left side items such as workspaces, layout, etc.
|
||||||
, Run UnsafeStdinReader
|
, Run UnsafeStdinReader
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
# If you come from bash you might have to change your $PATH.
|
# 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.
|
# Path to your oh-my-zsh installation.
|
||||||
export ZSH="/home/solomon/.oh-my-zsh"
|
export ZSH="/home/solomon/.oh-my-zsh"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user