From d50dacf84a541c265d690fee7d707ce5b483e708 Mon Sep 17 00:00:00 2001 From: aura Date: Fri, 14 Aug 2026 05:27:37 +0200 Subject: update things --- config/openbox/xscreensaver-watch | 10 +++ etc/X11/xinit/xinitrc.openbox | 27 ++++++++ etc/X11/xinit/xinitrc.openbox-session2 | 22 ++++++ home/.Xresources | 15 ++-- nvimrc | 122 ++++++++++++++++----------------- slackware-bootstrap/kernel | 8 +-- vimrc | 2 +- 7 files changed, 134 insertions(+), 72 deletions(-) create mode 100644 config/openbox/xscreensaver-watch create mode 100644 etc/X11/xinit/xinitrc.openbox create mode 100644 etc/X11/xinit/xinitrc.openbox-session2 diff --git a/config/openbox/xscreensaver-watch b/config/openbox/xscreensaver-watch new file mode 100644 index 0000000..a373c18 --- /dev/null +++ b/config/openbox/xscreensaver-watch @@ -0,0 +1,10 @@ +#!/bin/sh + +xscreensaver-command -watch | while read evt rest; do + case "$evt" in + UNBLANK) + sleep 1 + xrandr --output DP-2 --mode 2560x1440 --rate 240 + ;; + esac +done & diff --git a/etc/X11/xinit/xinitrc.openbox b/etc/X11/xinit/xinitrc.openbox new file mode 100644 index 0000000..0a6d600 --- /dev/null +++ b/etc/X11/xinit/xinitrc.openbox @@ -0,0 +1,27 @@ +#!/bin/sh +# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $ + +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap + +# merge in defaults and keymaps +[ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources +[ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap +[ -f $userresources ] && /usr/bin/xrdb -merge $userresources +[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap + +# Create default user directory & populate it if not already existent +if [ ! -d $HOME/.config/openbox ]; then + mkdir -p $HOME/.config/openbox + cat /etc/xdg/openbox/menu.xml > $HOME/.config/openbox/menu.xml + cat /etc/xdg/openbox/rc.xml > $HOME/.config/openbox/rc.xml +fi + +if [ -z "$DESKTOP_SESSION" ]; then + exec dbus-launch --exit-with-session openbox +else + exec openbox +fi + diff --git a/etc/X11/xinit/xinitrc.openbox-session2 b/etc/X11/xinit/xinitrc.openbox-session2 new file mode 100644 index 0000000..6fcd782 --- /dev/null +++ b/etc/X11/xinit/xinitrc.openbox-session2 @@ -0,0 +1,22 @@ +#!/bin/sh +# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $ + +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap + +# merge in defaults and keymaps +[ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources +[ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap +[ -f $userresources ] && /usr/bin/xrdb -merge $userresources +[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap + +# Create default user directory & populate it if not already existent +if [ ! -d $HOME/.config/openbox ]; then + mkdir -p $HOME/.config/openbox + cat /etc/xdg/openbox/menu.xml > $HOME/.config/openbox/menu.xml + cat /etc/xdg/openbox/rc.xml > $HOME/.config/openbox/rc.xml +fi + +exec startopenbox diff --git a/home/.Xresources b/home/.Xresources index d09b0f9..311d692 100644 --- a/home/.Xresources +++ b/home/.Xresources @@ -2,8 +2,8 @@ Xft.dpi:88 *.background: #000000 *.foreground: #ffffff -URxvt.font: xft:Px437 DOS/V re. JPN12:size=10 -URxvt.boldFont: xft:Px437 DOS/V re. JPN12:size=10 +URxvt.font: xft:Px437 DOS/V re. JPN12:size=10,xft:Terminus:size=10 +URxvt.boldFont: xft:Px437 DOS/V re. JPN12:size=10,xft:Terminus:size=10 ! black *.color0: #000000 @@ -38,16 +38,19 @@ URxvt.boldFont: xft:Px437 DOS/V re. JPN12:size=10 *.color15: #ffffff +URxvt.inputMethod: ibus URxvt.scrollBar: false URxvt.depth: 32 URxvt.urgentOnBell: true -URxvt.Iso14755: false +URxvt.iso14755: false +URxvt.iso14755_52: false URxvt.keysym.Control-Up: command:\033]720;1\007 URxvt.keysym.Control-Down: command:\033]721;1\007 // URxvt.keysym.Control-Up: \033[1;5A // URxvt.keysym.Control-Down: \033[1;5B URxvt.keysym.Control-Right: \033[1;5C URxvt.keysym.Control-Left: \033[1;5D +// URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select,tabbed URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select URxvt.copyCommand: xclip -i -selection clipboard URxvt.pasteCommand: xclip -o -selection clipboard @@ -63,7 +66,11 @@ URxvt.urlLauncher: firefox URxvt.underlineURLs: true URxvt.urlButton: 1 URxvt.geometry: 84x24 +URxvt.tabbed.tab-fg: 1 +URxvt.tabbed.tab-bg: 0 +URxvt.tabbed.tabbar-fg: 7 +URxvt.tabbed.tabbar-bg: 0 URxvt*keysym.Shift-Up: \033[1;2A URxvt*keysym.Shift-Down: \033[1;2B URxvt*keysym.Shift-Left: \033[1;2D -URxvt*keysym.Shift-Right: \033[1;2CURXvt.inputMethod: ibus +URxvt*keysym.Shift-Right: \033[1;2C diff --git a/nvimrc b/nvimrc index 4ccbf2a..a2b95f0 100644 --- a/nvimrc +++ b/nvimrc @@ -80,13 +80,12 @@ lua <= 0 ALEDisable endif @@ -626,11 +608,11 @@ nnoremap :call InputTabNumber() inoremap :call InputTabNumber() vnoremap :call InputTabNumber() -nnoremap :Telescope live_grep -nnoremap :Telescope current_buffer_fuzzy_find -nnoremap :Telescope marks +nnoremap :Telescope live_grep theme=ivy +nnoremap :Telescope current_buffer_fuzzy_find theme=ivy +nnoremap :Telescope marks theme=ivy -nnoremap :lua ToggleDiagnostics() +nnoremap td :lua ToggleDiagnostics() nnoremap :VimspectorReset nnoremap :VimspectorToggle @@ -651,9 +633,9 @@ nnoremap t :call OpenFloat() nnoremap T :call OpenLsp() nnoremap gd -nnoremap gd :Telescope diagnostics +nnoremap gd :Telescope diagnostics theme=ivy -nnoremap gr :Telescope lsp_references +nnoremap gr :Telescope lsp_references theme=ivy nnoremap [[ ?{:nohl nnoremap ]] /}:nohl @@ -680,18 +662,28 @@ inoremap i inoremap i colorscheme base16-synth-midnight-dark -hi LineNr guibg=#000000 -hi String ctermfg=1 guifg=#ea5971 -hi Character ctermfg=1 guifg=#dddddd -hi CmpItemKindDefault guifg=#7cede9 guibg=#101010 -hi javaScriptIdentifier guifg=#ff40ff ctermfg=Magenta -hi Delimiter ctermfg=14 guifg=#cccccc -hi AvanteConflictCurrent guibg=#101010 +hi LineNr guibg=#000000 +hi String ctermfg=1 guifg=#ea5971 +hi Character ctermfg=1 guifg=#dddddd +hi CmpItemKindDefault guifg=#7cede9 guibg=#101010 +hi javaScriptIdentifier guifg=#ff40ff ctermfg=Magenta +hi Delimiter ctermfg=14 guifg=#cccccc +hi AvanteConflictCurrent guibg=#101010 hi AvanteConflictIncoming guibg=#102010 -hi PmenuSel guibg=#ffffff guifg=#202020 -hi Variable guifg=#40FF40 ctermfg=Green -hi @variable guifg=#40FF40 ctermfg=Green -hi Identifier guifg=#27ea91 +hi PmenuSel guibg=#ffffff guifg=#202020 +hi Variable guifg=#40FF40 ctermfg=Green +hi @variable guifg=#40FF40 ctermfg=Green +hi Identifier guifg=#27ea91 +hi VimspectorBPNum ctermfg=red guifg=#e05252 +hi VimspectorBPCondNum ctermfg=magenta guifg=#c678dd +hi VimspectorBPLogNum ctermfg=blue guifg=#61afef +hi VimspectorBPDisNum ctermfg=grey guifg=#5c6370 +hi VimspectorPCNum ctermfg=yellow guifg=#e5c07b +hi @type.builtin.cpp guifg=#ea5ce2 +hi SpecialChar ctermfg=9 guifg=#e4600e +hi SignColumn guibg=#000000 +hi LightlineRed guifg=#ff0000 guibg=#ffffff + hi def link @lsp.typemod.variable.defaultLibrary.javascriptreact Special hi def link @lsp.typemod.variable.defaultLibrary.typescriptreact Special hi def link @lsp.typemod.variable.defaultLibrary.javascript Special @@ -708,9 +700,13 @@ hi def link markdownRule markdownH1 hi def link markdownIdDeclaration markdownCode hi def link markdownLineStart markdownCode -hi @type.builtin.cpp guifg=#ea5ce2 -hi SpecialChar ctermfg=9 guifg=#e4600e -hi SignColumn guibg=#000000 +sign define vimspectorBP text=● texthl=WarningMsg numhl=VimspectorBPNum +sign define vimspectorBPCond text=◆ texthl=WarningMsg numhl=VimspectorBPCondNum +sign define vimspectorBPLog text=◆ texthl=SpellRare numhl=VimspectorBPLogNum +sign define vimspectorBPDisabled text=● texthl=LineNr numhl=VimspectorBPDisNum +sign define vimspectorPC text=▶ texthl=MatchParen numhl=VimspectorPCNum +sign define vimspectorPCBP text=●▶ texthl=MatchParen numhl=VimspectorPCNum + let g:vim_json_conceal=0 let g:markdown_syntax_conceal=0 diff --git a/slackware-bootstrap/kernel b/slackware-bootstrap/kernel index 100364c..a6eb9da 100755 --- a/slackware-bootstrap/kernel +++ b/slackware-bootstrap/kernel @@ -1,6 +1,6 @@ #!/bin/bash -KVER="7.0.9" +KVER="7.1.3" CVER=$(uname -r) pushd $PWD @@ -8,8 +8,8 @@ pushd $PWD mkdir $basedir/linux cd $basedir/linux wget https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-$KVER.tar.xz -unxz linux* -tar -xvf linux* +unxz linux-$KVER.tar.xz +tar -xvf linux-$KVER.tar rm *.tar.xz mv linux-$KVER /usr/src/ @@ -20,7 +20,7 @@ make mrproper zcat /proc/config.gz > .config make olddefconfig -make -j12 +make -j$(nproc) make modules_install cp arch/x86/boot/bzImage /boot/vmlinuz-$KVER diff --git a/vimrc b/vimrc index d989341..80c13ff 100644 --- a/vimrc +++ b/vimrc @@ -27,7 +27,7 @@ Plug 'MunifTanjim/nui.nvim' Plug 'MeanderingProgrammer/render-markdown.nvim' Plug 'nvim-tree/nvim-web-devicons' Plug 'HakonHarnes/img-clip.nvim' -Plug 'jcdickinson/wpm.nvim' +" Plug 'jcdickinson/wpm.nvim' Plug 'puremourning/vimspector' call plug#end() -- cgit v1.2.3