diff options
| author | jason | 2023-09-16 16:51:04 -0600 |
|---|---|---|
| committer | jason | 2023-09-16 16:51:04 -0600 |
| commit | 02e04d2d142d9e43881a2f893fcdeec19b461626 (patch) | |
| tree | d6f805cbab1aea5dd27298d1f1c82d3ab360947f /i3 | |
| parent | 9ce765451ed177619a7220ea8231462306956a12 (diff) | |
| download | dotfiles-02e04d2d142d9e43881a2f893fcdeec19b461626.tar.gz dotfiles-02e04d2d142d9e43881a2f893fcdeec19b461626.zip | |
openbsd updates
Diffstat (limited to 'i3')
| -rw-r--r-- | i3/.config/i3/config | 12 | ||||
| -rw-r--r-- | i3/.i3status.conf | 16 |
2 files changed, 19 insertions, 9 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 59c1f9f..19a60cd 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config | |||
| @@ -161,9 +161,15 @@ bindsym $mod+r mode "resize" | |||
| 161 | # system76: apt install brightnessctl | 161 | # system76: apt install brightnessctl |
| 162 | # bindsym XF86MonBrightnessDown | 162 | # bindsym XF86MonBrightnessDown |
| 163 | # bindsym XF86MonBrightnessUp | 163 | # bindsym XF86MonBrightnessUp |
| 164 | bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2% | 164 | |
| 165 | bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2% | 165 | # For OpenBSD |
| 166 | bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle #&& pactl list sinks | grep '^[[:space:]]Volume:' | head -n $(( $( pactl list short sinks | sed -e 's,^\([0-9][0-9]*\)[^0-9].*,\1,' | head -n 1 ) + 1 )) | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,' > $SWAYSOCK.wob | 166 | bindsym XF86AudioLowerVolume exec sndioctl output.level=-0.5 |
| 167 | bindsym XF86AudioRaiseVolume exec sndioctl output.level=+0.5 | ||
| 168 | bindsym XF86AudioMute exec sndioctl output.mute=! | ||
| 169 | # For Linux/PulseAudio: | ||
| 170 | #bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2% | ||
| 171 | #bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2% | ||
| 172 | #bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle #&& pactl list sinks | grep '^[[:space:]]Volume:' | head -n $(( $( pactl list short sinks | sed -e 's,^\([0-9][0-9]*\)[^0-9].*,\1,' | head -n 1 ) + 1 )) | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,' > $SWAYSOCK.wob | ||
| 167 | bindsym $alt+Shift+4 exec "flameshot gui" | 173 | bindsym $alt+Shift+4 exec "flameshot gui" |
| 168 | bindsym $alt+$ctrl+v exec "diodon" | 174 | bindsym $alt+$ctrl+v exec "diodon" |
| 169 | 175 | ||
diff --git a/i3/.i3status.conf b/i3/.i3status.conf index 9af020b..5a91729 100644 --- a/i3/.i3status.conf +++ b/i3/.i3status.conf | |||
| @@ -1,15 +1,19 @@ | |||
| 1 | general { | 1 | general { |
| 2 | # output_format = "xmobar" | 2 | # output_format = "xmobar" |
| 3 | output_format = "i3bar" | ||
| 4 | color_good = "#468f3d" | ||
| 5 | color_degraded = "#E5871F" | ||
| 6 | color_bad = "#C83839" | ||
| 3 | colors = true | 7 | colors = true |
| 4 | interval = 5 | 8 | interval = 5 |
| 5 | } | 9 | } |
| 6 | 10 | ||
| 7 | order += "ipv6" | 11 | # order += "ipv6" |
| 8 | order += "disk /" | 12 | # order += "disk /" |
| 9 | order += "run_watch DHCP" | 13 | # order += "run_watch DHCP" |
| 10 | order += "run_watch VPN" | 14 | order += "run_watch VPN" |
| 11 | order += "wireless _first_" | 15 | order += "wireless _first_" |
| 12 | order += "ethernet _first_" | 16 | # order += "ethernet _first_" |
| 13 | order += "battery 0" | 17 | order += "battery 0" |
| 14 | order += "load" | 18 | order += "load" |
| 15 | order += "volume master" | 19 | order += "volume master" |
| @@ -30,10 +34,10 @@ ethernet _first_ { | |||
| 30 | battery 0 { | 34 | battery 0 { |
| 31 | format = "%status %percentage %remaining" | 35 | format = "%status %percentage %remaining" |
| 32 | format_down = "No battery" | 36 | format_down = "No battery" |
| 33 | status_chr = "⚡ CHR" | 37 | status_chr = "🔌 CHR" |
| 34 | status_bat = "🔋 BAT" | 38 | status_bat = "🔋 BAT" |
| 35 | status_unk = "? UNK" | 39 | status_unk = "? UNK" |
| 36 | status_full = "☻ FULL" | 40 | status_full = "🔌 FULL" |
| 37 | path = "/sys/class/power_supply/BAT%d/uevent" | 41 | path = "/sys/class/power_supply/BAT%d/uevent" |
| 38 | low_threshold = 10 | 42 | low_threshold = 10 |
| 39 | } | 43 | } |