summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2023-03-11 16:11:37 +0100
committerMarc Vertes <mvertes@free.fr>2023-03-11 16:11:37 +0100
commitabe00380ff8b708b890371c73116e1006ea05178 (patch)
treef4f626460464bcd2c4b05f1254aa4b66c6f4e1fc
parent5ce6dc90f8a078cfa46bdbba630ba07f0a167de6 (diff)
update
-rw-r--r--.bashrc8
-rw-r--r--.config/i3/config2
-rw-r--r--.i3status.conf9
-rwxr-xr-x.xsession6
-rwxr-xr-xbin/lt1
5 files changed, 17 insertions, 9 deletions
diff --git a/.bashrc b/.bashrc
index 739bdb2..23a8084 100644
--- a/.bashrc
+++ b/.bashrc
@@ -148,7 +148,7 @@ meteo() {
eval "$(direnv hook bash)"
#export GITHUB_TOKEN=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
-set -o vi
-bind -m vi-command ".":insert-last-argument
-bind -m vi-command 'Control-l: clear-screen'
-bind -m vi-insert 'Control-l: clear-screen'
+#set -o vi
+#bind -m vi-command ".":insert-last-argument
+#bind -m vi-command 'Control-l: clear-screen'
+#bind -m vi-insert 'Control-l: clear-screen'
diff --git a/.config/i3/config b/.config/i3/config
index 0c7c3d3..d898633 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -44,7 +44,7 @@ bindsym $mod+twosuperior exec --no-startup-id dunstctl history-pop
# pulse audio systray icon
-exec --no-startup-id pasystray
+# exec --no-startup-id pasystray
# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status
diff --git a/.i3status.conf b/.i3status.conf
index 6cc7210..31c0a8d 100644
--- a/.i3status.conf
+++ b/.i3status.conf
@@ -22,6 +22,7 @@ order += "disk /"
order += "cpu_usage"
#order += "load"
order += "memory"
+order += "volume master"
order += "cpu_temperature 0"
order += "tztime local"
@@ -33,7 +34,7 @@ read_file hostname {
wireless _first_ {
#format_up = "🌐 %essid %quality"
#format_up = "📶 %essid %quality"
- format_up = "📡 %essid %quality"
+ format_up = "📡 %essid %signal %bitrate"
format_down = "📡 down"
}
@@ -104,3 +105,9 @@ tztime local {
format = "%a %d %b %H:%M:%S"
#format = "📅 %a %d %b ⌚ %H:%M:%S"
}
+
+volume master {
+ format = "🎜 %volume"
+ format_muted = "🎜 mute (%volume)"
+ device = "pulse:alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink"
+}
diff --git a/.xsession b/.xsession
index 804c3cd..f4d42ec 100755
--- a/.xsession
+++ b/.xsession
@@ -10,7 +10,7 @@ eval $(ssh-agent)
xinput --set-prop 'SYNA7DAB:00 06CB:CD40 Touchpad' 'libinput Tapping Enabled' 1
xinput --set-prop 'SYNA7DAB:00 06CB:CD40 Touchpad' 'libinput Natural Scrolling Enabled' 1
-# Better use /etc/X11/xorg.conf.d/10-keyboard.conf to handle hot plugged keyboards
+# Better use /etc/X11/xorg.conf.d/10-keyboard.conf for hot plugged keyboards
#setxkbmap fr
#xk
hdmi
@@ -24,6 +24,6 @@ xsetroot -solid rgb:1/3/4
#slock
# Start window manager
-exec fvwm
-#exec i3
+#exec fvwm
+exec i3
#exec cwm
diff --git a/bin/lt b/bin/lt
index f09f3b7..2a182f7 100755
--- a/bin/lt
+++ b/bin/lt
@@ -36,6 +36,7 @@ ca() {
pp() {
pp_s=$1 pp_b=$2 R1=''
while true; do
+ ! [ "$pp_s" ] && R1='' && return
[ "$pp_b" = "$pp_s" ] && break
pp_s=${pp_s%/*}
[ "$R1" ] && R1=$R1/.. || R1=..