xresources fiddle

This commit is contained in:
rileyrg 2021-05-19 13:59:05 +02:00
parent 99674ad65b
commit 6565756b51
3 changed files with 25 additions and 7 deletions

View file

@ -70,7 +70,7 @@ If using startx on debian this is taken care of by the system XSession loading e
\`-—
<a id="org3ce9702"></a>
<a id="orga718cdc"></a>
## ~/.profile
@ -123,7 +123,7 @@ fi
```
<a id="org678e47b"></a>
<a id="org72e7e10"></a>
## ~/.bash\_profile
@ -612,6 +612,9 @@ export SWAYSOCK=$(ls /run/user/$(id -u)/sway-*)
## ~/.Xresources
### resource file
X11 apps still need resource definitions when launched under XWayland.
```conf
@ -645,6 +648,13 @@ Xft.dpi: 188
```
### sway integration
```conf
exec xrdb -merge ~/.Xresources
```
## Sway config
@ -652,7 +662,6 @@ Xft.dpi: 188
```conf
#exec systemctl --user set-environment SWAYSOCK=$SWAYSOCK
exec xrdb -merge ~/.Xresources
exec sway-kanshi
exec swaybg -i ~/Pictures/Wallpapers/current
exec sway-idle-hook
@ -2181,7 +2190,7 @@ e dbg.bep=main
export PATH="${HOME}/.pyenv/bin":"${PATH}"
```
2. [Eval](#org678e47b) pyenv init from bash\_profile in order to set python version
2. [Eval](#org72e7e10) pyenv init from bash\_profile in order to set python version
```bash
eval "$(pyenv init -)"
@ -2193,7 +2202,7 @@ e dbg.bep=main
eval "$(pyenv virtualenv-init -)"
```
Added to PATH in [~/.profile](#org3ce9702)
Added to PATH in [~/.profile](#orga718cdc)
### Debuggers :debuggers:

View file

@ -1,5 +1,6 @@
#exec systemctl --user set-environment SWAYSOCK=$SWAYSOCK
exec xrdb -merge ~/.Xresources
#exec systemctl --user set-environment SWAYSOCK=$SWAYSOCK
exec sway-kanshi
exec swaybg -i ~/Pictures/Wallpapers/current
exec sway-idle-hook

View file

@ -1167,6 +1167,7 @@ Set keyboard layout.
export SWAYSOCK=$(ls /run/user/$(id -u)/sway-*)
#+end_src
** ~/.Xresources
*** resource file
X11 apps still need resource definitions when launched under XWayland.
#+begin_src conf :tangle "DotFiles/.Xresources"
! Use a truetype font and size.
@ -1197,6 +1198,14 @@ X11 apps still need resource definitions when launched under XWayland.
#endif
! }}}
#+end_src
*** sway integration
:PROPERTIES:
:header-args:conf: :tangle "~/.config/sway/config"
:ID: 28b74638-3fc4-499c-bb15-3360f58bccae
:END:
#+begin_src conf
exec xrdb -merge ~/.Xresources
#+end_src
** Sway config
:PROPERTIES:
@ -1206,7 +1215,6 @@ X11 apps still need resource definitions when launched under XWayland.
*** sway autostart
#+begin_src conf
#exec systemctl --user set-environment SWAYSOCK=$SWAYSOCK
exec xrdb -merge ~/.Xresources
exec sway-kanshi
exec swaybg -i ~/Pictures/Wallpapers/current
exec sway-idle-hook