summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
author--global <ik.boikov.public@protonmail.com>2021-12-19 12:03:01 +0100
committer--global <ik.boikov.public@protonmail.com>2021-12-19 12:03:01 +0100
commit25b613f755424edad38ab7616365bb618237b9fe (patch)
tree46a18fb58fe6ae487be7568da93c813d7268e30e /x11
parent6c02d1695a7d31e4a660f25df848f938f5f08da4 (diff)
migration to dwm; home cleanup
Diffstat (limited to 'x11')
l---------x11/.config/x11/.xsessionrc1
-rw-r--r--x11/.config/x11/xcompose58
-rwxr-xr-xx11/.config/x11/xinitrc28
-rw-r--r--x11/.config/x11/xprofile10
-rwxr-xr-x[l---------]x11/.xinitrc31
l---------x11/.xprofile1
6 files changed, 128 insertions, 1 deletions
diff --git a/x11/.config/x11/.xsessionrc b/x11/.config/x11/.xsessionrc
new file mode 120000
index 0000000..8d8c6b0
--- /dev/null
+++ b/x11/.config/x11/.xsessionrc
@@ -0,0 +1 @@
+../../../shell/.config/shell/profile \ No newline at end of file
diff --git a/x11/.config/x11/xcompose b/x11/.config/x11/xcompose
new file mode 100644
index 0000000..9e04b68
--- /dev/null
+++ b/x11/.config/x11/xcompose
@@ -0,0 +1,58 @@
+include "%L"
+
+# GREEK CAPITAL LETTERS
+<Multi_key> <G> <A> : "Α" U0391 # GREEK CAPITAL LETTER ALPHA
+<Multi_key> <G> <B> : "Β" U0392 # GREEK CAPITAL LETTER BETA
+<Multi_key> <G> <G> : "Γ" U0393 # GREEK CAPITAL LETTER GAMMA
+<Multi_key> <G> <D> : "Δ" U0394 # GREEK CAPITAL LETTER DELTA
+<Multi_key> <G> <E> : "Ε" U0395 # GREEK CAPITAL LETTER EPSILON
+<Multi_key> <G> <Z> : "Ζ" U0396 # GREEK CAPITAL LETTER ZETA
+<Multi_key> <G> <H> : "Η" U0397 # GREEK CAPITAL LETTER ETA
+<Multi_key> <G> <I> : "Ι" U0399 # GREEK CAPITAL LETTER IOTA
+<Multi_key> <G> <K> : "Κ" U039A # GREEK CAPITAL LETTER KAPPA
+<Multi_key> <G> <L> : "Λ" U039B # GREEK CAPITAL LETTER LAMDA
+<Multi_key> <G> <M> : "Μ" U039C # GREEK CAPITAL LETTER MU
+<Multi_key> <G> <N> : "Ν" U039D # GREEK CAPITAL LETTER NU
+<Multi_key> <G> <P> : "Π" U03A0 # GREEK CAPITAL LETTER PI
+<Multi_key> <G> <R> : "Ρ" U03A1 # GREEK CAPITAL LETTER RHO
+<Multi_key> <G> <S> : "Σ" U03A3 # GREEK CAPITAL LETTER SIGMA
+<Multi_key> <G> <T> : "Τ" U03A4 # GREEK CAPITAL LETTER TAU
+<Multi_key> <G> <U> : "Υ" U03A5 # GREEK CAPITAL LETTER UPSILON
+<Multi_key> <G> <F> : "Φ" U03A6 # GREEK CAPITAL LETTER PHI
+<Multi_key> <G> <X> : "Χ" U03A7 # GREEK CAPITAL LETTER CHI
+<Multi_key> <G> <O> : "Ω" U03A9 # GREEK CAPITAL LETTER OMEGA
+
+# DOUBLES (additional stroke <Q>)
+<Multi_key> <G> <Q> <T> : "Θ" U0398 # GREEK CAPITAL LETTER THETA
+<Multi_key> <G> <Q> <O> : "Ο" U039F # GREEK CAPITAL LETTER OMICRON
+<Multi_key> <G> <Q> <X> : "Ξ" U039E # GREEK CAPITAL LETTER XI
+<Multi_key> <G> <Q> <P> : "Ψ" U03A8 # GREEK CAPITAL LETTER PSI
+
+# greek small letters
+<Multi_key> <g> <a> : "α" U03B1 # GREEK SMALL LETTER ALPHA
+<Multi_key> <g> <b> : "β" U03B2 # GREEK SMALL LETTER BETA
+<Multi_key> <g> <g> : "γ" U03B3 # GREEK SMALL LETTER GAMMA
+<Multi_key> <g> <d> : "δ" U03B4 # GREEK SMALL LETTER DELTA
+<Multi_key> <g> <e> : "ε" U03B5 # GREEK SMALL LETTER EPSILON
+<Multi_key> <g> <z> : "ζ" U03B6 # GREEK SMALL LETTER ZETA
+<Multi_key> <g> <h> : "η" U03B7 # GREEK SMALL LETTER ETA
+<Multi_key> <g> <i> : "ι" U03B9 # GREEK SMALL LETTER IOTA
+<Multi_key> <g> <k> : "κ" U03BA # GREEK SMALL LETTER KAPPA
+<Multi_key> <g> <l> : "λ" U03BB # GREEK SMALL LETTER LAMDA
+<Multi_key> <g> <m> : "μ" U03BC # GREEK SMALL LETTER MU
+<Multi_key> <g> <n> : "ν" U03BD # GREEK SMALL LETTER NU
+<Multi_key> <g> <p> : "π" U03C0 # GREEK SMALL LETTER PI
+<Multi_key> <g> <r> : "ρ" U03C1 # GREEK SMALL LETTER RHO
+<Multi_key> <g> <s> : "σ" U03C3 # GREEK SMALL LETTER SIGMA
+<Multi_key> <g> <t> : "τ" U03C4 # GREEK SMALL LETTER TAU
+<Multi_key> <g> <u> : "υ" U03C5 # GREEK SMALL LETTER UPSILON
+<Multi_key> <g> <f> : "φ" U03C6 # GREEK SMALL LETTER PHI
+<Multi_key> <g> <x> : "χ" U03C7 # GREEK SMALL LETTER CHI
+<Multi_key> <g> <o> : "ω" U03C9 # GREEK SMALL LETTER OMEGA
+
+# doubles (additional stroke <q>)
+<Multi_key> <g> <q> <t> : "θ" U03B8 # GREEK SMALL LETTER THETA
+<Multi_key> <g> <q> <o> : "ο" U03BF # GREEK SMALL LETTER OMICRON
+<Multi_key> <g> <q> <p> : "ψ" U03C8 # GREEK SMALL LETTER PSI
+<Multi_key> <g> <q> <s> : "ς" U03C2 # GREEK SMALL LETTER FINAL SIGMA
+<Multi_key> <g> <q> <x> : "ξ" U03BE # GREEK SMALL LETTER XI
diff --git a/x11/.config/x11/xinitrc b/x11/.config/x11/xinitrc
new file mode 100755
index 0000000..5fa14ab
--- /dev/null
+++ b/x11/.config/x11/xinitrc
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+# xinitrc runs automatically when you run startx.
+
+# There are some small but important commands that need to be run when we start
+# the graphical environment. There is a link to this file in ~/.xprofile
+# because that file is run automatically if someone uses a display manager
+# (login screen) and so they are needed there. To prevent doubling up commands,
+# I source them here with the line below.
+
+if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then
+ . "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile"
+else
+ . "$HOME/.xprofile"
+fi
+
+picom &
+firefox &
+# delay thunderbird to allow protonmail initialize and avoid thunderbirds' "no connection to 127.0.0.1"
+protonmail-bridge --no-window & ( sleep 5 && thunderbird & )
+signal-desktop &
+telegram-desktop &
+redshift -l40:2 &
+syncthing &
+xfce4-power-manager &
+
+
+/usr/bin/dwm
diff --git a/x11/.config/x11/xprofile b/x11/.config/x11/xprofile
new file mode 100644
index 0000000..a2752ab
--- /dev/null
+++ b/x11/.config/x11/xprofile
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# This file runs when a DM logs you into a graphical session.
+# If you use startx/xinit like a Chad, this file will also be sourced.
+
+setbg & # set the background with the `setbg` script
+#xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & # Uncomment to use Xresources colors/settings on startup
+mpd & # music player daemon-you might prefer it as a service though
+remaps & # setting keyboard layout and more; check it for more info
+dunst & # dunst for notifications
diff --git a/x11/.xinitrc b/x11/.xinitrc
index 518bb5d..17c5c88 120000..100755
--- a/x11/.xinitrc
+++ b/x11/.xinitrc
@@ -1 +1,30 @@
-.config/x11/xinitrc \ No newline at end of file
+#!/bin/sh
+
+# xinitrc runs automatically when you run startx.
+
+# There are some small but important commands that need to be run when we start
+# the graphical environment. There is a link to this file in ~/.xprofile
+# because that file is run automatically if someone uses a display manager
+# (login screen) and so they are needed there. To prevent doubling up commands,
+# I source them here with the line below.
+
+if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then
+ . "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile"
+else
+ . "$HOME/.xprofile"
+fi
+
+setbg &
+
+picom &
+firefox &
+# delay thunderbird to allow protonmail initialize and avoid thunderbirds' "no connection to 127.0.0.1"
+protonmail-bridge --no-window & ( sleep 5 && thunderbird & )
+signal-desktop &
+telegram-desktop &
+redshift -l40:2 &
+syncthing &
+xfce4-power-manager &
+
+
+/usr/bin/dwm
diff --git a/x11/.xprofile b/x11/.xprofile
new file mode 120000
index 0000000..61f87a7
--- /dev/null
+++ b/x11/.xprofile
@@ -0,0 +1 @@
+.config/x11/xprofile \ No newline at end of file