summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-03-22 07:49:52 +0100
committerAdam Stück <adam@adast.xyz>2023-04-28 20:31:52 +0200
commit1abce784cf269fd98ee5faa09e52ba642f2e61ec (patch)
tree716d9b1961dc7235c665747454f03d5f488bffac /.bash_profile
parentc1fae7c333a7c89347b1955e23aadae47e28f20f (diff)
switched from i3 to sway
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile20
1 files changed, 19 insertions, 1 deletions
diff --git a/.bash_profile b/.bash_profile
index 0f49328..804d837 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -39,5 +39,23 @@ export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_us=$'\E[1;32m'
-[[ $(fgconsole 2>/dev/null) == 1 ]] && exec startx "$XDG_CONFIG_HOME/X11/xinitrc" -- vt1 &> /dev/null
+export BEMENU_OPTS="--tb '#6272a4'\
+ --tf '#f8f8f2'\
+ --fb '#282a36'\
+ --ff '#f8f8f2'\
+ --nb '#282a36'\
+ --ab '#282a36'\
+ --hb '#44475a'\
+ --hf '#50fa7b'\
+ --sb '#44475a'\
+ --sf '#50fa7b'\
+ --scb '#282a36'\
+ --scf '#ff79c6'\
+ --fn 'JetBrainsMono Nerd Font 12'\
+ -n -b -l8"
+
+if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
+ exec sway
+fi
+
[[ -f ~/.bashrc ]] && . ~/.bashrc