diff options
-rw-r--r-- | .config/XMonad/lib/Hooks.hs | 8 | ||||
-rwxr-xr-x | .xprofile | 12 | ||||
-rw-r--r-- | .zprofile | 4 |
3 files changed, 9 insertions, 15 deletions
diff --git a/.config/XMonad/lib/Hooks.hs b/.config/XMonad/lib/Hooks.hs index a982398..5e13225 100644 --- a/.config/XMonad/lib/Hooks.hs +++ b/.config/XMonad/lib/Hooks.hs @@ -32,14 +32,6 @@ myLayoutHook = avoidStruts $ maximize $ windowNavigation $ smartBorders $ myGap emptyBSP ||| tabbed shrinkText myTabTheme ||| Grid myStartupHook = do - spawnOnce "xmodmap /home/zt/.Xmodmap" - spawnOnce "picom" - spawnOnce "blueman-applet" - spawnOnce "dunst" - spawnOnce "polystart" - spawnOnce "nitrogen --restore" - -- spawnOnce "cbatticon" - spawnOnce "udiskie" setWMName "Anime Thighs" -- setWMName "LG3D" setDefaultCursor xC_left_ptr @@ -1,8 +1,14 @@ -#!/bin/bash +#!/bin/zsh + +# zprofile contents +[[ -f ~/.config/zsh/.zshenv ]] && source ~/.config/zsh/.zshenv +if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then + exec startx +fi # makes optimus-manager work (probably) -xrandr --setprovideroutputsource modesetting NVIDIA-0 -xrandr --auto +# xrandr --setprovideroutputsource modesetting NVIDIA-0 +# xrandr --auto # makes gnome-keyring work dbus-update-activation-environment --all diff --git a/.zprofile b/.zprofile deleted file mode 100644 index c5be59e..0000000 --- a/.zprofile +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -[[ -f ~/.config/zsh/.zshenv ]] && source ~/.config/zsh/.zshenv -startpage & |