usr

Modulate your userpace into POSIX-compliant shell scripts!
git clone git://clone.theohenson.com/usr.git
Log | Files | Refs | README

commit 9fd4ce4d4e08af78eb04dc8caf92b1b3ac6675ec
parent 692e07dfaa431456ee8321b8024a4122f06dcd79
Author: Theo Henson <[email protected]>
Date:   Tue, 31 Aug 2021 12:02:42 -0400

dbus, rss, coc.nvim

Diffstat:
Mhome/.bash_profile | 1+
Mhome/.config/newsboat/urls | 2++
Mhome/.config/nvim/coc-settings.json | 2+-
Mhome/.profile | 1+
Mhome/.xinitrc | 2++
5 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/home/.bash_profile b/home/.bash_profile @@ -4,6 +4,7 @@ if [[ -z $DISPLAY ]] ; then # create bus daemon if it does not exist if [[ -z "$DBUS_SESSION_BUS_ADDRESS" ]] ; then + touch ~/a eval "$(runif dbus-launch --sh-syntax)" fi diff --git a/home/.config/newsboat/urls b/home/.config/newsboat/urls @@ -1,6 +1,8 @@ ------------ blog/podcasts: ------ +https://theohenson.com/rss.xml "~Me RSS" +https://theohenson.com/atom.xml "~Me Atom" https://geohot.github.io/blog/feed.xml ~geohot https://lukesmith.xyz/rss.xml "~Luke Smith" https://hexdsl.co.uk/rss.xml "~Hex DSL" diff --git a/home/.config/nvim/coc-settings.json b/home/.config/nvim/coc-settings.json @@ -1,4 +1,4 @@ { "suggest.noselect": true, - "clangd.path": "/home/theo/.config/coc/extensions/coc-clangd-data/install/10.0.0/clangd_10.0.0/bin/clangd" + "clangd.path": "~/.config/coc/extensions/coc-clangd-data/install/12.0.1/clangd_12.0.1/bin/clangd" } diff --git a/home/.profile b/home/.profile @@ -10,6 +10,7 @@ runif() { export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" export XDG_CACHE_HOME="$HOME/.cache" +export XDG_RUNTIME_DIR="/run/user/`id -u`" # these are the values used in ~/.config/user-dirs.dirs to set locations # put here for clarity diff --git a/home/.xinitrc b/home/.xinitrc @@ -8,6 +8,8 @@ runif() { # configure x if [ "$(hostname)" = "talos" ] ; then + export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus" + dbus-update-activation-environment --verbose --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY xrandr --output HDMI-A-0 --mode 1920x1080 --pos 0x840 --rotate normal \ --output DisplayPort-2 --mode 1920x1080 --pos 1920x0 --rotate left --gamma 0.8:0.8:0.8 fi