From cf48c423dbe7e6cf24bf1475e34778c2e7c8e33e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Tue, 21 Feb 2023 15:06:12 +0100 Subject: x+binpkg --- root/.Xmodmap | 5 +++++ root/.xinitrc | 5 +++++ root/.xprofile | 8 ++++++++ root/posodobi.sh | 2 +- root/xkb/map | 7 +++++++ root/xkb/symbols/sijanec | 11 +++++++++++ 6 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 root/.Xmodmap create mode 100755 root/.xinitrc create mode 100755 root/.xprofile create mode 100644 root/xkb/map create mode 100644 root/xkb/symbols/sijanec (limited to 'root') 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 { [ braceleft, bracketleft, cacute, Cacute ] }; // { [ ć Ć + key { [ zcaron, Zcaron, ssharp, Ssharp ] }; // ž Ž + key { [ braceright, bracketright, dstroke, Dstroke ] }; // } ] dž DŽ + key { [ slash, ampersand, a, a ] }; // / & +}; -- cgit v1.2.3