Compare commits
No commits in common. "fe8e9af8107e680e9f339b459bd3937c87d85ce1" and "a1b8b0c72f56abc3c8f658652567702ad534ec3a" have entirely different histories.
fe8e9af810
...
a1b8b0c72f
2
programs
2
programs
@ -6,7 +6,6 @@ git
|
||||
xwallpaper
|
||||
dunst
|
||||
zathura
|
||||
libnotify
|
||||
xorg-setxkbmap
|
||||
xorg-xrandr
|
||||
xorg-xset
|
||||
@ -39,7 +38,6 @@ netcat
|
||||
nmap
|
||||
remmina
|
||||
python-pynvim
|
||||
xorg-xinput
|
||||
neofetch
|
||||
|
||||
#
|
||||
|
@ -1 +0,0 @@
|
||||
/home/dogeystamp/dox/proj/dots/src/.xinitrc
|
@ -8,8 +8,6 @@ export XDG_DOWNLOAD_DIR="$HOME"/quar/
|
||||
|
||||
# Clean up home directory dotfiles
|
||||
|
||||
# xinit
|
||||
export XINITRC="$XDG_CONFIG_HOME"/xinitrc
|
||||
# XAuthority
|
||||
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
|
||||
# GTK2
|
||||
|
55
src/.xinitrc
Executable file
55
src/.xinitrc
Executable file
@ -0,0 +1,55 @@
|
||||
#!/bin/sh
|
||||
|
||||
mon-on
|
||||
|
||||
if [ $SYSTEM_PROFILE = "MINIMAL" ]; then
|
||||
dwm
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ $SYSTEM_PROFILE = "DEFAULT" ]; then
|
||||
picom &
|
||||
fi
|
||||
battwatch.sh &
|
||||
xwallpaper --center .config/wall.png
|
||||
# Host specific wallpapers
|
||||
wallpaper
|
||||
xss-lock -- slock &
|
||||
dunst &
|
||||
xrdb .Xresources
|
||||
if ! pgrep pipewire; then
|
||||
gentoo-pipewire-launcher &
|
||||
fi
|
||||
|
||||
# DBus
|
||||
export NO_AT_BRIDGE=1
|
||||
eval $(dbus-launch --sh-syntax)
|
||||
export DBUS_SESSION_BUS_ADDRESS
|
||||
export DBUS_SESSION_BUS_PID
|
||||
export DBUS_SESSION_BUS_WINDOWID
|
||||
|
||||
# IME
|
||||
export GTK_IM_MODULE=fcitx
|
||||
export QT_IM_MODULE=fcitx
|
||||
# for some reason this breaks deadkeys
|
||||
#export XMODIFIERS=@im=fcitx
|
||||
|
||||
# set up keyboard
|
||||
keyboard.sh
|
||||
export XCOMPOSEFILE="$XDG_CONFIG_HOME"/xcompose/main
|
||||
|
||||
while true; do
|
||||
DATE=$(date +'%H:%M:%S %a %b %d')
|
||||
#TEMP="$(($(cat /sys/class/thermal/thermal_zone0/temp) / 1000))C"
|
||||
BAT="$(acpi -b | head -n 1 | awk -F'[,:]' '{print $3}' | tr -d '[:space:]')"
|
||||
if command -v xkblayout-state print &> /dev/null; then
|
||||
KEY="$(xkblayout-state print '%s')"
|
||||
else
|
||||
KEY="??"
|
||||
fi
|
||||
|
||||
xsetroot -name " $DATE // $BAT // $KEY"
|
||||
sleep 1
|
||||
done &
|
||||
|
||||
dwm
|
Loading…
x
Reference in New Issue
Block a user