diff options
author | Jack Sangdahl <[email protected]> | 2024-02-08 22:12:50 -0700 |
---|---|---|
committer | Jack Sangdahl <[email protected]> | 2024-02-08 22:12:50 -0700 |
commit | ccf9ea7b96125104d843c82a9e45bc1cda97ba19 (patch) | |
tree | 95943c46bd664c43ee520e27f21ae13a48879116 | |
parent | 52a470d68b1a4bd932fb2f475c9e92c2a6a2ec5d (diff) | |
download | dots-ccf9ea7b96125104d843c82a9e45bc1cda97ba19.tar.gz dots-ccf9ea7b96125104d843c82a9e45bc1cda97ba19.zip |
waybar network module & swaynag
-rwxr-xr-x[-rw-r--r--] | .config/scripts/mute_mac_chime.sh | 0 | ||||
-rwxr-xr-x | .config/scripts/network.sh | 7 | ||||
-rw-r--r-- | .config/sway/config | 10 | ||||
-rw-r--r-- | .config/swaynag/config | 10 | ||||
-rw-r--r-- | .config/waybar/config | 13 | ||||
-rw-r--r-- | .config/waybar/style.css | 4 | ||||
-rw-r--r-- | .pkglist_full.txt | 62 |
7 files changed, 46 insertions, 60 deletions
diff --git a/.config/scripts/mute_mac_chime.sh b/.config/scripts/mute_mac_chime.sh index a00c8e3e..a00c8e3e 100644..100755 --- a/.config/scripts/mute_mac_chime.sh +++ b/.config/scripts/mute_mac_chime.sh diff --git a/.config/scripts/network.sh b/.config/scripts/network.sh deleted file mode 100755 index 87c0bbc7..00000000 --- a/.config/scripts/network.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -wget -q --spider http://google.com -if [ $? -eq 0 ]; then - ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p' -else - echo "disconnected" -fi diff --git a/.config/sway/config b/.config/sway/config index 9af0e4b0..4f371a22 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -28,14 +28,6 @@ input "1452:588:bcm5974" { bindswitch lid:off exec gtklock -d -set $gnome-schema org.gnome.desktop.interface -exec_always { - gsettings set $gnome-schema gtk-theme 'nordic' -# gsettings set $gnome-schema icon-theme 'nord_icons' - gsettings set $gnome-schema cursor-theme 'nord_cursors_light' - gsettings set $gnome-schema font 'JetBrainsMono Nerd Font' -} - ### key bindings # applications @@ -64,7 +56,7 @@ bindsym XF86KbdBrightnessUp exec brightnessctl -q --device='smc::kbd_backlight # reload configuration file bindsym $mod+Shift+c reload # exit wayland session -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+Shift+e exec swaynag -m 'confirm exit?' -b 'exit' 'swaymsg exit' # change focused container bindsym $mod+$left focus left diff --git a/.config/swaynag/config b/.config/swaynag/config new file mode 100644 index 00000000..4ab05d40 --- /dev/null +++ b/.config/swaynag/config @@ -0,0 +1,10 @@ +edge=bottom +font=JetBrainsMono Nerd Font 10 + +[error] +background=3B4252 +border=BF616A +button-background=3B4252 +text=BF616A +button-text=BF616A +border-bottom-size=0 diff --git a/.config/waybar/config b/.config/waybar/config index 0820ba9a..96ac49bc 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -26,16 +26,15 @@ }, "custom/date": { "exec": "~/.config/scripts/date.sh", - "format": "\uf073 {}", - "interval": 60 + "format": "\uf073 {}" }, - "custom/wifi": { - "exec": "~/.config/scripts/network.sh", - "format": "\uf1eb {}", - "interval": 10 + "network": { + "format-wifi": "\uf1eb {ipaddr}", + "format-disconnected": "\uf52f disconnected", + "tooltip-format-wifi": "\uf1eb {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\n\uf093 {bandwidthUpBits} \uf019 {bandwidthDownBits}", }, "modules-center": ["sway/workspaces"], - "modules-left": ["custom/wifi", "battery", "temperature"], + "modules-left": ["network", "battery", "temperature"], "modules-right": ["pulseaudio", "custom/date", "clock"], "position": "top", "pulseaudio": { diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 9a270557..f634eea2 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -29,7 +29,7 @@ tooltip * { color: @white1; } -#custom-wifi, +#network, #battery, #temperature, #workspaces, @@ -46,7 +46,7 @@ tooltip * { #workspaces { background-color: @base01; } #clock { background-color: @base0E; } #custom-date { background-color: @base0D; } -#custom-wifi { background-color: @base0A; } +#network { background-color: @base0A; } #temperature { background-color: @base07; } #temperature.critical { background-color: @base0B; } #pulseaudio { background-color: @base0C; } diff --git a/.pkglist_full.txt b/.pkglist_full.txt index 714dbceb..8d47384f 100644 --- a/.pkglist_full.txt +++ b/.pkglist_full.txt @@ -58,16 +58,16 @@ yacc-1-r2 /var/db/pkg/app-arch: brotli-1.1.0 -bzip2-1.0.8-r4 +bzip2-1.0.8-r5 cpio-2.15 gzip-1.13 libarchive-3.7.2 ncompress-5.0-r1 tar-1.35 unzip-6.0_p27-r1 -xz-utils-5.4.6 +xz-utils-5.4.6-r1 zip-3.0-r7 -zstd-1.5.5 +zstd-1.5.5-r1 /var/db/pkg/app-crypt: gcr-3.41.1-r2 @@ -108,13 +108,13 @@ pax-utils-1.3.7 elt-patches-20240116 gemato-20.5 gentoolkit-0.6.5 -getuto-1.9.1 +getuto-1.10 portage-utils-0.96.1 /var/db/pkg/app-shells: bash-5.2_p26 zoxide-0.9.2 -zsh-5.9-r5 +zsh-5.9-r6 zsh-completions-0.34.0 /var/db/pkg/app-text: @@ -189,8 +189,8 @@ luajit-2.1.0_beta3_p20220613 mujs-1.3.4 nasm-2.16.01-r1 perl-5.38.2-r1 -python-3.11.7 -python-3.12.1_p1 +python-3.11.8 +python-3.12.2 python-exec-2.4.10 python-exec-conf-2.4.6 rust-bin-1.74.1 @@ -203,7 +203,7 @@ atk-2.46.0 date-3.0.0 dbus-glib-0.112 elfutils-0.190 -ell-0.61 +ell-0.62 expat-2.5.0 fribidi-1.0.13 girara-0.4.2 @@ -226,7 +226,7 @@ libevdev-1.13.1 libffi-3.4.4-r4 libfmt-9.1.0-r1 libgcrypt-1.10.3-r1 -libgit2-1.7.1 +libgit2-1.7.2 libgpg-error-1.47-r1 libgrapheme-2.0.2 libgudev-238-r1 @@ -236,14 +236,14 @@ libksba-1.6.5 libltdl-2.4.7-r1 libmpack-1.0.5-r5 libnl-3.9.0 -libpcre-8.45-r2 -libpcre2-10.42-r1 +libpcre-8.45-r3 +libpcre2-10.42-r2 libpipeline-1.5.7 libsigc++-2.12.0 libtasn1-4.19.0 libtermkey-0.22-r2 libunistring-1.1-r1 -libusb-1.0.27 +libusb-1.0.27-r1 libuv-1.47.0-r1 libvterm-0.3.3 libxml2-2.12.5 @@ -311,7 +311,7 @@ HTTP-Message-6.450.0 HTTP-Negotiate-6.10.0-r2 IO-HTML-1.4.0 IO-Socket-INET6-2.730.0 -IO-Socket-SSL-2.83.0 +IO-Socket-SSL-2.85.0 IPC-System-Simple-1.300.0 libwww-perl-6.720.0-r1 Log-Dispatch-2.710.0 @@ -328,7 +328,7 @@ MRO-Compat-0.150.0 namespace-autoclean-0.290.0 namespace-clean-0.270.0-r1 Net-HTTP-6.230.0 -Net-SSLeay-1.920.0-r1 +Net-SSLeay-1.940.0 Package-Stash-0.400.0 Package-Stash-XS-0.300.0 PadWalker-2.500.0 @@ -425,9 +425,6 @@ dconf-0.40.0 gnome-keyring-42.1-r2 librsvg-2.57.0 -/var/db/pkg/gnome-extra: -polkit-gnome-0.105-r2 - /var/db/pkg/gui-apps: grim-1.4.1 gtklock-2.1.0 @@ -467,10 +464,8 @@ alsa-ucm-conf-1.2.10-r1 fdk-aac-2.0.3 flac-1.4.3 fontconfig-2.15.0 -freeglut-3.4.0 freetype-2.13.2 gd-2.3.3-r4 -glu-9.0.3 harfbuzz-8.3.0 jbig2dec-0.19 lcms-2.16 @@ -521,7 +516,7 @@ libmnl-1.0.5 libnsl-2.0.1 libpsl-0.21.5 libssh2-1.11.0-r2 -libtirpc-1.3.4-r1 +libtirpc-1.3.4-r2 nghttp2-1.59.0 nodejs-20.11.0 @@ -530,7 +525,7 @@ mailutils-3.17 /var/db/pkg/net-misc: chrony-4.5 -curl-8.6.0 +curl-8.6.0-r1 dhcpcd-10.0.6-r1 iputils-20240117 netifrc-0.7.8 @@ -558,9 +553,9 @@ Test-Simple-1.302.196 openpgp-keys-gentoo-release-20230329 /var/db/pkg/sys-apps: -acl-2.3.2 -attr-2.5.2 -baselayout-2.14-r1 +acl-2.3.2-r1 +attr-2.5.2-r1 +baselayout-2.14-r2 bat-0.24.0 config-site-0 coreutils-9.4-r1 @@ -597,11 +592,11 @@ sandbox-2.38 sed-4.9 shadow-4.14.3 smartmontools-7.4 -systemd-utils-254.9 +systemd-utils-254.9-r1 sysvinit-3.08 texinfo-7.1-r1 usbutils-017 -util-linux-2.39.3-r1 +util-linux-2.39.3-r2 which-2.21 /var/db/pkg/sys-auth: @@ -644,7 +639,7 @@ patch-2.7.6-r5 intel-microcode-20231114_p20231114 /var/db/pkg/sys-fs: -e2fsprogs-1.47.0-r2 +e2fsprogs-1.47.0-r3 fuse-3.16.2 fuse-common-3.10.4 udev-init-scripts-35 @@ -661,16 +656,16 @@ compiler-rt-sanitizers-17.0.6 efivar-38 gdbm-1.23 glibc-2.38-r10 -libcap-2.69 +libcap-2.69-r1 libomp-17.0.6 libseccomp-2.5.5 libxcrypt-4.4.36-r2 mtdev-1.1.6 ncurses-6.4_p20230401 -pam-1.5.3 +pam-1.5.3-r1 readline-8.2_p10 timezone-data-2024a -zlib-1.3.1 +zlib-1.3.1-r1 /var/db/pkg/sys-power: acpi-1.7-r1 @@ -680,7 +675,7 @@ upower-1.90.2 /var/db/pkg/sys-process: gotop-4.2.0 -procps-4.0.4 +procps-4.0.4-r1 psmisc-23.6 /var/db/pkg/virtual: @@ -688,7 +683,6 @@ acl-0-r2 dev-manager-0-r2 editor-0-r7 freedesktop-icon-theme-0-r4 -glu-9.0-r2 libc-1-r1 libcrypt-2-r1 libelf-3-r1 @@ -700,7 +694,6 @@ logger-0-r1 mailx-4 man-0-r4 mta-1-r2 -opengl-7.0-r2 openssh-0 os-headers-0-r2 package-manager-1 @@ -764,7 +757,7 @@ ttf-fonts-1-r2 udev-217-r7 /var/db/pkg/www-client: -firefox-bin-122.0 +firefox-bin-122.0.1 /var/db/pkg/x11-apps: iceauth-1.0.9 @@ -834,7 +827,6 @@ shared-mime-info-2.4-r1 util-macros-1.20.0 xbitmaps-1.1.3 xdg-user-dirs-0.18 -xdg-user-dirs-gtk-0.11 xdg-utils-1.2.1 xkeyboard-config-2.40-r1 |