diff options
| -rw-r--r-- | bash/.bashrc | 6 | ||||
| -rw-r--r-- | i3/.config/i3/config | 12 | ||||
| -rw-r--r-- | i3/.i3status.conf | 16 | ||||
| -rw-r--r-- | kitty/.config/kitty/kitty.conf | 2 | ||||
| -rw-r--r-- | xorg/.Xmodmap | 5 | ||||
| -rw-r--r-- | xorg/.Xresources | 2 |
6 files changed, 27 insertions, 16 deletions
diff --git a/bash/.bashrc b/bash/.bashrc index 0684e75..364d243 100644 --- a/bash/.bashrc +++ b/bash/.bashrc | |||
| @@ -153,7 +153,7 @@ if [ -x /opt/homebrew/bin/pyenv ]; then | |||
| 153 | eval "$(pyenv init --path)" | 153 | eval "$(pyenv init --path)" |
| 154 | eval "$(pyenv init -)" | 154 | eval "$(pyenv init -)" |
| 155 | fi | 155 | fi |
| 156 | if [ -x /usr/local/bin/pyenv ]; then | 156 | if [[ -x /usr/local/bin/pyenv || -x $HOME/bin/pyenv ]]; then |
| 157 | # FreeBSD, probably linux | 157 | # FreeBSD, probably linux |
| 158 | eval "$(pyenv init -)" | 158 | eval "$(pyenv init -)" |
| 159 | fi | 159 | fi |
| @@ -181,7 +181,7 @@ fi | |||
| 181 | [[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \ | 181 | [[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \ |
| 182 | source /usr/local/share/bash-completion/bash_completion.sh | 182 | source /usr/local/share/bash-completion/bash_completion.sh |
| 183 | 183 | ||
| 184 | if [[ $OS_NAME == "FreeBSD" ]]; then | 184 | if [[ $OS_NAME == "FreeBSD" || $OS_NAME == "OpenBSD" ]]; then |
| 185 | export XDG_RUNTIME_DIR=/var/run/user/`id -u` | 185 | export XDG_RUNTIME_DIR=/var/run/user/`id -u` |
| 186 | fi | 186 | fi |
| 187 | ####### | 187 | ####### |
| @@ -234,7 +234,7 @@ export HISTCONTROL="ignoredups" | |||
| 234 | export HISTIGNORE="ls:cd" | 234 | export HISTIGNORE="ls:cd" |
| 235 | 235 | ||
| 236 | # Aliases | 236 | # Aliases |
| 237 | alias ls='ls --color' | 237 | #alias ls='ls --color' |
| 238 | #alias fixfileperm='find /music -type f -exec chmod 0644 {} \;' | 238 | #alias fixfileperm='find /music -type f -exec chmod 0644 {} \;' |
| 239 | #alias cleanremotebranches='git branch --merged | grep -v "\*" | xargs -n 1 git branch -d; git branch -r --merged master | grep -iv "master" | sed "s/origin\///" | xargs -n 1 git push --delete origin' | 239 | #alias cleanremotebranches='git branch --merged | grep -v "\*" | xargs -n 1 git branch -d; git branch -r --merged master | grep -iv "master" | sed "s/origin\///" | xargs -n 1 git push --delete origin' |
| 240 | alias ducks='du -cks * |sort -rn |head -11' | 240 | alias ducks='du -cks * |sort -rn |head -11' |
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 | } |
diff --git a/kitty/.config/kitty/kitty.conf b/kitty/.config/kitty/kitty.conf index f8bf685..33fec64 100644 --- a/kitty/.config/kitty/kitty.conf +++ b/kitty/.config/kitty/kitty.conf | |||
| @@ -35,7 +35,7 @@ bold_italic_font Iosevka Comfy Bold Italic | |||
| 35 | #: italic_font Operator Mono Book Italic | 35 | #: italic_font Operator Mono Book Italic |
| 36 | #: bold_italic_font Operator Mono Medium Italic | 36 | #: bold_italic_font Operator Mono Medium Italic |
| 37 | 37 | ||
| 38 | font_size 12.0 | 38 | font_size 9.0 |
| 39 | 39 | ||
| 40 | #: Font size (in pts) | 40 | #: Font size (in pts) |
| 41 | 41 | ||
diff --git a/xorg/.Xmodmap b/xorg/.Xmodmap index ee2ded6..68820aa 100644 --- a/xorg/.Xmodmap +++ b/xorg/.Xmodmap | |||
| @@ -3,5 +3,6 @@ keycode 66 = Control_L | |||
| 3 | add Control = Control_L | 3 | add Control = Control_L |
| 4 | 4 | ||
| 5 | ! Disable mouse back (6) and mouse forward (7) | 5 | ! Disable mouse back (6) and mouse forward (7) |
| 6 | ! for fm | 6 | ! for fm (Commented out because 11 and 12 do not |
| 7 | pointer = 1 2 3 4 5 0 0 8 9 10 11 12 | 7 | ! work in OpenBSD, but neither does FM |
| 8 | ! pointer = 1 2 3 4 5 0 0 8 9 10 11 12 | ||
diff --git a/xorg/.Xresources b/xorg/.Xresources index f35da8d..35b84f3 100644 --- a/xorg/.Xresources +++ b/xorg/.Xresources | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | Xft.dpi: 96 | 1 | Xft.dpi: 128 |
| 2 | ! Xft.dpi: 192 | 2 | ! Xft.dpi: 192 |
| 3 | Xcursor.size: 16 | 3 | Xcursor.size: 16 |
| 4 | Xft.lcdfilter: lcddefault | 4 | Xft.lcdfilter: lcddefault |