summaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-02-21 15:06:12 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-02-21 15:06:12 +0100
commitcf48c423dbe7e6cf24bf1475e34778c2e7c8e33e (patch)
tree0d5613dde38a1a9ae1ec9da69f5422b8d34f5bcd /root
parentcorrect locale actually export into env (diff)
downloadn-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
Diffstat (limited to 'root')
-rw-r--r--root/.Xmodmap5
-rwxr-xr-xroot/.xinitrc5
-rwxr-xr-xroot/.xprofile8
-rwxr-xr-xroot/posodobi.sh2
-rw-r--r--root/xkb/map7
-rw-r--r--root/xkb/symbols/sijanec11
6 files changed, 37 insertions, 1 deletions
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 ] }; // / &
+};