From 736c3b5397ace1e711a4902b8240f35cea599b9c Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 15 Dec 2021 11:12:24 -0500 Subject: asterias creen layout --- .../private_executable_asteria-home.sh | 2 ++ executable_dot_xinitrc | 32 ---------------------- executable_dot_xinitrc.tmpl | 32 ++++++++++++++++++++++ 3 files changed, 34 insertions(+), 32 deletions(-) create mode 100644 dot_screenlayout/private_executable_asteria-home.sh delete mode 100755 executable_dot_xinitrc create mode 100755 executable_dot_xinitrc.tmpl diff --git a/dot_screenlayout/private_executable_asteria-home.sh b/dot_screenlayout/private_executable_asteria-home.sh new file mode 100644 index 0000000..a463ffd --- /dev/null +++ b/dot_screenlayout/private_executable_asteria-home.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output eDP --mode 1920x1080 --pos 0x1080 --rotate normal --output HDMI-A-0 --off --output DisplayPort-0 --off --output DisplayPort-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal diff --git a/executable_dot_xinitrc b/executable_dot_xinitrc deleted file mode 100755 index ce4ea56..0000000 --- a/executable_dot_xinitrc +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - - -case `uname` in - Darwin) - cd ${HOME} - xrdb -merge ~/.Xresources - exec icewm-session - ;; - *) - if test -f ~/.Xresources; then - xrdb -merge -I$HOME ~/.Xresources - fi - redshift & - ${HOME}/bin/icd - # xcompmgr & - trayer --tint black --edge top --SetDockType true --SetPartialStrut true \ - --expand true --width 10 --transparent true --height 12 --align right & - ${HOME}/.dzen/battery.sh & - pavucontrol & - urxvtd -q -f -o & - urxvtc & - ${HOME}/.screenlayout/zeta-home.sh - if [ "false" = "True" ]; then - sh bin/startaudio & - fi - ${HOME}/bin/mice.sh - xset dpms 180 300 600 - - exec /usr/bin/xmonad - ;; -esac diff --git a/executable_dot_xinitrc.tmpl b/executable_dot_xinitrc.tmpl new file mode 100755 index 0000000..6ac0cf9 --- /dev/null +++ b/executable_dot_xinitrc.tmpl @@ -0,0 +1,32 @@ +#!/bin/sh + + +case `uname` in + Darwin) + cd ${HOME} + xrdb -merge ~/.Xresources + exec icewm-session + ;; + *) + if test -f ~/.Xresources; then + xrdb -merge -I$HOME ~/.Xresources + fi + redshift & + ${HOME}/bin/icd + # xcompmgr & + trayer --tint black --edge top --SetDockType true --SetPartialStrut true \ + --expand true --width 10 --transparent true --height 12 --align right & + ${HOME}/.dzen/battery.sh & + pavucontrol & + urxvtd -q -f -o & + urxvtc & + ${HOME}/.screenlayout/{{ .chezmoi.hostname }}-home.sh + if [ "false" = "True" ]; then + sh bin/startaudio & + fi + ${HOME}/bin/mice.sh + xset dpms 180 300 600 + + exec /usr/bin/xmonad + ;; +esac -- cgit v1.2.3