This commit is contained in:
fz0x1 2024-11-24 18:47:52 +01:00
parent b7591e4663
commit 1e64a7d670
16 changed files with 55 additions and 31 deletions

1
.gitattributes vendored
View file

@ -8,3 +8,4 @@ global/scripts/vimwiki_diary_template filter=git-crypt diff=git-crypt
global/.zshrc-secrets filter=git-crypt diff=git-crypt
global/.borgmatic/sensitive.yaml filter=git-crypt diff=git-crypt
global/.borgmatic/pass.gpg filter=git-crypt diff=git-crypt
global/.newsboat/miniflux filter=git-crypt diff=git-crypt

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
global/.config/nvim/lazy-lock.json

View file

@ -8,4 +8,4 @@ set postponed = "+Drafts"
set record = "+Sent"
set trash = "+Trash"
mailboxes =INBOX =Sent =Service =Hosting =Service =Keys =Drafts =Trash ='Receiving guarantee notifications' =Spam
mailboxes =INBOX =Sent =Umka =Service =Hosting =Service =Backup =Notes =Keys =Drafts =Trash ='Receiving guarantee notifications' =Spam

View file

@ -1,9 +1,9 @@
# general settings
auto-reload yes
max-items 50
# external browser
# some settings
include config-os
include miniflux
# unbind keys
unbind-key ENTER
@ -31,3 +31,5 @@ color article default default
highlight article "^(Title):.*$" blue default
highlight article "https?://[^ ]+" red default
highlight article "\\[image\\ [0-9]+\\]" green default
max-items 0

BIN
global/.newsboat/miniflux Normal file

Binary file not shown.

View file

@ -1,5 +0,0 @@
https://www.opennet.ru/opennews/opennews_all_utf.rss
https://www.linux.org.ru/section-rss.jsp?section=1
https://xakep.ru/feed/
https://www.securitylab.ru/_services/export/rss/
https://www.cyberciti.com/atom/atom.xml

View file

@ -124,6 +124,10 @@ alias s_diary="cd ~/PKM/diary/ && git commit -am \"\$(date +%Y%m%d)\" && git pus
alias s_ledger="cd ~/PKM/ledger/ && git commit -am \"\$(date +%Y%m%d)\" && git push origin master ; cd ~"
## screenshots
alias scrn="screenshot.sh"
## secure deletion files
alias rrmm="shred -n 7 -z -u"
## secure deletion files in directory
alias frmm="find . -type f -exec shred -n 7 -z -u {} +"
# bindkeys
## autosuggest

Binary file not shown.

View file

@ -1,5 +0,0 @@
#!/usr/bin/env sh
pkill -u "$USER" -USR1 dunst
~/.config/i3/i3lock
pkill -u "$USER" -USR2 dunst

View file

@ -1,12 +0,0 @@
#!/usr/bin/env sh
connected_monitors=$(xrandr | grep " connected" | awk '{ print $1 }')
if echo "$connected_monitors" | grep -q "HDMI"; then
xrandr --output eDP-1 --off
xrandr --output HDMI-1-0 --mode 2560x1440 --rate 165.00 --dpi 120
# xrandr --output eDP-1 --left-of HDMI-1-0
xrandr --output HDMI-1-0 --primary
else
xrandr --output eDP-1 --mode 2560x1600 --rate 240.00 --dpi 160
fi

View file

@ -25,9 +25,6 @@ dunst &
# vpn
mullvad-vpn &
# logi settings
solaar --window=hide &
# caffeine
caffeine start &
@ -50,6 +47,12 @@ dropbox &
# firewall
opensnitch-ui &
# logi settings
solaar --restart-on-wake-up --window=hide &
# bauh
bauh-tray &
# keyboard layout switcher
setxkbmap -layout us,ru -option 'grp:alt_space_toggle' &

View file

@ -50,7 +50,10 @@ black = #000
white = #FFF
[bar/fz0x1]
monitor = ${env:MONITOR:HDMI-1-0}
wm-restack = i3
; override-redirect = true
; monitor = ${env:MONITOR:HDMI-1-0}
monitor = ${env:MONITOR:HDMI-0}
width = 100%
height = 24pt
radius = 6

View file

@ -2,4 +2,4 @@ killall -q polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
MONITOR="HDMI-1-0" polybar --reload fz0x1 -c ~/.config/polybar/config.ini &
MONITOR="HDMI-0" polybar --reload fz0x1 -c ~/.config/polybar/config.ini &

View file

@ -60,3 +60,33 @@
pointer_speed: 180
reprogrammable-keys: {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 91: 91, 93: 93, 237: 237}
speed-change: 0
- _NAME: 'MX Ergo Multi-Device Trackball '
_absent: [hi-res-scroll, hires-smooth-invert, hires-smooth-resolution, hires-scroll-mode, scroll-ratchet, smart-shift, thumb-scroll-invert, thumb-scroll-mode,
onboard_profiles, report_rate_extended, dpi, dpi_extended, backlight, backlight_level, backlight_duration_hands_out, backlight_duration_hands_in, backlight_duration_powered,
backlight-timed, led_control, led_zone_, rgb_control, rgb_zone_, brightness_control, per-key-lighting, fn-swap, disable-keyboard-keys, crown-smooth,
divert-crown, divert-gkeys, m-key-leds, mr-key-led, multiplatform, gesture2-gestures, gesture2-divert, gesture2-params, sidetone, equalizer, adc_power_management]
_battery: 4096
_sensitive: {hires-scroll-mode: ignore, hires-smooth-invert: ignore, hires-smooth-resolution: ignore}
change-host: null
divert-keys: {82: 0, 83: 0, 86: 0, 91: 0, 93: 0, 237: 0}
lowres-scroll-mode: false
persistent-remappable-keys: null
pointer_speed: 190
reprogrammable-keys: {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 91: 91, 93: 93, 237: 237}
speed-change: 0
- _NAME: 'MX Ergo Multi-Device Trackball '
_absent: [hi-res-scroll, hires-smooth-invert, hires-smooth-resolution, hires-scroll-mode, scroll-ratchet, smart-shift, thumb-scroll-invert, thumb-scroll-mode,
onboard_profiles, report_rate, report_rate_extended, dpi, dpi_extended, backlight, backlight_level, backlight_duration_hands_out, backlight_duration_hands_in,
backlight_duration_powered, backlight-timed, led_control, led_zone_, rgb_control, rgb_zone_, brightness_control, per-key-lighting, fn-swap, disable-keyboard-keys,
crown-smooth, divert-crown, divert-gkeys, m-key-leds, mr-key-led, multiplatform, gesture2-gestures, gesture2-divert, gesture2-params, sidetone, equalizer,
adc_power_management]
_battery: 4096
_modelId: 'MX Ergo Multi-Device Trackball '
_sensitive: {hires-scroll-mode: ignore, hires-smooth-invert: ignore, hires-smooth-resolution: ignore}
change-host: null
divert-keys: {82: 0, 83: 0, 86: 0, 91: 0, 93: 0, 237: 0}
lowres-scroll-mode: false
persistent-remappable-keys: null
pointer_speed: 190
reprogrammable-keys: {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 91: 91, 93: 93, 237: 237}
speed-change: 0

View file

@ -1,2 +1,2 @@
browser "/sbin/lynx %u"
browser "/sbin/librewolf %u"
macro l set browser "/sbin/librewolf %u"; open-in-browser ; set browser "/sbin/lynx %u"

View file

@ -38,5 +38,7 @@ export PATH="$CUSTOM_SCRIPTS/bin:$PATH"
export USER_BIN="$HOME/bin"
export PATH="$USER_BIN:$PATH"
export MANPAGER='nvim +Man!'
GPG_TTY=$(tty)
export GPG_TTY