Update i3, sxhkd, picom and Xorg config

This commit is contained in:
2026-03-09 09:27:31 +01:00
parent f85ccc9dfb
commit f106352e40
4 changed files with 64 additions and 60 deletions

View File

@@ -60,7 +60,16 @@ Xft.rgba: rgb
** Cursor
#+BEGIN_SRC conf
Xcursor.theme: Breeze
Xcursor.size: 0
Xcursor.size: 24
#+END_SRC
** SXIV
#+BEGIN_SRC css
Nsxiv.window.background: #FFFFFF
Nsxiv.window.foreground: #d5c4a1
Nsxiv.bar.font: Hack-10
Nsxiv.bar.background: #fbf1c7
Nsxiv.bar.foreground: #32302f
#+END_SRC
* =xinitrc=
@@ -81,6 +90,20 @@ Set =DISPLAY= for =dunst= when started with =systemd=.
systemctl --user import-environment DISPLAY
#+end_src
Run some default scripts:
#+begin_src bash
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
#+end_src
#+begin_src bash
[ -f ~/.xprofile ] && . ~/.xprofile
#+end_src
Merge the defaults:
#+BEGIN_SRC bash
userresources=$HOME/.Xresources
@@ -105,20 +128,6 @@ if [ -f "$usermodmap" ]; then
fi
#+END_SRC
Run some default scripts:
#+begin_src bash
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
#+end_src
#+begin_src bash
[ -f ~/.xprofile ] && . ~/.xprofile
#+end_src
#+begin_src bash
exec i3
#+end_src
@@ -169,13 +178,13 @@ blueman-applet &
udiskie --notify --automount --tray &
# Japanese input
fcitx -d &
# fcitx -d &
#+end_src
Manually start =mopidy= as it seems to not start automatically:
#+begin_src bash
# Mopidy
mopidy --config ~/.config/mopidy/mopidy.conf >/dev/null 2>&1 &
~/.local/soft/mopidy-jellyfin/env/bin/mopidy >/tmp/mopidy.log 2>&1 &
#+end_src
Finally, run SXHKD for the key bindings: