Merge branch 'master' of ssh://5ccppi/ccppi/scripts

This commit is contained in:
2025-07-14 19:16:18 +02:00
4 changed files with 100 additions and 2 deletions

37
.xinitrc Normal file
View File

@@ -0,0 +1,37 @@
#Xft.dpi: 96
#xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
#xrandr --output HDMI-1-1 --preferred --mode 1360x768 --primary
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
sxhkd &
#pulseaudio --start
#dwmstatus &
slstatus &
xcompmgr &
export DISPLAY=:0
feh --bg-scale ~/Pictures/249422600.jpg
nm-applet &
pasystray &
##we dont use pamac
#pamac-tray &
cbatticon &
#blueman-applet &
dunst & #notification daemon
setxkbmap -layout ch
flameshot & # screenrecorder
#swap caps as esc, mainly for vim
setxkbmap -option caps:escape
xss-lock slock &
exec dwm
#dwm 2> ~/.dwm.log
xset r rate 660 25

59
firejail/kodi.profile Normal file
View File

@@ -0,0 +1,59 @@
# Firejail profile for kodi
# Description: Open Source Home Theatre
# This file is overwritten after every install/update
# Persistent local customizations
include kodi.local
# Persistent global definitions
include globals.local
# noexec ${HOME} breaks plugins
ignore noexec ${HOME}
# Add the following to your kodi.local if you use a CEC Adapter.
#ignore nogroups
#ignore noroot
#ignore private-dev
# Add the following to your kodi.local if you use the Lutris Kodi Addon
#noblacklist /sbin
#noblacklist /usr/sbin
#noblacklist ${HOME}/.cache/lutris
#noblacklist ${HOME}/.config/lutris
#noblacklist ${HOME}/.local/share/lutris
#blacklist ${HOME}
read-only ${HOME}
read-write ${HOME}/.kodi
noblacklist ${HOME}/.kodi
read-write ${HOME}/.local/share/Valve Corporation/SteamLink
noblacklist ${MUSIC}
noblacklist ${PICTURES}
noblacklist ${VIDEOS}
# Allow python (blacklisted by disable-interpreters.inc)
include allow-python2.inc
include allow-python3.inc
include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-programs.inc
include disable-xdg.inc
include whitelist-var-common.inc
apparmor
caps.drop all
netfilter
nogroups
#noinput
nonewprivs
noroot
nou2f
protocol unix,inet,inet6,netlink
seccomp
tracelog
private-dev
private-tmp
restrict-namespaces

View File

@@ -1,5 +1,6 @@
#!/bin/bash
#workaround for pulseaudio with overwrites /usr/ directorys while updating, in combination with usb-soundcards
#with are much to loud
sudo cp ./pulse-fix-volume.sh.common /usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common
pulseaudio -k
#sudo cp ./pulse-fix-volume.sh.common /usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common
sudo cp ./pulse-fix-volume.sh.common /usr/share/alsa-card-profile/mixer/paths/analog-output.conf.common
#pulseaudio -k

View File

@@ -5,6 +5,7 @@ export PASSWORD_STORE_DIR=$HOME/.password-store
export PASSWORD_STORE_GPG_OPTS=-vvv
echo "RUNNING MAIL-SYNC" >> $LOGFILE
killall keyboxd
OFFLINEIMAP=$(offlineimap 2>&1 | tail -n1)
NOTMUCH=$(notmuch new)