diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-02-21 15:06:12 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-02-21 15:06:12 +0100 |
commit | cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e (patch) | |
tree | 0d5613dde38a1a9ae1ec9da69f5422b8d34f5bcd | |
parent | correct locale actually export into env (diff) | |
download | n-cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e.tar n-cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e.tar.gz n-cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e.tar.bz2 n-cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e.tar.lz n-cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e.tar.xz n-cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e.tar.zst n-cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e.zip |
-rw-r--r-- | etc/portage/make.conf | 11 | ||||
-rw-r--r-- | etc/portage/package.accept_keywords/conf | 1 | ||||
-rw-r--r-- | root/.Xmodmap | 5 | ||||
-rwxr-xr-x | root/.xinitrc | 5 | ||||
-rwxr-xr-x | root/.xprofile | 8 | ||||
-rwxr-xr-x | root/posodobi.sh | 2 | ||||
-rw-r--r-- | root/xkb/map | 7 | ||||
-rw-r--r-- | root/xkb/symbols/sijanec | 11 |
8 files changed, 41 insertions, 9 deletions
diff --git a/etc/portage/make.conf b/etc/portage/make.conf index 12c84bf..e7a25bd 100644 --- a/etc/portage/make.conf +++ b/etc/portage/make.conf @@ -1,15 +1,9 @@ PORTAGE_SCHEDULING_POLICY="idle" - -# -march=native NE SME BITI NA distcc iz očitnih razlogov -# uporabi resolve-march-native -COMMON_FLAGS="-ggdb3 -O2 $([ `cat /proc/meminfo | grep MemTotal | sed -e 's/ *//g' | cut -d: -f2 | cut -dk -f1` -ge 5000000 ] && echo -pipe)" # $(resolve-march-native) -# -pipe rabi RAM +COMMON_FLAGS="-ggdb3 -O2 -pipe -march=core2 -mcx16 -mfxsr -mmmx -msahf -msse -msse2 -msse3 -mssse3 --param=l1-cache-line-size=64 --param=l1-cache-size=32" # intersection of varovalka and b CFLAGS="${COMMON_FLAGS} -DALLOW_RUN_AS_ROOT" # VLC CXXFLAGS="${COMMON_FLAGS} -DOLAD_SKIP_ROOT_CHECK" FCFLAGS="${COMMON_FLAGS}" FFLAGS="${COMMON_FLAGS}" - -# NOTE: This stage was built with the bindist Use flag enabled PORTDIR="/var/db/repos/gentoo" DISTDIR="/var/cache/distfiles" PKGDIR="/var/cache/binpkgs" @@ -74,5 +68,6 @@ SIGNED_OFF_BY="Anton Luka Šijanec <anton@sijanec.eu>" L10N="sl en de hr si" -FEATURES="nostrip distcc" +FEATURES="nostrip distcc getbinpkg buildpkg" PHP_TARGETS="php8-1" +BINPKG_FORMAT="gpkg" diff --git a/etc/portage/package.accept_keywords/conf b/etc/portage/package.accept_keywords/conf index 071260b..71b35e4 100644 --- a/etc/portage/package.accept_keywords/conf +++ b/etc/portage/package.accept_keywords/conf @@ -16,3 +16,4 @@ net-misc/xrdp ~* dev-util/rz-ghidra ~* www-apps/hugo ~* net-wireless/gqrx ~* +media-fonts/terminus-ttf ~* diff --git a/root/.Xmodmap b/root/.Xmodmap new file mode 100644 index 0000000..b2f8583 --- /dev/null +++ b/root/.Xmodmap @@ -0,0 +1,5 @@ +keycode 66 = Caps_Lock +keycode 66 = Hyper_L +clear lock +clear mod4 +add mod4 = Hyper_L diff --git a/root/.xinitrc b/root/.xinitrc new file mode 100755 index 0000000..4d4c713 --- /dev/null +++ b/root/.xinitrc @@ -0,0 +1,5 @@ +[ -f /etc/xprofile ] && . /etc/xprofile +[ -f ~/.xprofile ] && . ~/.xprofile +picom & +hsetroot -solid black +exec dbus-run-session sh -c "dex -a && exec i3" diff --git a/root/.xprofile b/root/.xprofile new file mode 100755 index 0000000..6c0a3bd --- /dev/null +++ b/root/.xprofile @@ -0,0 +1,8 @@ +xrandr --output HDMI-1 --set "Broadcast RGB" "Full" +setxkbmap si +xset r rate 150 60 # delay cps +xset b off # zvonček +xkbcomp -I/root/xkb ~/xkb/map $DISPLAY +xmodmap ~/.Xmodmap +xrdb ~/.Xresources +pulseaudio & diff --git a/root/posodobi.sh b/root/posodobi.sh index 0ef1a22..f50309c 100755 --- a/root/posodobi.sh +++ b/root/posodobi.sh @@ -3,6 +3,6 @@ set -xe f= grep "no-sync" <<<"$@" || emaint sync --auto grep "no-ask" <<<"$@" || f=--ask -emerge --verbose --update $f --newuse --changed-use --backtrack 30 --deep --with-bdeps=y @world +emerge --verbose --update $f --newuse --changed-use --backtrack 30 --deep --with-bdeps=y --rebuilt-binaries @world emerge @preserved-rebuild emerge --depclean diff --git a/root/xkb/map b/root/xkb/map new file mode 100644 index 0000000..c5660b0 --- /dev/null +++ b/root/xkb/map @@ -0,0 +1,7 @@ +xkb_keymap { + xkb_keycodes { include "evdev+aliases(qwertz)" }; + xkb_types { include "complete" }; + xkb_compat { include "complete" }; + xkb_symbols { include "pc+si(basic)+inet(evdev)+sijanec(sijanec)" }; + xkb_geometry { include "pc(pc105)" }; +}; diff --git a/root/xkb/symbols/sijanec b/root/xkb/symbols/sijanec new file mode 100644 index 0000000..b7bb086 --- /dev/null +++ b/root/xkb/symbols/sijanec @@ -0,0 +1,11 @@ +partial alphanumeric_keys +xkb_symbols "sijanec" { + // /usr/share/X11/xkb/keycodes/ibm za imena tipk + // /usr/share/X11/xkb/symbols/ za imena simbolov - keysyms /usr/include/X11/keysymdef.h + // v arrayu so modifierji: sama, dvigalka, zamenjalka znakov, dvigalka+zamenjalka znakov + // https://www.ubuntu.si/forum/discussion/3894/slovenjenje-tipk-na-tipkovnici + key <AC11> { [ braceleft, bracketleft, cacute, Cacute ] }; // { [ ć Ć + key <AC12> { [ zcaron, Zcaron, ssharp, Ssharp ] }; // ž Ž + key <AD12> { [ braceright, bracketright, dstroke, Dstroke ] }; // } ] dž DŽ + key <TLDE> { [ slash, ampersand, a, a ] }; // / & +}; |