Skip to content

Commit

Permalink
fix(CI): Include correct files in repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamek committed Oct 10, 2023
1 parent 2d55ebd commit 7ead88f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ eggs/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
Expand Down
8 changes: 8 additions & 0 deletions var/lib/chromium-kiosk/.bash_profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# ~/.bash_profile
#

[[ -f ~/.bashrc ]] && . ~/.bashrc
if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
exec startx >& /dev/null
fi
Empty file.
19 changes: 19 additions & 0 deletions var/lib/chromium-kiosk/.xinitrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh
xset -dpms # disable DPMS (Energy Star) features.
xset s off # disable screen saver
xset s noblank # don't blank the video device

# Check if xscreensaver is installed, if it is run it

if command -v xscreensaver &> /dev/null
then
xscreensaver -no-splash & # xscreensaver daemon
fi

unclutter & # hides your cursor after inactivity
xfwm4 &
if [ -e ~/chromium-kiosk-prehook.sh ] # Check if prehook exists and run it
then
~/chromium-kiosk-prehook.sh
fi
exec chromium-kiosk run --config_prod --log_dir=~/ && killall -u $USER

0 comments on commit 7ead88f

Please sign in to comment.