20241124
This commit is contained in:
parent
b7591e4663
commit
1e64a7d670
16 changed files with 55 additions and 31 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -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/.zshrc-secrets filter=git-crypt diff=git-crypt
|
||||||
global/.borgmatic/sensitive.yaml 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/.borgmatic/pass.gpg filter=git-crypt diff=git-crypt
|
||||||
|
global/.newsboat/miniflux filter=git-crypt diff=git-crypt
|
||||||
|
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
global/.config/nvim/lazy-lock.json
|
|
@ -8,4 +8,4 @@ set postponed = "+Drafts"
|
||||||
set record = "+Sent"
|
set record = "+Sent"
|
||||||
set trash = "+Trash"
|
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
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# general settings
|
# general settings
|
||||||
auto-reload yes
|
auto-reload yes
|
||||||
max-items 50
|
|
||||||
|
|
||||||
# external browser
|
# some settings
|
||||||
include config-os
|
include config-os
|
||||||
|
include miniflux
|
||||||
|
|
||||||
# unbind keys
|
# unbind keys
|
||||||
unbind-key ENTER
|
unbind-key ENTER
|
||||||
|
@ -31,3 +31,5 @@ color article default default
|
||||||
highlight article "^(Title):.*$" blue default
|
highlight article "^(Title):.*$" blue default
|
||||||
highlight article "https?://[^ ]+" red default
|
highlight article "https?://[^ ]+" red default
|
||||||
highlight article "\\[image\\ [0-9]+\\]" green default
|
highlight article "\\[image\\ [0-9]+\\]" green default
|
||||||
|
|
||||||
|
max-items 0
|
||||||
|
|
BIN
global/.newsboat/miniflux
Normal file
BIN
global/.newsboat/miniflux
Normal file
Binary file not shown.
|
@ -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
|
|
|
@ -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 ~"
|
alias s_ledger="cd ~/PKM/ledger/ && git commit -am \"\$(date +%Y%m%d)\" && git push origin master ; cd ~"
|
||||||
## screenshots
|
## screenshots
|
||||||
alias scrn="screenshot.sh"
|
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
|
# bindkeys
|
||||||
## autosuggest
|
## autosuggest
|
||||||
|
|
Binary file not shown.
|
@ -1,5 +0,0 @@
|
||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
pkill -u "$USER" -USR1 dunst
|
|
||||||
~/.config/i3/i3lock
|
|
||||||
pkill -u "$USER" -USR2 dunst
|
|
|
@ -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
|
|
||||||
|
|
|
@ -25,9 +25,6 @@ dunst &
|
||||||
# vpn
|
# vpn
|
||||||
mullvad-vpn &
|
mullvad-vpn &
|
||||||
|
|
||||||
# logi settings
|
|
||||||
solaar --window=hide &
|
|
||||||
|
|
||||||
# caffeine
|
# caffeine
|
||||||
caffeine start &
|
caffeine start &
|
||||||
|
|
||||||
|
@ -50,6 +47,12 @@ dropbox &
|
||||||
# firewall
|
# firewall
|
||||||
opensnitch-ui &
|
opensnitch-ui &
|
||||||
|
|
||||||
|
# logi settings
|
||||||
|
solaar --restart-on-wake-up --window=hide &
|
||||||
|
|
||||||
|
# bauh
|
||||||
|
bauh-tray &
|
||||||
|
|
||||||
# keyboard layout switcher
|
# keyboard layout switcher
|
||||||
setxkbmap -layout us,ru -option 'grp:alt_space_toggle' &
|
setxkbmap -layout us,ru -option 'grp:alt_space_toggle' &
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,10 @@ black = #000
|
||||||
white = #FFF
|
white = #FFF
|
||||||
|
|
||||||
[bar/fz0x1]
|
[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%
|
width = 100%
|
||||||
height = 24pt
|
height = 24pt
|
||||||
radius = 6
|
radius = 6
|
||||||
|
|
|
@ -2,4 +2,4 @@ killall -q polybar
|
||||||
|
|
||||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
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 &
|
||||||
|
|
|
@ -60,3 +60,33 @@
|
||||||
pointer_speed: 180
|
pointer_speed: 180
|
||||||
reprogrammable-keys: {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 91: 91, 93: 93, 237: 237}
|
reprogrammable-keys: {80: 80, 81: 81, 82: 82, 83: 83, 86: 86, 91: 91, 93: 93, 237: 237}
|
||||||
speed-change: 0
|
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
|
||||||
|
|
|
@ -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"
|
macro l set browser "/sbin/librewolf %u"; open-in-browser ; set browser "/sbin/lynx %u"
|
||||||
|
|
|
@ -38,5 +38,7 @@ export PATH="$CUSTOM_SCRIPTS/bin:$PATH"
|
||||||
export USER_BIN="$HOME/bin"
|
export USER_BIN="$HOME/bin"
|
||||||
export PATH="$USER_BIN:$PATH"
|
export PATH="$USER_BIN:$PATH"
|
||||||
|
|
||||||
|
export MANPAGER='nvim +Man!'
|
||||||
|
|
||||||
GPG_TTY=$(tty)
|
GPG_TTY=$(tty)
|
||||||
export GPG_TTY
|
export GPG_TTY
|
||||||
|
|
Loading…
Add table
Reference in a new issue