From 7d91d0d4bfb72ff1d05408e0e9fc2ec4f8d4583f Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 25 Jan 2025 14:21:35 +0100 Subject: fixup --- .bashrc | 1 + .config/sway/config | 13 +++++- .i3status.conf | 113 ---------------------------------------------------- 3 files changed, 13 insertions(+), 114 deletions(-) delete mode 100644 .i3status.conf diff --git a/.bashrc b/.bashrc index c4bcc2f..e491cb7 100644 --- a/.bashrc +++ b/.bashrc @@ -88,6 +88,7 @@ alias gtb='go test -v -cpuprofile cpu.out -memprofile mem.out -benchmem -bench' alias ww='vi ~/Wiki/home_page.md' alias s='vi ~/Wiki/scratch.md' alias dotfiles='git --git-dir=$HOME/dotfiles --work-tree=$HOME' +alias apk='doas apk' #alias by='go build ./cmd/yaegi' #alias cy='cd ~/go/src/github.com/traefik/yaegi' diff --git a/.config/sway/config b/.config/sway/config index 3419359..6e94434 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -1,5 +1,9 @@ # xwayland disable +# Setup sound +exec /usr/libexec/pipewire-launcher +exec dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway + input * { xkb_layout "fr" } @@ -19,10 +23,12 @@ input "1739:52544:SYNA7DAB:00_06CB:CD40_Touchpad" { natural_scroll enabled } -font Monospace 9 +# font Monospace 9 +font pango:MiscFixedSC613 9 set $mod Mod4 +bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' bindsym $mod+q kill bindsym $mod+Return exec --no-startup-id foot #bindsym $mod+Return exec --no-startup-id xt @@ -32,6 +38,11 @@ bindsym $mod+Return exec --no-startup-id foot #bindsym $mod+d exec --no-startup-id wemenu-run bindsym $mod+d exec --no-startup-id fuzzel -T foot +# Use pactl to ajust volume in PulseAudio/PipeWire +bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -USR1 i3status +bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && pkill -USR1 i3status +bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -USR1 i3status + for_window [app_id="google-chrome"] floating enable for_window [class="firefox"] floating enable for_window [class="thunderbird"] floating enable diff --git a/.i3status.conf b/.i3status.conf deleted file mode 100644 index 31c0a8d..0000000 --- a/.i3status.conf +++ /dev/null @@ -1,113 +0,0 @@ -# i3status configuration file. -# see "man i3status" for documentation. - -# It is important that this file is edited as UTF-8. -# The following line should contain a sharp s: -# ß -# If the above line is not correctly displayed, fix your editor first! -# Some icon chars can be found at https://emojipedia.org/objects/ - -general { - colors = true - interval = 5 -} - -order += "read_file hostname" -#order += "ipv6" -order += "wireless _first_" -#order += "ethernet _first_" -order += "battery all" -order += "disk /" -#order += "disk /boot" -order += "cpu_usage" -#order += "load" -order += "memory" -order += "volume master" -order += "cpu_temperature 0" -order += "tztime local" - -read_file hostname { - format = "%content" - path = "/etc/hostname" -} - -wireless _first_ { - #format_up = "🌐 %essid %quality" - #format_up = "πŸ“Ά %essid %quality" - format_up = "πŸ“‘ %essid %signal %bitrate" - format_down = "πŸ“‘ down" -} - -ethernet _first_ { - format_up = "E: %ip (%speed)" - format_down = "E: down" -} - -# -battery all { - last_full_capacity = true - integer_battery_capacity = true -# format = "%status %percentage %remaining" - format = "%status %percentage %remaining %consumption" - status_chr = "βš‘πŸ”‹" - status_bat = "πŸ”‹" - status_unk = "? UNK" - status_full = "βš‘πŸ”‹" - threshold_type = "percentage" - low_threshold = 10 -} - -#battery 0 { -# format = "%status %percentage %remaining %emptytime" -# format_down = "No battery" -# status_chr = "CHR" -# status_bat = "BAT" -# status_unk = "UNK" -# status_full = "FULL" -# path = "/sys/class/power_supply/BAT%d/uevent" -# low_threshold = 10 -#} - -disk "/" { - #format = "πŸ“€ %avail" - #format = "πŸ’½ %avail" - format = "/ %avail av." -} - -disk "/boot" { - format = "/boot %avail" -} - -cpu_usage { - format = "CPU %usage" -} - -load { - format = "Load: %1min" -} - -memory { - format = "Mem %available av." - threshold_degraded = "1G" - format_degraded = "MEMORY < %available" -} - -cpu_temperature 0 { - format = "🌑%degrees Β°C" - #path = "/sys/class/hwmon/hwmon0/temp1_input" - #path = "/sys/class/hwmon/hwmon6/temp1_input" - #path = "/sys/class/hwmon/hwmon7/temp1_input" - #path = "/sys/class/hwmon/hwmon8/temp1_input" -} - -tztime local { - #format = "%Y-%m-%d %H:%M:%S" - 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" -} -- cgit v1.2.3 From a9501c0596574970a6f6eefad27be9327a67fa94 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 25 Jan 2025 14:53:09 +0100 Subject: cleanup --- .mutt/free | 8 ---- .mutt/muttrc | 68 ------------------------------ .otp_accounts.json.gpg | 49 --------------------- bin/icat | 8 ++-- casque/sennheiser_px100ii/ParametricEQ.txt | 11 ----- 5 files changed, 4 insertions(+), 140 deletions(-) delete mode 100644 .mutt/free delete mode 100644 .mutt/muttrc delete mode 100644 .otp_accounts.json.gpg delete mode 100644 casque/sennheiser_px100ii/ParametricEQ.txt diff --git a/.mutt/free b/.mutt/free deleted file mode 100644 index 4694401..0000000 --- a/.mutt/free +++ /dev/null @@ -1,8 +0,0 @@ -set folder = "~/Mail/free/" -set spoolfile = "+INBOX" -set postponed = "+Drafts" -set trash = "+Trash" -set record = "" - -set from = "mvertes@free.fr" -set realname = "Marc Vertes" diff --git a/.mutt/muttrc b/.mutt/muttrc deleted file mode 100644 index 817065b..0000000 --- a/.mutt/muttrc +++ /dev/null @@ -1,68 +0,0 @@ -set folder=~/Mail/free -set spoolfile=+/INBOX -set header_cache=~/.cache/mutt -auto_view text/html -alternative_order text/plain text/enriched text/html - -color normal black default - -color hdrdefault red default -color signature blue default -color indicator black brightyellow -color error brightred default -color status white blue -color tree red default # the thread tree in the index menu -color tilde magenta default -color message blue default -color markers cyan default -color attachment brightmagenta default -color search black green # how to hilite searches in the pager -color quoted blue default # quoted text -color quoted1 magenta default -color quoted2 red default -color quoted3 green default -color quoted4 cyan default -color quoted5 blue default -color quoted6 magenta default -color quoted7 red default -color quoted8 green default -color quoted9 cyan default -color underline brightgreen default -color index green default ~F - -color header red default ^(From|Subject): -# point out url's -color body black default "((ftp|http|https)://|(file|news):|www\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?" -color body cyan default [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses - -# smilies and the like -color body brightgreen default "<[Gg]>" -color body brightgreen default "<[Bb][Gg]>" -# see also the variables smileys -color body black yellow ">?[;:][-^]?[][)(><}{|/DP][)}]*" - -# -# Mono -# - -mono normal none # normal text -mono indicator reverse # actual message -mono tree none # thread arrows -mono status reverse # status line -#mono error bold -mono error standout -mono message none # info messages -mono quoted bold -mono signature none -mono attachment underline # MIME attachments -mono search reverse # search matches -mono tilde none # ~ at bottom of msg -mono markers bold # + at beginning of wrapped lines -mono hdrdefault none # default header lines -mono bold bold # hilite bold patterns in body -mono underline underline # hilite underlined patterns in body -mono header bold "^(from|subject):" -mono body underline "((ftp|http|https)://|(file|news):|www\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?" -mono body underline "[-a-z_0-9.]+@[-a-z_0-9.]+" -mono body bold "(^| )\\*[-a-z0-9Àâüß*]+\\*[,.?]?[ \n]" -mono body underline "(^| )_[-a-z0-9Àâüß_]+_[,.?]?[ \n]" diff --git a/.otp_accounts.json.gpg b/.otp_accounts.json.gpg deleted file mode 100644 index e99f48a..0000000 --- a/.otp_accounts.json.gpg +++ /dev/null @@ -1,49 +0,0 @@ ------BEG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azLa+FsgoROxSh -ZDO16Khr3hQ2bPf53Cj7FGJRUfmi3Jt/2na4rSrvjjhG6nNgZurIJE7ZW/ggIJ6f -GjdG0Ni8tzpTk5thI05gHDdY8JLZ/zwVZ1yUrhS5n9azDam2Oo+M4L20nxjrMnfE -nGNiYLZKpCn63y5W19eznm/8gPjp1Jh9UIhXrtii+a2rIXK9z6Y2a9oPqnxsO7s0 -dGgFLa/Wb7WHAfEmuJ5H0T+pRP22cVK7bxKvgRxhq8INTUCpm+I6dCXx3KU+v2XX -cp0/WK4KPDiEIlGjyVZBcF08wvmNG4yEtNqaJQ21FPrBE3reLq08gDdEvMdg5FDh -CPbexx0yoMiPU16SC7fPGo27j22OYQaWlMQBSA+951NWAMhdRY7c+5ehIO62aChn -/w7ww8Rxx6BBc4meBROtPnyCb4b/PMkWrmFp3h8qeUvvLKsxwrd32rglw332KrTz -F2Amnc7eiS9N7Y5uxjx6AOpIDyNovGpShY+ReFUp2kUnClMrQERz/gBF8SdFiBZj -Ud1V1FR7HoSp3rVpHUzv6c12DoyQiUkOOzJ6oCHV9NnOhB349wKtTpo671v5h6sK -dx6v9bCwKEFmRGZd6Vb+v7u0VY/t4I9iOQiGJm57Y0jUAS7HNxVMXEUgCrWXfzJh -T3enPB81c2Ohsp0FBVuxU+FucBY2B4h6qtcG3Uyne/Gq4TcWRYlt5/Em6IXojprm -0I6oD0UBjnXA -=OCjq ------END PGP MESSAGE----- diff --git a/bin/icat b/bin/icat index d363e09..118de7b 100755 --- a/bin/icat +++ b/bin/icat @@ -1,6 +1,6 @@ #!/bin/sh -e # Display images directly in terminal. -# Tested with xterm v361. Depends on imagemagick convert(1). +# Tested with xterm v361. Depends on magick(1). [ "$LC_TERMINAL" = iTerm2 ] && [ -x "$HOME/.iterm2/imgcat" ] && exec "$HOME/.iterm2/imgcat" "$@" @@ -25,7 +25,7 @@ clearline() { printf "\r \r" ms=$(maxsize) -# Use convert(1) from imagemagick to output sixel format. +# Use magick(1) from imagemagick to output sixel format. # -flatten uses the terminal background color as transparent layer # -resize use the terminal size as bounding box, with a limit of 1000 pixels # image is not resized if smaller than limit @@ -45,7 +45,7 @@ done shift $((OPTIND - 1)) [ "$#" = 0 -o "$#" = 1 -a "$1" = - ] && { - convert -resize "$ms>" - sixel:- + magick - -resize "$ms>" sixel:- exit } @@ -58,5 +58,5 @@ for f; do [ "$clear" ] && clear clearline $put "%s\n" "$f" - convert -resize "$ms>" -- "$f" sixel:- + magick "$f" -resize "$ms>" sixel:- done diff --git a/casque/sennheiser_px100ii/ParametricEQ.txt b/casque/sennheiser_px100ii/ParametricEQ.txt deleted file mode 100644 index eed7ac5..0000000 --- a/casque/sennheiser_px100ii/ParametricEQ.txt +++ /dev/null @@ -1,11 +0,0 @@ -Preamp: -6.5 dB -Filter 1: ON PK Fc 23 Hz Gain 6.3 dB Q 0.95 -Filter 2: ON PK Fc 162 Hz Gain -3.6 dB Q 0.66 -Filter 3: ON PK Fc 6208 Hz Gain 4.1 dB Q 3.63 -Filter 4: ON PK Fc 7884 Hz Gain 4.8 dB Q 2.31 -Filter 5: ON PK Fc 20428 Hz Gain 2.2 dB Q 0.14 -Filter 6: ON PK Fc 685 Hz Gain 0.9 dB Q 1.75 -Filter 7: ON PK Fc 1940 Hz Gain -2.8 dB Q 1.56 -Filter 8: ON PK Fc 2635 Hz Gain 3.4 dB Q 3.46 -Filter 9: ON PK Fc 3997 Hz Gain 3.0 dB Q 2.57 -Filter 10: ON PK Fc 4436 Hz Gain -5.7 dB Q 6.16 -- cgit v1.2.3 From 5c93d0569a8cd982065b46799e13ee560987fdda Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 25 Jan 2025 15:17:37 +0100 Subject: fix i3status --- .config/i3status/config | 110 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 .config/i3status/config diff --git a/.config/i3status/config b/.config/i3status/config new file mode 100644 index 0000000..ffc36ed --- /dev/null +++ b/.config/i3status/config @@ -0,0 +1,110 @@ +# i3status configuration file. +# see "man i3status" for documentation. + +# It is important that this file is edited as UTF-8. +# The following line should contain a sharp s: +# ß +# If the above line is not correctly displayed, fix your editor first! +# Some icon chars can be found at https://emojipedia.org/objects/ + +general { + colors = true + interval = 5 +} + +#order += "read_file hostname" +#order += "ipv6" +order += "wireless _first_" +#order += "ethernet _first_" +order += "battery all" +order += "disk /" +#order += "disk /boot" +order += "cpu_usage" +#order += "load" +order += "memory" +order += "cpu_temperature 0" +order += "volume master" +order += "tztime local" + +read_file hostname { + format = "%content" + path = "/etc/hostname" +} + +wireless _first_ { + #format_up = "🌐 %essid %quality" + #format_up = "πŸ“Ά %essid %quality" + format_up = "πŸ“‘ %essid %signal %bitrate" + format_down = "πŸ“‘ down" +} + +ethernet _first_ { + format_up = "E: %ip (%speed)" + format_down = "E: down" +} + +# +battery all { + last_full_capacity = true + integer_battery_capacity = true +# format = "%status %percentage %remaining" + format = "%status %percentage %remaining %consumption" + status_chr = "βš‘πŸ”‹" + status_bat = "πŸ”‹" + status_unk = "? UNK" + status_full = "βš‘πŸ”‹" + threshold_type = "percentage" + low_threshold = 10 +} + +#battery 0 { +# format = "%status %percentage %remaining %emptytime" +# format_down = "No battery" +# status_chr = "CHR" +# status_bat = "BAT" +# status_unk = "UNK" +# status_full = "FULL" +# path = "/sys/class/power_supply/BAT%d/uevent" +# low_threshold = 10 +#} + +disk "/" { + #format = "πŸ“€ %avail" + #format = "πŸ’½ %avail" + format = "/ %avail av." +} + +disk "/boot" { + format = "/boot %avail" +} + +cpu_usage { + format = "CPU %usage" +} + +load { + format = "Load: %1min" +} + +memory { + format = "Mem %available av." + threshold_degraded = "1G" + format_degraded = "MEMORY < %available" +} + +cpu_temperature 0 { + format = "🌑 %degrees Β°C" + path = "/sys/class/hwmon/hwmon2/temp1_input" +} + +tztime local { + #format = "%Y-%m-%d %H:%M:%S" + format = "%a %d %b %H:%M:%S" + #format = "πŸ“… %a %d %b ⌚ %H:%M:%S" +} + +volume master { + format = "πŸ”ˆ %volume" + format_muted = "πŸ”ˆ mute (%volume)" + device = "default" +} -- cgit v1.2.3 From 983dfbf6205eeeb81d089f7ede89fe437ec40bde Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 25 Jan 2025 15:26:44 +0100 Subject: fix temp sensor --- .config/i3status/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/i3status/config b/.config/i3status/config index ffc36ed..9dd4445 100644 --- a/.config/i3status/config +++ b/.config/i3status/config @@ -94,7 +94,7 @@ memory { cpu_temperature 0 { format = "🌑 %degrees Β°C" - path = "/sys/class/hwmon/hwmon2/temp1_input" + path = "/sys/class/thermal/thermal_zone0/temp" } tztime local { -- cgit v1.2.3 From 167120d35ccc14d36d8d80c230407719d542ba93 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 25 Jan 2025 15:42:00 +0100 Subject: fix temp --- .config/i3status/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/i3status/config b/.config/i3status/config index 9dd4445..f729edc 100644 --- a/.config/i3status/config +++ b/.config/i3status/config @@ -94,7 +94,7 @@ memory { cpu_temperature 0 { format = "🌑 %degrees Β°C" - path = "/sys/class/thermal/thermal_zone0/temp" + path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input" } tztime local { -- cgit v1.2.3 From 99e428ee11a6295b5f519e189ce17dc5d610540e Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 25 Jan 2025 15:48:07 +0100 Subject: fix temp sensor --- .config/i3status/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/i3status/config b/.config/i3status/config index f729edc..b939eac 100644 --- a/.config/i3status/config +++ b/.config/i3status/config @@ -94,7 +94,7 @@ memory { cpu_temperature 0 { format = "🌑 %degrees Β°C" - path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input" + path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp1_input" } tztime local { -- cgit v1.2.3 From 946222b5cc2a72a16b6f053dc67332625869ff55 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 25 Jan 2025 16:36:18 +0100 Subject: fix temp --- .config/i3status/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/i3status/config b/.config/i3status/config index b939eac..0cea047 100644 --- a/.config/i3status/config +++ b/.config/i3status/config @@ -94,7 +94,7 @@ memory { cpu_temperature 0 { format = "🌑 %degrees Β°C" - path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp1_input" + path = "/sys/devices/platform/coretemp.0/hwmon/hwmon*/temp?_input" } tztime local { -- cgit v1.2.3 From 825677d14f75673f34ce63fc888a446af55b1ae4 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 25 Jan 2025 16:48:55 +0100 Subject: fix sound --- .config/sway/config | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 6e94434..e014f3a 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -39,9 +39,12 @@ bindsym $mod+Return exec --no-startup-id foot bindsym $mod+d exec --no-startup-id fuzzel -T foot # Use pactl to ajust volume in PulseAudio/PipeWire -bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -USR1 i3status +bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -USR1 i3status bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && pkill -USR1 i3status -bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -USR1 i3status +bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -USR1 i3status +bindsym F9 exec pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -USR1 i3status +bindsym F10 exec pactl set-sink-volume @DEFAULT_SINK@ -5% && pkill -USR1 i3status +bindsym F11 exec pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -USR1 i3status for_window [app_id="google-chrome"] floating enable for_window [class="firefox"] floating enable -- cgit v1.2.3