2024 add
This commit is contained in:
parent
d18c80338e
commit
d0a6a58560
55
.Xdefaults
55
.Xdefaults
@ -2,45 +2,54 @@
|
|||||||
|
|
||||||
Xft.hinting: true
|
Xft.hinting: true
|
||||||
Xft.hintstyle: hintfull
|
Xft.hintstyle: hintfull
|
||||||
|
Xft.dpi: 123
|
||||||
|
|
||||||
XTerm.termName: xterm-256color
|
XTerm.termName: xterm-256color
|
||||||
XTerm*loginShell:true
|
XTerm*loginShell:true
|
||||||
XTerm*font: xft:GohuFont:size=9
|
XTerm*font: xft:Tamsyn:size=8
|
||||||
|
XTerm*scaleHeight: 1.05
|
||||||
XTerm*scrollBar:false
|
XTerm*scrollBar:false
|
||||||
XTerm*utf8:true
|
XTerm*utf8:true
|
||||||
XTerm*eightBitInput: true
|
XTerm*eightBitInput: true
|
||||||
XTerm*internalBorder: 8
|
XTerm*internalBorder: 12
|
||||||
|
|
||||||
XTerm.vt100.translations: #override \n\
|
XTerm.vt100.translations: #override \n\
|
||||||
Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
|
Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
|
||||||
Ctrl Shift <Key>V: insert-selection(CLIPBOARD)
|
Ctrl Shift <Key>V: insert-selection(CLIPBOARD)
|
||||||
|
|
||||||
Nsxiv.bar.font: GohuFont:size=9
|
*foreground: #cdd6f4
|
||||||
|
*background: #1e1e2e
|
||||||
|
*fading: 0
|
||||||
|
*cursorColor: #f38ba8
|
||||||
|
|
||||||
*.foreground: #e8e8d4
|
! black
|
||||||
*.background: #141414
|
*color0: #45475a
|
||||||
*.cursorColor: #ffa560
|
*color8: #585b70
|
||||||
|
|
||||||
*.color0: #3b3b3b
|
! red
|
||||||
*.color8: #929292
|
*color1: #f38ba8
|
||||||
|
*color9: #f38ba8
|
||||||
|
|
||||||
*.color1: #cf6a4c
|
! green
|
||||||
*.color9: #e27373
|
*color2: #a6e3a1
|
||||||
|
*color10: #a6e3a1
|
||||||
|
|
||||||
*.color2: #99ad6a
|
! yellow
|
||||||
*.color10: #aecc66
|
*color3: #f9e2af
|
||||||
|
*color11: #f9e2af
|
||||||
|
|
||||||
*.color3: #d8ad4c
|
! blue
|
||||||
*.color11: #ffba7b
|
*color4: #89b4fa
|
||||||
|
*color12: #89b4fa
|
||||||
|
|
||||||
*.color4: #597bc5
|
! magenta
|
||||||
*.color12: #729af2
|
*color5: #f5c2e7
|
||||||
|
*color13: #f5c2e7
|
||||||
|
|
||||||
*.color5: #a037b0
|
! cyan
|
||||||
*.color13: #c051d1
|
*color6: #94e2d5
|
||||||
|
*color14: #94e2d5
|
||||||
|
|
||||||
*.color6: #71b9f8
|
! white
|
||||||
*.color14: #99cefc
|
*color7: #bac2de
|
||||||
|
*color15: #a6adc8
|
||||||
*.color7: #c9c9bd
|
|
||||||
*.color15: #e8e8d4
|
|
||||||
|
@ -5,8 +5,39 @@ set move = no
|
|||||||
set imap_keepalive = 900
|
set imap_keepalive = 900
|
||||||
set status_format=""
|
set status_format=""
|
||||||
|
|
||||||
color normal default default
|
|
||||||
color status default black
|
|
||||||
color signature red default
|
|
||||||
|
|
||||||
source "~/.config/mutt/acct.main"
|
source "~/.config/mutt/acct.main"
|
||||||
|
|
||||||
|
color normal default default # Text is "Text"
|
||||||
|
color index color2 default ~N # New Messages are Green
|
||||||
|
color index color1 default ~F # Flagged messages are Red
|
||||||
|
color index color13 default ~T # Tagged Messages are Red
|
||||||
|
color index color1 default ~D # Messages to delete are Red
|
||||||
|
color attachment color5 default # Attachments are Pink
|
||||||
|
color signature color8 default # Signatures are Surface 2
|
||||||
|
color search color4 default # Highlighted results are Blue
|
||||||
|
|
||||||
|
color indicator default color8 # currently highlighted message Surface 2=Background Text=Foreground
|
||||||
|
color error color1 default # error messages are Red
|
||||||
|
color status color15 default # status line "Subtext 0"
|
||||||
|
color tree color15 default # thread tree arrows Subtext 0
|
||||||
|
color tilde color15 default # blank line padding Subtext 0
|
||||||
|
|
||||||
|
color hdrdefault color13 default # default headers Pink
|
||||||
|
color header color13 default "^From:"
|
||||||
|
color header color13 default "^Subject:"
|
||||||
|
|
||||||
|
color quoted color15 default # Subtext 0
|
||||||
|
color quoted1 color7 default # Subtext 1
|
||||||
|
color quoted2 color8 default # Surface 2
|
||||||
|
color quoted3 color0 default # Surface 1
|
||||||
|
color quoted4 color0 default
|
||||||
|
color quoted5 color0 default
|
||||||
|
|
||||||
|
color body color2 default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ # email addresses Green
|
||||||
|
color body color2 default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+ # URLs Green
|
||||||
|
color body color4 default (^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$) # *bold* text Blue
|
||||||
|
color body color4 default (^|[[:space:]])_[^[:space:]]+_([[:space:]]|$) # _underlined_ text Blue
|
||||||
|
color body color4 default (^|[[:space:]])/[^[:space:]]+/([[:space:]]|$) # /italic/ text Blue
|
||||||
|
|
||||||
|
color sidebar_flagged color1 default # Mailboxes with flagged mails are Red
|
||||||
|
color sidebar_new color10 default # Mailboxes with new mail are Green
|
||||||
|
11
.config/nvim/init.vim
Normal file
11
.config/nvim/init.vim
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
filetype plugin on
|
||||||
|
syntax on
|
||||||
|
set termguicolors
|
||||||
|
set ai
|
||||||
|
set nu
|
||||||
|
set ic
|
||||||
|
set hlsearch
|
||||||
|
set noshowmode
|
||||||
|
set laststatus=0
|
||||||
|
set cursorline
|
||||||
|
colo catppuccin-mocha
|
15
.config/picom.conf
Normal file
15
.config/picom.conf
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# backend = "glx";
|
||||||
|
vsync = true;
|
||||||
|
# shadow = true;
|
||||||
|
# shadow-radius = 1;
|
||||||
|
# shadow-opacity = 0.45;
|
||||||
|
# shadow-offset-x = 6;
|
||||||
|
# shadow-offset-y = 6;
|
||||||
|
# shadow-exclude = [
|
||||||
|
# "class_g = 'Bar'",
|
||||||
|
# ];
|
||||||
|
fading = true;
|
||||||
|
fade-delta = 3;
|
||||||
|
xrender-sync-fence = true;
|
||||||
|
# glx-no-rebind-pixmap = true;
|
||||||
|
# glx-no-stencil = true;
|
@ -1,20 +1,20 @@
|
|||||||
set font "GohuFont normal 9"
|
set font "Tamsyn normal 8"
|
||||||
set default-bg "#e8e8d4"
|
set default-bg "#1e1e2d"
|
||||||
set default-fg "#141414"
|
set default-fg "#cdd6f4"
|
||||||
set index-bg "#e8e8d4"
|
set index-bg "#1e1e2d"
|
||||||
set index-fg "#141414"
|
set index-fg "#cdd6f4"
|
||||||
set index-active-bg "#e8e8d4"
|
set index-active-bg "#1e1e2d"
|
||||||
set index-active-fg "#141414"
|
set index-active-fg "#cdd6f4"
|
||||||
set inputbar-bg "#e8e8d4"
|
set inputbar-bg "#1e1e2d"
|
||||||
set inputbar-fg "#141414"
|
set inputbar-fg "#cdd6f4"
|
||||||
set statusbar-bg "#e8e8d4"
|
set statusbar-bg "#1e1e2d"
|
||||||
set statusbar-fg "#141414"
|
set statusbar-fg "#cdd6f4"
|
||||||
set highlight-color "#e8e8d4"
|
set highlight-color "#1e1e2d"
|
||||||
set highlight-active-color "#141414"
|
set highlight-active-color "#cdd6f4"
|
||||||
set recolor-lightcolor "#e8e8d4"
|
set recolor-lightcolor "#1e1e2d"
|
||||||
set recolor-darkcolor "#141414"
|
set recolor-darkcolor "#cdd6f4"
|
||||||
|
|
||||||
set adjust-open "width"
|
#set adjust-open "width"
|
||||||
set pages-per-row 1
|
set pages-per-row 1
|
||||||
set scroll-page-aware "true"
|
set scroll-page-aware "true"
|
||||||
set scroll-full-overlap 0.01
|
set scroll-full-overlap 0.01
|
||||||
|
32
.cwmrc
32
.cwmrc
@ -1,17 +1,19 @@
|
|||||||
fontname "GohuFont:size=9"
|
fontname "Tamsyn:size=8"
|
||||||
|
|
||||||
|
gap 30 0 0 0
|
||||||
|
|
||||||
ignore bar
|
ignore bar
|
||||||
autogroup 0 bar
|
autogroup 0 bar
|
||||||
sticky yes
|
sticky yes
|
||||||
|
|
||||||
borderwidth 4
|
borderwidth 6
|
||||||
|
|
||||||
color selfont "#e8e8d4"
|
color selfont "#1e1e2e"
|
||||||
color font "#141414"
|
color font "#cdd6f4"
|
||||||
color menubg "#e8e8d4"
|
color menubg "#1e1e2e"
|
||||||
color menufg "#141414"
|
color menufg "#cdd6f4"
|
||||||
color activeborder "#cf6a4c"
|
color activeborder "#a6adc8"
|
||||||
color inactiveborder "#3b3b3b"
|
color inactiveborder "#45475a"
|
||||||
|
|
||||||
unbind-key all
|
unbind-key all
|
||||||
|
|
||||||
@ -20,10 +22,18 @@ unbind-key M-j
|
|||||||
unbind-key M-k
|
unbind-key M-k
|
||||||
unbind-key M-l
|
unbind-key M-l
|
||||||
|
|
||||||
|
command terminal xterm
|
||||||
|
command browse "firefox -P main"
|
||||||
|
command school "firefox -P school"
|
||||||
|
command tor tor-browser
|
||||||
|
command confuse slock
|
||||||
|
command suspend zzz
|
||||||
|
|
||||||
bind-key 4S-Return terminal
|
bind-key 4S-Return terminal
|
||||||
bind-key 4S-b ".local/bin/chrome"
|
bind-key 4S-b "firefox -P main"
|
||||||
|
bind-key 4S-s "firefox -P school"
|
||||||
bind-key 4S-t tor-browser
|
bind-key 4S-t tor-browser
|
||||||
bind-key 4S-Tab lock
|
bind-key 4S-Tab slock
|
||||||
|
|
||||||
bind-key MS-r restart
|
bind-key MS-r restart
|
||||||
bind-key MS-q quit
|
bind-key MS-q quit
|
||||||
@ -46,8 +56,6 @@ bind-key SM-2 window-movetogroup-2
|
|||||||
bind-key SM-3 window-movetogroup-3
|
bind-key SM-3 window-movetogroup-3
|
||||||
bind-key SM-4 window-movetogroup-4
|
bind-key SM-4 window-movetogroup-4
|
||||||
|
|
||||||
unbind-mouse all
|
|
||||||
|
|
||||||
bind-mouse 4-1 window-move
|
bind-mouse 4-1 window-move
|
||||||
bind-mouse 4-2 window-lower
|
bind-mouse 4-2 window-lower
|
||||||
bind-mouse 4-3 window-resize
|
bind-mouse 4-3 window-resize
|
||||||
|
20
.xsession
20
.xsession
@ -3,24 +3,20 @@
|
|||||||
export LANG="en_US.UTF-8"
|
export LANG="en_US.UTF-8"
|
||||||
export DBUS_SESSION_BUS_ADDRESS="no"
|
export DBUS_SESSION_BUS_ADDRESS="no"
|
||||||
export GTK_THEME="Adwaita:dark"
|
export GTK_THEME="Adwaita:dark"
|
||||||
# export XMODIFIERS=@im=ibus
|
|
||||||
# export GTK_IM_MODULE=ibus
|
|
||||||
# export QT_IM_MODULE=ibus
|
|
||||||
|
|
||||||
walldir="$HOME/Pictures/Wallpapers"
|
walldir="$HOME/Pictures/Wallpapers"
|
||||||
|
|
||||||
xrdb -merge "$HOME/.Xdefaults"
|
xset b off
|
||||||
sct 5500
|
# xrdb -merge "$HOME/.Xdefaults"
|
||||||
|
sct 4250
|
||||||
|
picom &
|
||||||
|
|
||||||
# pick one
|
feh --no-fehbg --bg-fill "$walldir/city.png"
|
||||||
feh --no-fehbg --bg-fill "$walldir/catswall.png" &
|
|
||||||
# xsetroot -solid "#e8e8d4" &
|
|
||||||
|
|
||||||
xidle -program "/usr/sbin/zzz" -timeout 590 &
|
xidle -program "/usr/local/bin/slock" -timeout 600 &
|
||||||
|
|
||||||
"$HOME/.local/bin/bar" |\
|
"$HOME/.local/bin/bar" |\
|
||||||
lemonbar-xft -f "GohuFont:size=9" -B "#e8e8d4" -F "#141414" -g x30 &
|
lemonbar-xft -f "Tamsyn:size=8:style=Bold" -F "#cdd6f4" -g x30 &
|
||||||
|
|
||||||
# in the case japanese is required
|
setxkbmap us altgr-intl
|
||||||
# ibus-daemon -x &
|
|
||||||
cwm
|
cwm
|
||||||
|
@ -1,24 +1,26 @@
|
|||||||
! $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: 123
|
||||||
|
|
||||||
xlogin*borderWidth: 0
|
xlogin*borderWidth: 0
|
||||||
xlogin.Login.height: 140
|
xlogin.Login.height: 160
|
||||||
xlogin.Login.width: 200
|
xlogin.Login.width: 200
|
||||||
xlogin.Login.y: 60
|
xlogin.Login.y: 60
|
||||||
xlogin.Login.x: 60
|
xlogin.Login.x: 60
|
||||||
xlogin.Login.frameWidth: 4
|
xlogin.Login.frameWidth: 6
|
||||||
xlogin.Login.innerFramesWidth: 0
|
xlogin.Login.innerFramesWidth: 0
|
||||||
xlogin.Login.sepWidthz: 0
|
xlogin.Login.sepWidthz: 0
|
||||||
xlogin.Login.greeting: CLIENTHOST
|
xlogin.Login.greeting: CLIENTHOST
|
||||||
xlogin.Login.fail: ya dun goofed
|
xlogin.Login.fail: ya dun goofed
|
||||||
xlogin.Login.background: #141414
|
xlogin.Login.background: #1e1e2e
|
||||||
xlogin.Login.foreground: #e8e8d4
|
xlogin.Login.foreground: #cdd6f4
|
||||||
xlogin.Login.greetColor: #e8e8d4
|
xlogin.Login.greetColor: #cdd6f4
|
||||||
xlogin.Login.failColor: #cf6a4c
|
xlogin.Login.failColor: #f38ba8
|
||||||
xlogin.Login.inpColor: #141414
|
xlogin.Login.inpColor: #1e1e2e
|
||||||
xlogin.Login.promptColor: #e8e8d4
|
xlogin.Login.promptColor: #cdd6f4
|
||||||
xlogin.Login.hiColor: #cf6a4c
|
xlogin.Login.hiColor: #a6adc8
|
||||||
xlogin.Login.shdColor: #cf6a4c
|
xlogin.Login.shdColor: #a6adc8
|
||||||
xlogin.Login.greetFace: GohuFont-10
|
xlogin.Login.greetFace: Tamsyn-8
|
||||||
xlogin.Login.face: GohuFont-9
|
xlogin.Login.face: Tamsyn-8
|
||||||
xlogin.Login.failFace: GohuFont-9
|
xlogin.Login.failFace: Tamsyn-8
|
||||||
xlogin.Login.promptFace: GohuFont-9
|
xlogin.Login.promptFace: Tamsyn-8
|
||||||
|
@ -1,14 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $OpenBSD: Xsetup_0.in,v 1.1 2021/08/30 15:38:27 matthieu Exp $
|
# $OpenBSD: Xsetup_0.in,v 1.1 2021/08/30 15:38:27 matthieu Exp $
|
||||||
|
|
||||||
/usr/X11R6/bin/setxkbmap jp OADG109A -model thinkpad60
|
|
||||||
/usr/X11R6/bin/xset b off
|
/usr/X11R6/bin/xset b off
|
||||||
/usr/X11R6/bin/xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1
|
/usr/X11R6/bin/xinput set-prop "/dev/wsmouse0" "Device Accel Constant Deceleration" 0.4
|
||||||
/usr/X11R6/bin/xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2
|
|
||||||
/usr/X11R6/bin/xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 6 7 4 5
|
|
||||||
/usr/X11R6/bin/xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Inertia" 10
|
|
||||||
/usr/X11R6/bin/xinput set-prop "/dev/wsmouse" "Device Accel Constant Deceleration" 0.5
|
|
||||||
/usr/X11R6/bin/xrandr --dpi 96
|
/usr/X11R6/bin/xrandr --dpi 96
|
||||||
/usr/X11R6/bin/xsetroot -solid \#e8e8d4
|
/usr/X11R6/bin/xsetroot -solid \#11111d
|
||||||
/usr/local/bin/feh -B \#e8e8d4 -g 213x64+1130+680 -. \
|
|
||||||
-Z /etc/X11/xenodm/pixmaps/digital.png &
|
|
||||||
|
@ -1,8 +1,3 @@
|
|||||||
Section "Device"
|
|
||||||
Identifier "Intel Graphics"
|
|
||||||
Driver "intel"
|
|
||||||
EndSection
|
|
||||||
|
|
||||||
Section "ServerFlags"
|
Section "ServerFlags"
|
||||||
Option "DontVTSwitch" "True"
|
Option "DontVTSwitch" "True"
|
||||||
Option "DontZap" "True"
|
Option "DontZap" "True"
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Get the current Xsession user
|
pkill -USR1 xidle
|
||||||
_user=$(ps -o user= -p $(pgrep -f Xsession))
|
|
||||||
pkill slock
|
|
||||||
# Run xlock as the Xsession user
|
|
||||||
doas -u $_user env DISPLAY=:0 XAUTHORITY=/home/$_user/.Xauthority slock &
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
|
#obsdfreqd_flags=-r6 -m75 -T40
|
||||||
apmd_flags=-L
|
apmd_flags=-L
|
||||||
obsdfreqd_flags=-m85 -T45
|
obsdfreqd_flags=-T40
|
||||||
pkg_scripts=obsdfreqd
|
pkg_scripts=obsdfreqd
|
||||||
smtpd_flags=NO
|
smtpd_flags=NO
|
||||||
sshd_flags=NO
|
sshd_flags=NO
|
||||||
|
@ -1 +1,13 @@
|
|||||||
kern.bufcachepercent=50
|
# Enable hyperthreading
|
||||||
|
# hw.smt=1
|
||||||
|
|
||||||
|
# default: 1310
|
||||||
|
kern.maxproc=8192
|
||||||
|
# default: 7030
|
||||||
|
kern.maxfiles=32768
|
||||||
|
# default: 1950
|
||||||
|
kern.maxthread=16384
|
||||||
|
# shared memory settings
|
||||||
|
kern.shminfo.shmall=536870912 # default: 8192
|
||||||
|
kern.shminfo.shmmax=2147483647 # default: 33554432
|
||||||
|
kern.shminfo.shmmni=4096 # default: 1024
|
||||||
|
Loading…
Reference in New Issue
Block a user