Compare commits

...

2 Commits

Author SHA1 Message Date
52f5674eb2
added GPG_TTY 2024-07-25 11:11:41 -04:00
b924ad0ee1
adding july changes 2024-07-25 11:10:48 -04:00
15 changed files with 90 additions and 96 deletions

View File

@ -1,46 +1,60 @@
! $OpenBSD: dot.Xdefaults,v 1.3 2014/07/10 10:22:59 jasper Exp $ ! $OpenBSD: dot.Xdefaults,v 1.3 2014/07/10 10:22:59 jasper Exp $
! === XFT ===
Xft.hinting: true Xft.hinting: true
Xft.hintstyle: hintfull Xft.hintstyle: hintfull
Xft.dpi: 120 Xft.dpi: 96
! === XTerm ===
XTerm*termName: xterm-256color XTerm*termName: xterm-256color
XTerm*loginShell:true XTerm*loginShell: true
XTerm*faceName: ttyp0:size=9 XTerm*faceName: ttyp0:size=10
XTerm*scrollBar: false XTerm*scrollBar: false
XTerm*eightBitInput: false XTerm*eightBitInput: false
XTerm*locale: true XTerm*locale: true
XTerm*pointerMode: 2 XTerm*pointerMode: 2
XTerm*scaleHeight: 1.1 XTerm*scaleHeight: 1.1
XTerm*internalBorder: 16 XTerm*internalBorder: 14
XTerm.vt100.translations: #override \ XTerm.vt100.translations: #override \
Ctrl Shift <Key>V: insert-selection(CLIPBOARD) \n\ Ctrl Shift <Key>V: insert-selection(CLIPBOARD) \n\
Ctrl Shift <Key>C: copy-selection(CLIPBOARD) Ctrl Shift <Key>C: copy-selection(CLIPBOARD)
*.foreground: #e8e8d3 Nsxiv.bar.font: ttyp0:size=10
*.background: #151515
*.cursorColor: #cf6a4c
*.color0: #151515 ! special
*.color8: #888888 *.foreground: #ffebeb
*.background: #0d0909
*.cursorColor: #e84f82
*.color1: #cf6a4c ! black
*.color9: #cf6a4c *.color0: #1a1111
*.color8: #403333
*.color2: #99ad6a ! red
*.color10: #99ad6a *.color1: #d12a62
*.color9: #e84f82
*.color3: #ffb964 ! green
*.color11: #ffb964 *.color2: #70cf53
*.color10: #8bd681
*.color4: #668799 ! yellow
*.color12: #668799 *.color3: #f37a21
*.color11: #f39d21
*.color5: #c6b6ee ! blue
*.color13: #c6b6ee *.color4: #0065b0
*.color12: #0082cf
*.color6: #8fbfdc ! magenta
*.color14: #8fbfdc *.color5: #8542ff
*.color13: #9b64fb
! cyan
*.color6: #42717b
*.color14: #6d878d
! white
*.color7: #ad9191
*.color15: #ffebeb
*.color7: #888888
*.color15: #e8e8d3

View File

@ -1,13 +0,0 @@
vim.cmd.colo("jellybeans")
vim.opt.termguicolors = true
vim.opt.showmode = false
vim.opt.laststatus = 0
vim.opt.autoindent = true
require "nvim-treesitter.configs".setup {
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
}

View File

@ -1,3 +0,0 @@
vsync = true;
xrender-sync = true;
xrender-sync-fence = true;

27
.cwmrc
View File

@ -1,18 +1,19 @@
ignore bar ignore bar
autogroup 0 bar autogroup 0 bar
sticky yes sticky yes
gap 20 0 0 0 gap 35 15 15 15
snapdist 10 snapdist 10
vtile 60
borderwidth 6 borderwidth 6
fontname "ttyp0:size=9" fontname "ttyp0:size=10"
color font "#e8e8d3" color font "#ffebeb"
color selfont "#151515" color selfont "#0d0909"
color menufg "#e8e8d3" color menufg "#ffebeb"
color menubg "#151515" color menubg "#0d0909"
color activeborder "#cf6a4c" color activeborder "#6d878d"
#color activeborder "#e8e8d3" color inactiveborder "#ad9191"
color inactiveborder "#888888"
unbind-key all unbind-key all
@ -37,10 +38,10 @@ bind-key M-1 group-only-1
bind-key M-2 group-only-2 bind-key M-2 group-only-2
bind-key M-3 group-only-3 bind-key M-3 group-only-3
bind-key M-4 group-only-4 bind-key M-4 group-only-4
bind-key MS-1 window-movetogroup-1 bind-key CM-1 window-movetogroup-1
bind-key MS-2 window-movetogroup-2 bind-key CM-2 window-movetogroup-2
bind-key MS-3 window-movetogroup-3 bind-key CM-3 window-movetogroup-3
bind-key MS-4 window-movetogroup-4 bind-key CM-4 window-movetogroup-4
unbind-mouse all unbind-mouse all

View File

@ -1,8 +0,0 @@
[commit]
gpgsign = true
[init]
defaultBranch = trunk
[user]
name = Agnosto Dvonik
email = dvonik@rslp.org
signingkey = 231E067D4E995977D82EAAF02E71AADAE25FA0EE

View File

@ -5,7 +5,6 @@ sleep=1
used() { used() {
used=$(vmstat | awk 'END {printf $3}' | tr -d "M") used=$(vmstat | awk 'END {printf $3}' | tr -d "M")
full=$(expr $(sysctl -n hw.usermem) / 1048576) full=$(expr $(sysctl -n hw.usermem) / 1048576)
echo "$used/$full" echo "$used/$full"
} }
@ -21,6 +20,6 @@ chkinet() {
} }
while true; do while true; do
echo "%{r}$USER@$(hostname) - $(date "+%Y-%m-%d %H:%M %Z") - $(chkinet) - $(used) - $(apm -l)% " echo "%{c}%{F#6d878d}%{T2}λ%{T1}%{F#ffebeb} $(hostname) | $(date "+%H:%M %Y/%m/%d") - $(chkinet) - $(used) - $(apm -l)%"
sleep $sleep sleep $sleep
done done

View File

@ -3,16 +3,16 @@
# sh/ksh initialization # sh/ksh initialization
MYBIN="$HOME/.local/bin" MYBIN="$HOME/.local/bin"
EDITOR="nvim" EDITOR="vi"
HISTFILE="$HOME/.history" HISTFILE="$HOME/.history"
HISTSIZE=64 HISTSIZE=64
GPG_TTY="$(tty)"
GOPATH="$HOME/.local/share/go" GOPATH="$HOME/.local/share/go"
PS1="\W \033[1;34mλ\033[0m "
PATH=$MYBIN:$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin PATH=$MYBIN:$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
export PATH HOME TERM MYBIN EDITOR HISTFILE HISTSIZE GOPATH PS1 export PATH HOME TERM MYBIN EDITOR HISTFILE HISTSIZE GPG_TTY GOPATH PS1
alias mkdir="mkdir -p" alias mkdir="mkdir -p"
alias vi="nvim"
set -o vi set -o vi

View File

@ -6,16 +6,15 @@ export DBUS_SESSION_BUS_ADDRESS="no"
export WALLPAPERS="$HOME/Pictures/Wallpapers" export WALLPAPERS="$HOME/Pictures/Wallpapers"
xrdb -merge "$HOME/.Xdefaults" xrdb -merge "$HOME/.Xdefaults"
xidle -program "/usr/local/bin/slock" -timeout 600 & xidle -sw -program "/usr/sbin/zzz" -timeout 600 &
xset b 0 0 0 xset b 0 0 0
picom -b hsetroot -cover "$WALLPAPERS/lain.png"
hsetroot -cover "$WALLPAPERS/mount.png"
"$HOME/.local/bin/bar" |\
lemonbar-xft -B "#151515" -F "#e8e8d3" -f "ttyp0:size=9" -g x20 &
sct 5000
setxkbmap us altgr-intl
cwm
pkill xidle "$HOME/.local/bin/bar" |\
pkill picom lemonbar-xft -F "#ffebeb" -B "#0d0909" -f "ttyp0:size=10" -f "ttyp0:size=10:bold" -g x20 &
rm -rf "$HOME/TorBrowser-Data"
sct 5500
setxkbmap us altgr-intl
setxkbmap -option caps:escape
exec cwm

Binary file not shown.

Before

Width:  |  Height:  |  Size: 327 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

1
README
View File

@ -1,7 +1,6 @@
dotfiles dotfiles
-------- --------
- nvim(1)
- zathura(1) - zathura(1)
- cwm(1) - cwm(1)
- git(1) - git(1)

View File

@ -1,10 +1,10 @@
! $OpenBSD: Xresources.in,v 1.4 2022/11/07 17:12:06 matthieu Exp $ ! $OpenBSD: Xresources.in,v 1.4 2022/11/07 17:12:06 matthieu Exp $
Xft.dpi: 120 Xft.dpi: 96
xlogin*borderWidth: 0 xlogin*borderWidth: 0
xlogin.Login.height: 180 xlogin.Login.height: 180
xlogin.Login.width: 200 xlogin.Login.width: 180
xlogin.Login.y: 60 xlogin.Login.y: 60
xlogin.Login.x: 60 xlogin.Login.x: 60
xlogin.Login.frameWidth: 6 xlogin.Login.frameWidth: 6
@ -12,15 +12,15 @@ xlogin.Login.innerFramesWidth: 0
xlogin.Login.sepWidthz: 0 xlogin.Login.sepWidthz: 0
xlogin.Login.greeting: CLIENTHOST xlogin.Login.greeting: CLIENTHOST
xlogin.Login.fail: wrong xlogin.Login.fail: wrong
xlogin.Login.background: #151515 xlogin.Login.background: #0d0909
xlogin.Login.foreground: #e8e8d3 xlogin.Login.foreground: #ffebeb
xlogin.Login.greetColor: #e8e8d3 xlogin.Login.greetColor: #ffebeb
xlogin.Login.failColor: #902020 xlogin.Login.failColor: #ffebeb
xlogin.Login.inpColor: #151515 xlogin.Login.inpColor: #0d0909
xlogin.Login.promptColor: #e8e8d3 xlogin.Login.promptColor: #ffebeb
xlogin.Login.hiColor: #cf6a4c xlogin.Login.hiColor: #6d878d
xlogin.Login.shdColor: #cf6a4c xlogin.Login.shdColor: #6d878d
xlogin.Login.greetFace: ttyp0-9 xlogin.Login.greetFace: ttyp0-10
xlogin.Login.face: ttyp0-9 xlogin.Login.face: ttyp0-10
xlogin.Login.failFace: ttyp0-9 xlogin.Login.failFace: ttyp0-10
xlogin.Login.promptFace: ttyp0-9 xlogin.Login.promptFace: ttyp0-10

View File

@ -5,7 +5,7 @@ prefix="/usr/X11R6"
exec_prefix="${prefix}" exec_prefix="${prefix}"
# ${exec_prefix}/bin/xsetroot -fg \#6f6f6f -bg \#bfbfbf -bitmap ${prefix}/include/X11/bitmaps/root_weave # ${exec_prefix}/bin/xsetroot -fg \#6f6f6f -bg \#bfbfbf -bitmap ${prefix}/include/X11/bitmaps/root_weave
${exec_prefix}/bin/xsetroot -solid \#151515 ${exec_prefix}/bin/xsetroot -solid \#ffebeb
# ${exec_prefix}/bin/xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail # ${exec_prefix}/bin/xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail

View File

@ -1,3 +1,9 @@
#!/bin/sh #!/bin/sh
pkill -USR1 xidle # pkill -USR1 xidle
# Get the current Xsession user
_user=$(ps -o user= -p $(pgrep -f Xsession))
pkill xlock
# Run xlock as the Xsession user
doas -u $_user env DISPLAY=:0 XAUTHORITY=/home/$_user/.Xauthority slock &

View File

@ -1,6 +1,6 @@
apmd_flags=-LZ5 apmd_flags=-LZ5
obsdfreqd_flags=-T50 -m70 obsdfreqd_flags=-T45
pkg_scripts=obsdfreqd pkg_scripts=wpa_supplicant obsdfreqd
smtpd_flags=NO smtpd_flags=NO
sshd_flags=NO sshd_flags=NO
xenodm_flags= xenodm_flags=