summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bash-powerline.sh1
-rw-r--r--.bashrc3
-rw-r--r--.config/sway/config2
3 files changed, 4 insertions, 2 deletions
diff --git a/.bash-powerline.sh b/.bash-powerline.sh
index 6d2ee2d..c8f126a 100644
--- a/.bash-powerline.sh
+++ b/.bash-powerline.sh
@@ -73,6 +73,7 @@ __powerline() {
fi
local cwd="$COLOR_CWD\w$RESET"
+ # local cwd="\e]0;\W\a$COLOR_CWD\w$RESET"
# Bash by default expands the content of PS1 unless promptvars is disabled.
# We must use another layer of reference to prevent expanding any user
# provided strings, which would cause security issues.
diff --git a/.bashrc b/.bashrc
index 81bb994..a53f7b8 100644
--- a/.bashrc
+++ b/.bashrc
@@ -96,6 +96,9 @@ meteo() {
[ -f "/usr/share/fzf/completion.bash" ] && . "/usr/share/fzf/completion.bash"
[ -f "/usr/share/fzf/key-bindings.bash" ] && . "/usr/share/fzf/key-bindings.bash"
+# Print current command in terminal title
+trap 'printf "\e]2;$PWD: ${BASH_COMMAND/ps1/bash}\e"' DEBUG
+
# Display git status in prompt
. ~/.bash-powerline.sh
diff --git a/.config/sway/config b/.config/sway/config
index 5691848..76e0b49 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -13,8 +13,6 @@ exec dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
exec xset +fp /usr/share/fonts/misc
-exec light
-
### Variables
#
# Logo key. Use Mod1 for Alt.