diff options
-rw-r--r-- | etc/portage/make.conf | 5 | ||||
-rw-r--r-- | etc/portage/package.accept_keywords/conf | 17 | ||||
-rw-r--r-- | etc/portage/package.unmask/conf | 1 | ||||
-rw-r--r-- | etc/portage/package.use/conf | 1 | ||||
-rw-r--r-- | etc/sysctl.d/local.conf | 4 | ||||
-rw-r--r-- | root/.bash_aliases | 25 | ||||
-rw-r--r-- | root/.config/i3/config | 2 | ||||
-rwxr-xr-x | root/.xinitrc | 3 | ||||
-rwxr-xr-x | root/.xprofile | 1 | ||||
-rwxr-xr-x | root/posodobi.sh | 8 |
10 files changed, 54 insertions, 13 deletions
diff --git a/etc/portage/make.conf b/etc/portage/make.conf index 18387c9..55deb88 100644 --- a/etc/portage/make.conf +++ b/etc/portage/make.conf @@ -75,6 +75,7 @@ USE="$USE hpijs" # za hplip USE="$USE jmol" # za sage math USE="$USE terminal" # za vim USE="$USE nano" # za newlib +USE="$USE -openpgl" # za blender UWSGI_PLUGINS="pam" NGINX_MODULES_HTTP="$NGINX_MODULES_HTTP addition auth_ldap auth_pam auth_request brotli dav dav_ext echo fancyindex flv gunzip gzip_static headers_more image_filter javascript memc metrics mp4 push_stream random_index realip secure_link sticky stub_status sub upload_progress vhost_traffic_status xslt gzip userid ssi uwsgi slice security rewrite referer proxy perl map limit_req limit_conn fastcgi empty_gif charset browser autoindex access auth_basic" NGINX_MODULES_STREAM="$NGINX_MODULES_STREAM map realip return ssl_preread limit_conn javascript access" @@ -82,7 +83,7 @@ NGINX_MODULES_STREAM="$NGINX_MODULES_STREAM map realip return ssl_preread limit_ CALLIGRA_FEATURES="stage words sheets" PALEMOON_ENABLE_UNSUPPORTED_COMPILERS=1 # uradno gcc 11 ni podprt -ACCEPT_LICENSE="-* @BINARY-REDISTRIBUTABLE Kermit MPEG-4 android GIMPS Coherent-Graphics BOSL-1.1 SSPL-1" +ACCEPT_LICENSE="-* @BINARY-REDISTRIBUTABLE Kermit MPEG-4 android GIMPS Coherent-Graphics BOSL-1.1 SSPL-1 Nyquist" # default je @FREE # L10N="sl" @@ -93,7 +94,7 @@ SIGNED_OFF_BY="Anton Luka Šijanec <anton@sijanec.eu>" L10N="sl en de hr si" -FEATURES="${FEATURES} splitdebug installsources compressdebug $([ `hostname` != c ] && echo distcc buildpkg && [ `hostname` != b ] && echo getbinpkg)" +FEATURES="${FEATURES} splitdebug installsources compressdebug $([ `hostname` = varovalka ] && echo distcc getbinpkg; [ `hostname` = b ] && echo getbinpkg buildpkg)" PHP_TARGETS="php8-1" BINPKG_FORMAT="gpkg" INPUT_DEVICES="wacom libinput synaptics" diff --git a/etc/portage/package.accept_keywords/conf b/etc/portage/package.accept_keywords/conf index 5422cfb..b1e36fe 100644 --- a/etc/portage/package.accept_keywords/conf +++ b/etc/portage/package.accept_keywords/conf @@ -10,7 +10,7 @@ x11-misc/dex ~* app-mobilephone/scrcpy ~* app-text/pandoc ~* www-client/torbrowser ~* -www-apps/jellyfin ~* +www-apps/jellyfin-bin ~* www-apps/invidious ~* net-misc/xrdp ~* dev-util/rz-ghidra ~* @@ -66,11 +66,11 @@ dev-java/maven-bin ~* net-wireless/mdk ~* app-editors/vscodium ~* net-print/foo2zjs ~* -www-apps/lidarr ~* -www-apps/prowlarr ~* -www-apps/readarr ~* -www-apps/radarr ~* -www-apps/sonarr ~* +www-apps/lidarr-bin ~* +www-apps/prowlarr-bin ~* +www-apps/readarr-bin ~* +www-apps/radarr-bin ~* +www-apps/sonarr-bin ~* sci-mathematics/sage ~* app-text/cpdf ~* dev-python/bencode_py ~* @@ -80,3 +80,8 @@ dev-python/hidapi ~* net-wireless/sigdigger ~* dev-python/snakemake ~* net-irc/thelounge ~* +media-gfx/weasis-bin ~* +sci-biology/dcm2niix ~* +app-text/typst ~* +media-sound/tenacity ~* +app-misc/pup ~* diff --git a/etc/portage/package.unmask/conf b/etc/portage/package.unmask/conf index cfb2d64..3e13512 100644 --- a/etc/portage/package.unmask/conf +++ b/etc/portage/package.unmask/conf @@ -3,3 +3,4 @@ sys-firmware/*-bin net-libs/liquid-dsp::stefantalpalaru net-wireless/cubicsdr::stefantalpalaru x11-libs/wxGTK::stefantalpalaru +media-gfx/weasis-bin diff --git a/etc/portage/package.use/conf b/etc/portage/package.use/conf index d8f2293..4f3b2ef 100644 --- a/etc/portage/package.use/conf +++ b/etc/portage/package.use/conf @@ -9,3 +9,4 @@ sci-libs/orocos_kdl -examples media-sound/pulseaudio -daemon net-im/prosody -icu dev-lang/mono minimal +dev-perl/DBD-MariaDB -mysql diff --git a/etc/sysctl.d/local.conf b/etc/sysctl.d/local.conf index c43b2ce..f9f8434 100644 --- a/etc/sysctl.d/local.conf +++ b/etc/sysctl.d/local.conf @@ -1,2 +1,4 @@ -vm.swappiness = 60 +vm.swappiness = 0 net.ipv6.ip_nonlocal_bind = 1 +net.ipv6.conf.all.forwarding = 1 +net.ipv4.ip_forward = 1 diff --git a/root/.bash_aliases b/root/.bash_aliases index c95955c..5b74f6a 100644 --- a/root/.bash_aliases +++ b/root/.bash_aliases @@ -12,6 +12,22 @@ function register () { n=`curl -s https://www.register.si | grep nonce | head -n 1 | cut -d\" -f8` curl -s https://www.register.si/wp-admin/admin-ajax.php -X POST --data-raw "_ajax_nonce=$n&action=get_whois_data&domain=`sed s/.si\$//g <<<$1`.si" | grep "<td>" | sed "s/^\s*//g" | cut -d\< -f2 | cut -d\> -f2 | grep "[[:print:]]" } +function eurid () { + domain=`sed 's/\.eu$//' <<<$1` + json=`curl -s https://eurid.eu/en/das/?domain=$domain` + status=`jq --raw-output .status <<<$json` + if [ $status = NOT_AVAILABLE ] + then + return 0 + fi + if [ $status = AVAILABLE ] + then + return 1 + fi + echo $json + return 2 + +} alias r=R alias R="R --quiet" alias jupyter-server="jupyter-server --allow-root" @@ -87,3 +103,12 @@ function j () { alias gl="git log --graph" export MPLBACKEND=gtk4agg alias dc="rlwrap dc" +alias vscodium="vscodium --no-sandbox --user-data-dir .local/state/vscodium" +function changedetection_diff_html() { + for i in `unzip -p $1 url-watches.json | jq --raw-output '.watching[] | (.url + "@" + .uuid)'` + do + url=`cut -d@ -f1 <<<$i` + uuid=`cut -d@ -f2 <<<$i` + echo "<li> <a href=http://b.šijanec.eu.:25788/diff/$uuid#text>$url</a>" + done +} diff --git a/root/.config/i3/config b/root/.config/i3/config index 8770426..ee2ebfa 100644 --- a/root/.config/i3/config +++ b/root/.config/i3/config @@ -15,7 +15,7 @@ floating_modifier $mod bindsym $mod+Return exec xterm # bindsym $mod+q kill bindsym $mod+Shift+q kill -bindsym $mod+d exec dmenu_run -f -fn terminus +bindsym $mod+d exec dmenu_run -fn terminus # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --dmenu "dmenu -i -fn terminus" # bindsym $mod+Shift+zcaron exec /home/a/.screenlayout/fix-discord.sh bindsym $mod+ccaron focus left diff --git a/root/.xinitrc b/root/.xinitrc index 4d4c713..ab7d226 100755 --- a/root/.xinitrc +++ b/root/.xinitrc @@ -2,4 +2,5 @@ [ -f ~/.xprofile ] && . ~/.xprofile picom & hsetroot -solid black -exec dbus-run-session sh -c "dex -a && exec i3" +# dex -a dal stran +exec dbus-run-session sh -c "exec i3" diff --git a/root/.xprofile b/root/.xprofile index 15941d2..3f0a513 100755 --- a/root/.xprofile +++ b/root/.xprofile @@ -1,4 +1,5 @@ xrandr --output HDMI-1 --set "Broadcast RGB" "Full" +xrandr --output HDMI-1 --right-of DP-1 setxkbmap si xset r rate 150 60 # delay cps xset b off # zvonček diff --git a/root/posodobi.sh b/root/posodobi.sh index c150fb5..e490d84 100755 --- a/root/posodobi.sh +++ b/root/posodobi.sh @@ -26,8 +26,12 @@ a= grep "no-sync" <<<"$@" || /usr/sbin/emaint sync --auto grep "no-ask" <<<"$@" || a=--ask grep "colo" <<<"$@" && f="$f --color y" -[ `hostname` = varovalka ] && f="$f --exclude=media-libs/mesa" -emerge --tree --verbose --update $f $a --newuse --changed-use --backtrack 30 --deep --with-bdeps=y --rebuilt-binaries --autounmask --autounmask-write --autounmask-backtrack=y @world +[ `hostname` = varovalka ] && f="$f" # --exclude=media-libs/mesa +swap=/mnt/slu/a/tmp/swap +[ -f $swap ] && swapon $swap +trap "swapoff $swap" EXIT +emerge --tree --verbose --update $f $a --newuse --changed-use --backtrack 30 --deep --with-bdeps=y --rebuilt-binaries --autounmask --autounmask-write --autounmask-backtrack=y @world # --exclude=sci-electronics/kicad emerge --verbose $f --autounmask-write --autounmask @preserved-rebuild emerge --depclean $f /root/linux/dist.sh +dmenu_path > /dev/null # update cache |