summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc5
-rw-r--r--.config/i3status/config2
-rw-r--r--.config/sway/config2
-rw-r--r--.xinitrc2
-rwxr-xr-xbin/tc4
5 files changed, 9 insertions, 6 deletions
diff --git a/.bashrc b/.bashrc
index dc6c3be..81bb994 100644
--- a/.bashrc
+++ b/.bashrc
@@ -5,12 +5,13 @@
export PAGER=less
export EDITOR=vim
-export HISTIGNORE='sudo id:uname:date:exit:df:ll:ls:ps:pwd:top:history'
+export HISTIGNORE='sudo id:uname:date:exit:df:ll:ls:ps:pwd:tc:top:history'
export HISTCONTROL=ignoreboth:erasedups # no start space and duplicate entries
export HISTSIZE=100000 # big big history
export HISTFILESIZE=100000 # big big history
-shopt -s histappend # append to history, don't overwrite it
stty -ixon # disable Ctrl-S
+shopt -s histappend # append to history, don't overwrite it
+shopt -s globstar
p() { [ -f "$1" -a ! -x "$1" ] && less -XF $1 || "$@" 2>&1 | less -XF ; }
export -f p
diff --git a/.config/i3status/config b/.config/i3status/config
index 2b53153..62f4a0d 100644
--- a/.config/i3status/config
+++ b/.config/i3status/config
@@ -93,7 +93,7 @@ memory {
}
cpu_temperature 0 {
- format = "🌡%degrees °C"
+ format = "🌡 %degrees °C"
path = "/sys/class/hwmon/hwmon2/temp1_input"
}
diff --git a/.config/sway/config b/.config/sway/config
index 1227919..76e0b49 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -11,6 +11,8 @@ exec /usr/libexec/pipewire-launcher
exec dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
# exec foot -s
+exec xset +fp /usr/share/fonts/misc
+
### Variables
#
# Logo key. Use Mod1 for Alt.
diff --git a/.xinitrc b/.xinitrc
index 999cd20..d7a4bd3 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -2,4 +2,4 @@
xhost + local:
xrdb .Xresources
xsetroot -solid rgb:1/3/4
-exec i3
+exec dbus-run-session i3
diff --git a/bin/tc b/bin/tc
index 50ae67f..12129af 100755
--- a/bin/tc
+++ b/bin/tc
@@ -16,5 +16,5 @@ color() {
}
color ${1:-$((RANDOM % 7))}
-printf '\E]11;'$bg'\E\'
-printf '\E]10;'${fg:-#000000}'\E\'
+printf '\E]11;'${bg:-#ffffff}'\E\' # Set background color.
+printf '\E]10;'${fg:-#000000}'\E\' # Set foreground color.