Start new era - dwm

Modify .Xresources, .xinitrc and autostart
This commit is contained in:
Wiktor Zykubek 2020-05-08 17:10:34 +02:00
parent 1c727d5f20
commit 2985c78b2c
3 changed files with 18 additions and 5 deletions

View File

@ -1,9 +1,18 @@
! special ! special
*.foreground: #dfdfdf *.foreground: #dfdfdf
*.background: #0a0200 *.background: #130314
*.border_unfocused: #262323 *.border_unfocused: #262323
*.border_focused: #353131 *.border_focused: #353131
! dwm
dwm.normfgcolor: #bbbbbb
dwm.normbgcolor: #1b1b1b
dwm.normbordercolor: #444444
dwm.selfgcolor: #eeeeee
dwm.selbgcolor: #5e3059
dwm.selbordercolor: #05e3059
! dmenu ! dmenu
dmenu.selbackground: #353131 dmenu.selbackground: #353131
dmenu.selforeground: #dfdfdf dmenu.selforeground: #dfdfdf

View File

@ -15,9 +15,9 @@ elif [ "$HOSTNAME" == "laptop" ];then
fi fi
# Polybar # Polybar
killall -q polybar # killall -q polybar
while pgrep -u $UID -x polybar >/dev/null; do killall -q polybar; done # while pgrep -u $UID -x polybar >/dev/null; do killall -q polybar; done
polybar polybarexe & # polybar polybarexe &
# sxhkd # sxhkd
killall -q sxhkd killall -q sxhkd
while pgrep -u $UID -x sxhkd >/dev/null; do killall -q sxhkd; done while pgrep -u $UID -x sxhkd >/dev/null; do killall -q sxhkd; done
@ -35,6 +35,7 @@ picom &
setxkbmap -layout 'pl' -option caps:swapescape & setxkbmap -layout 'pl' -option caps:swapescape &
# Cursor # Cursor
xsetroot -cursor_name left_ptr & # change the cursor shape from "x" to normal xsetroot -cursor_name left_ptr & # change the cursor shape from "x" to normal
xsetroot -name " samedamci "
# Not reload # Not reload
[[ -z $(pgrep udiskie) ]] && udiskie & [[ -z $(pgrep udiskie) ]] && udiskie &
@ -44,5 +45,7 @@ xsetroot -cursor_name left_ptr & # change the cursor shape from "x" to normal
[[ -z $(pgrep syncthing) ]] && syncthing -no-browser & [[ -z $(pgrep syncthing) ]] && syncthing -no-browser &
telegram-desktop & telegram-desktop &
~/.scripts/dwmbar &
# Welcome notify # Welcome notify
dunstify "Hello ${USER}!" dunstify "Hello ${USER}!"

View File

@ -1,2 +1,3 @@
#!/bin/sh #!/bin/sh
exec bspwm ~/.scripts/autostart &
exec dwm