From 7a2d8666e7dfbfa7318ab78c376e43d2894711eb Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Wed, 29 Mar 2023 14:56:00 +0200 Subject: [PATCH] added .xprofile for pipewire on gentoo; updates --- .bashrc | 1 + .config/ranger/rc.conf | 2 +- .xinitrc | 8 +++----- .xprofile | 2 ++ 4 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 .xprofile diff --git a/.bashrc b/.bashrc index 2e2aba5..2ad137d 100644 --- a/.bashrc +++ b/.bashrc @@ -132,6 +132,7 @@ alias cal="cal -m" set -o vi # vim keybinding in terminal EDITOR=vim # prefered editor stty -ixon # reverse i search bash +complete -cf doas # doas completion alias ls="ls --color=auto" alias ll="ls -lFh" alias la="ls -alh" diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index 5fbf94e..c2db43d 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -1,3 +1,3 @@ set preview_images true -set preview_images alacritty +set preview_images_method ueberzug diff --git a/.xinitrc b/.xinitrc index 679967e..1a8a342 100644 --- a/.xinitrc +++ b/.xinitrc @@ -1,5 +1,8 @@ #!/bin/bash +# Make sure this is before the 'exec' command or it won't be sourced. +# [ -f /etc/xprofile ] && . /etc/xprofile +[ -f ~/.xprofile ] && . ~/.xprofile #[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources feh --bg-center "$HOME/Pictures/bg.png" & @@ -8,13 +11,8 @@ feh --bg-center "$HOME/Pictures/bg.png" & #pipewire & #pipewire-pulse & -#gentoo-pipewire-launcher & dwmblocks & -#while true; do -# $HOME/.scripts/batterycheck -# sleep 30 -#done & while true; do exec dbus-launch --sh-syntax --exit-with-session dwm diff --git a/.xprofile b/.xprofile new file mode 100644 index 0000000..51d6a72 --- /dev/null +++ b/.xprofile @@ -0,0 +1,2 @@ +gentoo-pipewire-launcher & +