add violet session

This commit is contained in:
Ohio2 2021-07-29 13:49:51 +02:00
parent 2566cab53d
commit b611df1b1f
4 changed files with 10 additions and 3 deletions

View file

@ -5,6 +5,7 @@ install-root:
@echo ":: Installing..."
cp -f target/release/violet /usr/local/bin/violet
cp -f scripts/init.sh /usr/local/bin/violet-init
cp -n files/violet.desktop /usr/share/xsessions/
install:
@echo ":: Installing..."
cp -f target/release/violet ~/.local/bin/violet

7
files/violet.desktop Normal file
View file

@ -0,0 +1,7 @@
[Desktop Entry]
Name=Violet
Comment=None
Exec=/usr/local/bin/violet-init
TryExec=/usr/local/bin/violet-init
Icon=openbox
Type=Application

View file

@ -1,5 +1,4 @@
#!/usr/bin/env zsh
picom &
polybar -c ~/.config/polybar/polybar main &
nitrogen --restore &
violet || violet