From eec48ff71881d8757b79dcd95aac9dac4d71bf72 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Sun, 12 May 2024 21:01:00 +0200 Subject: tidied this repo up and uploaded my new nvim from scratch config --- utils/Xresources | 192 --------------------------------- utils/applications/gvim-buffer.desktop | 10 -- utils/applications/gvim.desktop | 10 -- utils/applications/nvim.desktop | 10 -- utils/applications/vim.desktop | 15 --- utils/bashrc | 46 -------- utils/default-font.conf | 82 -------------- utils/default-font.conf.old | 49 --------- utils/gtk-3.0.css | 132 ----------------------- utils/gtkrc-2.0 | 1 - utils/locale.conf | 14 --- utils/update.sh | 1 - utils/xinputrc | 3 - 13 files changed, 565 deletions(-) delete mode 100644 utils/Xresources delete mode 100644 utils/applications/gvim-buffer.desktop delete mode 100644 utils/applications/gvim.desktop delete mode 100644 utils/applications/nvim.desktop delete mode 100755 utils/applications/vim.desktop delete mode 100644 utils/bashrc delete mode 100644 utils/default-font.conf delete mode 100644 utils/default-font.conf.old delete mode 100644 utils/gtk-3.0.css delete mode 100644 utils/gtkrc-2.0 delete mode 100644 utils/locale.conf delete mode 100644 utils/update.sh delete mode 100644 utils/xinputrc (limited to 'utils') diff --git a/utils/Xresources b/utils/Xresources deleted file mode 100644 index 08969ac..0000000 --- a/utils/Xresources +++ /dev/null @@ -1,192 +0,0 @@ -#include "/home/max/.local/share/base16/base16-xresources/xresources/base16-tomorrow-night.Xresources" -! #include "/home/max/.local/share/base16/base16-xresources/xresources/base16-tomorrow.Xresources" - -urxvt.scrollBar: false -urxvt.background: base00 -urxvt.color0: base00 -urxvt.color1: base00 -urxvt.color2: base00 -urxvt.color3: base00 -urxvt.color4: base00 -urxvt.color5: base00 -urxvt.color6: base00 -urxvt.color7: base00 -urxvt.color8: base00 -urxvt.color9: base00 - -! *Dialog.foreground: foreground -! *Dialog.background: base00 -! *Dialog.Button.foreground: base05 -! *Dialog.Button.background: base00 -! !*Dialog.Button.pointBackground: #EAEAEA -! !*Dialog.Button.clickBackground: #C3C3C3 -! *Dialog.text.foreground: base02 -! *Dialog.text.background: base00 -! *Dialog.topShadowColor: base03 -! *Dialog.bottomShadowColor: base04 - -xscreensaver.logFile:/home/max/xscreensaver.log -xscreensaver.verbose:true -*.newLoginCommand: xset dpms force off - -Xft.antialias: true -Xft.lcdfilter: lcddefault -Xft.hinting: true -Xft.rgba: rgb -Xft.hintstyle: hintfull -Xft.dpi: 96 - -!*passwd.passwdFont: *-helvetica-medium-r-*-*-*-140-*-*-*-iso8859-1 -!*passwd.passwdFont: - -!*font: -*-clean-medium-r-*--12-*-*-*-*-*-*-* -!*font: xft:Bitstream Vera Sans Mono-8 -!*font: *-dejavu sans-bold-r-*-*-*-*-*-*-*-*-*-* -!*font: *-monospace-bold-r-*-*-*-*-*-*-*-*-*-* -!*.font: xft:monaco:bold:size=8 -!*.font: xft:RobotoMono Nerd Font:bold:size=10 -*.passwdFont: xft:monospace -*.font: xft:monospace - - -xscreensaver.overlayTextForeground: #FFFF00 -xscreensaver.overlayTextBackground: #000000 - - -*passwd.thermometer.foreground: #FF0000 -*passwd.thermometer.background: #FFFFFF - -*passwd.heading.label: XScreenSaver %s -*passwd.body.label: This screen is fucked. -*passwd.unlock.label: unfuck -*passwd.login.label: dpms: off -*passwd.user.label: User: -*passwd.thermometer.width: 12 -*passwd.asterisks: True -*passwd.uname: False - - -XLock*mode: image -*image.bitmap: /home/max/.lock.xpm -*image.count: 1 -*image.erasedelay: 0 -XLock*erasedelay: 0 -XLock*icongeometry: 180x180 -! XLock*background: background -! XLock*foreground: foreground -XLock*description: off -XLock*info: - - - - -! ---=== Experiment with making Motif less ugly for DDD ===--- -! (DDD ignores generically-set Motif properties so we must do this) -! TODO (if possible): -! - Hide text cursors in unfocused fields -! - Convert on-hover effect from shadow to background color or border -! - Pick better fonts and check which package provides them - -! Use the lighter background grey from the Lubuntu GTK+ theme -! (Still a cool grey. Eyedropper the Clearlooks warm grey if necessary.) -Ddd*background: #e0e0e0 - -! These had no effect on my system but, from what I read, they help on -! some systems. -Ddd*enableThinThickness: True -Ddd*enableEtchedInMenu: True -Ddd*enableToggleColor: True -Ddd*enableToggleVisual: True - -! Use pure white for white backgrounds like modern widget themes and websites -Ddd*XmText.background: #ffffff -Ddd*XmTextField.background: #ffffff -Ddd*XmList.background: #ffffff -Ddd*GraphEdit.background: #ffffff - -! Thick borders and shadows everywhere are archaic -Ddd*shadowThickness: 1 -Ddd*borderThickness: 0 -Ddd*?*arg*shadowThickness: 1 -Ddd*?*arg*borderThickness: 0 -Ddd*?*buttons*shadowThickness: 1 -Ddd*?*buttons*borderThickness: 0 - -! Un-cramp the menubar, menus, and toolbar to match modern compact sizing -Ddd*menubar*marginTop: 1 -Ddd*menubar*marginBottom: 0 -Ddd*XmMenuShell*marginTop: 2 -Ddd*XmMenuShell*marginBottom: 2 -Ddd*XmMenuShell.?.marginWidth: 2 -Ddd*XmMenuShell.?.marginHeight: 2 -Ddd*toolbar*marginWidth: 5 - -! Compact the menu tear-off buttons -Ddd*XmMenuShell*XmTearOffButton*borderWidth: 0 -Ddd*XmMenuShell*XmTearOffButton*marginHeight: 0 - -! DDD's interpretation of a "toggle button" shouldn't have a raised border -Ddd*XmToggleButton*shadowThickness: 0 -Ddd*XmToggleButton*borderThickness: 0 - -! The menu bar should not have a raised border -Ddd*menubar.shadowThickness: 0 -Ddd*menubar.borderThickness: 0 -Ddd*XmMenuShell*XmTearOffButton*ShadowThickness: 2 - -! ...and we do not want a border around the toolbar to make that stand out -Ddd*main_window.?.borderThickness: 0 -Ddd*main_window.shadowThickness: 0 - -! Drop-down boxes in toolbars do not have raised borders these days -Ddd*toolbar.shadowThickness: 0 -Ddd*toolbar.?.shadowThickness: 1 - -! DDD can sometimes get its GDB settings fatally messed up so duplicate -! GUI-exposed integration defaults here for when I want to nuke ~/.ddd/init -Ddd*cutCopyPasteBindings: KDE -Ddd*selectAllBindings: KDE -Ddd*buttonColorKey: c -Ddd*FlatButtons: on - - -! Good Xaw3d Defaults*customization: -color -*shadowWidth: 3 -*Form.background: gray75 -*MenuButton.background: gray75 -*SimpleMenu.background: gray70 -*TransientShell*Dialog.background: gray70 -*Command.background: gray75 -*Label.background: gray75 -*ScrollbarBackground: grey39 -*Scrollbar*background: gray75 -*Scrollbar*width: 15 -*Scrollbar*height: 15 -*Scrollbar*shadowWidth: 2 -*Scrollbar*cursorName: top_left_arrow -*Scrollbar*pushThumb: false -*shapeStyle: Rectangle -*beNiceToColormap: False -*SmeBSB*shadowWidth: 3 -*highlightThickness: 0 -*topShadowContrast: 40 -*bottomShadowContrast: 60 -! fix up a few of the default X clients who -! now look silly -*xclock*shadowWidth: 0 -*xload*shadowWidth: 0 -*xcalc*shadowWidth: 0 - - -XTerm.vt100.faceName: Monospace:antialias=true -XTerm.vt100.faceSize: 12 -! XTerm.vt100.font: 7x14 -XTerm.vt100.locale: true -XTerm.vt100.utf8Title: true - - -! keepassx colourscheme -keepassx*background: #cfcfcf -keepassx*foreground: #222222 -keepassx2*background: #cfcfcf -keepassx2*foreground: #222222 diff --git a/utils/applications/gvim-buffer.desktop b/utils/applications/gvim-buffer.desktop deleted file mode 100644 index 5cd2cbf..0000000 --- a/utils/applications/gvim-buffer.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Gnome Vi IMproved Buffer -Icon=gvim -Comment=Open file in an existing instance of vi and in a new tab -MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; -Exec=gvim -f -N --remote-silent %F -Terminal=false -X-XClassHintResName=VIM -Categories=Utility;TextEditor; diff --git a/utils/applications/gvim.desktop b/utils/applications/gvim.desktop deleted file mode 100644 index 37c6e58..0000000 --- a/utils/applications/gvim.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Name=Vi IMproved Tab -Comment=Open file in an existing instance of vi and in a new tab -MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; -Exec=gvim f -N --remote-tab %F -Icon=gvim -Type=Application -Terminal=false -X-XClassHintResName=VIM -Categories=Utility;TextEditor; diff --git a/utils/applications/nvim.desktop b/utils/applications/nvim.desktop deleted file mode 100644 index 21f0090..0000000 --- a/utils/applications/nvim.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Version=1.0 -Type=Application -Name=Vim -Comment= -Exec=xfce4-terminal --icon /usr/share/icons/HighContrast/256x256/apps/vim.png -T 'nvim' -e '/bin/bash -i -c "env TERM=gnome-256color screen nvr ."' --fullscreen -Icon=/usr/share/icons/HighContrast/256x256/apps/vim.png -Path= -Terminal=false -StartupNotify=false diff --git a/utils/applications/vim.desktop b/utils/applications/vim.desktop deleted file mode 100755 index 8169f57..0000000 --- a/utils/applications/vim.desktop +++ /dev/null @@ -1,15 +0,0 @@ -[Desktop Entry] -Version=1.0 -Type=Application -Name=Vi IMproved -Comment=Open file in an existing instance of vi and in a new tab -Icon=gvim -MimeType=text/* -Categories=Application;Utility;TextEditor; -Exec=vim %F -Terminal=true -Actions=Server; - -[Desktop Action Server] -Exec=vim --servername VIM --remote-silent %F -Name=Browse in Server diff --git a/utils/bashrc b/utils/bashrc deleted file mode 100644 index f0ee98b..0000000 --- a/utils/bashrc +++ /dev/null @@ -1,46 +0,0 @@ - -# gvim () { /bin/gvim $(if [[ "$#" > 0 && `/bin/gvim --serverlist | wc -l` ]]; then echo --remote; fi) $@; } -# vim () { /bin/vim $(if [[ "$#" > 0 && `/bin/vim --serverlist | wc -l` ]]; then echo --remote; fi) $@; } - -# man() -# { -# /bin/gvim \ -# $(if [[ `/bin/gvim --serverlist | wc -l` > 0 ]]; then echo --remote-send; fi) \ -# ":enew:0read !groffer --pager='cat' --tty $1 col -bx :set filetype=man buftype=nowrite readonlygg"; -# } - -# export MANPAGER='vim -c":set noswapfile|%!col -b" -c":file man|:setlocal filetype=man buftype=nowrite readonly nonumber nolist signcolumn=no" -' -export MANPAGER="vim -M +MANPAGER -" - -# man() { /bin/vim ":enew:0read !groffer --pager='cat' --tty $1 col -bx :set filetype=man buftype=nowrite readonlygg" -; } -# alias git='git -c color.ui=false' -# export GIT_DIFF_OPTS="--no-color" - - - -git config --global --replace-all color.pager 0 -git config --global --replace-all core.pager 'vim -c":set noswapfile filetype=git buftype=nowrite readonly nolist nonumber signcolumn=no|:file git" -' -# export GIT_PAGER='' - -# alias git="TERM=dumb git" - -# export EDITOR="gvim()" -# export PAGER="tee /tmp/output.txt /dev/stdout | /bin/vim -" - -# --remote-expr ":%!col -b" -c":set buftype=nowrite filetype=man readonly" -'A - -function vim() { - SERVER=$(ls -tr "$XDG_RUNTIME_DIR"/nvim.* | tail -n1) - if [ $# -gt 0 ] && [ -n "$SERVER" ]; then - for i in "$@"; do - NEXT=$(realpath "$i") - nvim --server "$SERVER" --remote-silent "$NEXT" - done - else - nvim $@ - fi - -} - - - diff --git a/utils/default-font.conf b/utils/default-font.conf deleted file mode 100644 index f905783..0000000 --- a/utils/default-font.conf +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - monospace - - - FuraCode Nerd Font Mono Medium - FiraCode Nerd Font - FuraCode Nerd Font - Noto Color Emoji - - - liga on - dlig on - - italic - bold - - - - - - - Symbola - - - - - - serif - - Noto Serif - - - - sans-serif - - Noto Sans - - - - 102 - - - - - Tahoma - - - Sans-Serif - - - - diff --git a/utils/default-font.conf.old b/utils/default-font.conf.old deleted file mode 100644 index ec2e12e..0000000 --- a/utils/default-font.conf.old +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - serif - Noto Serif - - - sans-serif - Noto Sans - - - monospace - Hack - Noto Color Emoji - emoji - - italic - bold - - - diff --git a/utils/gtk-3.0.css b/utils/gtk-3.0.css deleted file mode 100644 index c31c8bf..0000000 --- a/utils/gtk-3.0.css +++ /dev/null @@ -1,132 +0,0 @@ -/* name or link this file ~/.config/gtk-3.0/gtk.css */ - -/* -#vim-menubar, -#vim-menubar #menu, -#vim-toolbar, -#vim-gui-drawarea, -#vim-main-window { - color:#6060af; - color: #4e4e4e; - font-family: "Hasklug Nerd Font Mono", "Source Code Pro for Powerline", "Source Code Pro", "Roboto"; - font-weight:bold; - font-size:8pt; - border:0; - outline:0; -} - -* { - border-width:0px; - outline-width:0px; - padding:0; - margin:0; -} - -#vim-menubar -{ - padding-left:1em; - border-bottom:2px solid #ffffff; -} - -#vim-menubar>* -{ - padding-right:1em; - padding-top:.25em; - padding-bottom:.25em; -} - -#vim-menubar>*, -#vim-main-window { - background-color:#ffffff; - color: #4e4e4e; -} - -menu menuitem:backdrop, menu menuitem:backdrop:hover -{ - border:0px; -} -*/ - - - -window#vim-main-window > box -{ - background: currentColor; - border:2px solid transparent; -} - -/* within window > box ... */ -menubar#vim-menubar { - font-family: "monospace"; - font-size:8pt; - background: transparent; - color:lighter(currentColor); - /* background: linear-gradient(180deg, white 85%, black); */ -} - -menubar#vim-menubar menuitem { - background:transparent; - color:mix(currentColor,#fff,0.5); -} - - - -menubar#vim-menubar > menuitem { - padding:.25em; -} - -menubar#vim-menubar > menuitem:disabled accelerator -{ - color:#f00; -} - -menubar#vim-menubar menuitem box { - padding:.1em .25em; -} - -menubar#vim-menubar menuitem window -{ - margin-top:1em; -} - -/* opened menu (after being clicked) */ -menubar#vim-menubar menuitem window menu { - background:lighter(currentColor); - padding:0; - margin:0; - border:0; -} - -menubar#vim-menubar menuitem window menu menuitem { - padding:0em; - margin:0px; - border:0px; -} - -menubar#vim-menubar menuitem window menu menuitem box { - padding:.25em; - padding-left:.5em; -} - -menubar#vim-menubar menuitem window menu separator { - margin:0; - background:currentColor; - border-top:1px dotted #666; -} - - -menubar#vim-menubar menuitem:hover { - box-shadow:none; - background:darker(currentColor); - color:#fff; -} - - - - - - -/* -toolbar button { -notebook tab { -*/ diff --git a/utils/gtkrc-2.0 b/utils/gtkrc-2.0 deleted file mode 100644 index 05caadc..0000000 --- a/utils/gtkrc-2.0 +++ /dev/null @@ -1 +0,0 @@ -gtk-icon-theme-name="gnome" diff --git a/utils/locale.conf b/utils/locale.conf deleted file mode 100644 index cd2bb00..0000000 --- a/utils/locale.conf +++ /dev/null @@ -1,14 +0,0 @@ -LANG=de_DE.utf8 -LC_CTYPE=de_DE.utf8 -LC_NUMERIC=de_DE.utf8 -LC_TIME=de_DE.utf8 -LC_COLLATE=C -LC_MONETARY=de_DE.utf8 -LC_MESSAGES=de_DE.utf8 -LC_PAPER=de_DE.utf8 -LC_NAME=de_DE.utf8 -LC_ADDRESS=de_DE.utf8 -LC_TELEPHONE=de_DE.utf8 -LC_MEASUREMENT=de_DE.utf8 -LC_IDENTIFICATION=de_DE.utf8 -LC_ALL=de_DE.utf8 diff --git a/utils/update.sh b/utils/update.sh deleted file mode 100644 index 875dc89..0000000 --- a/utils/update.sh +++ /dev/null @@ -1 +0,0 @@ -git submodule update --remote --checkout --recursive --force diff --git a/utils/xinputrc b/utils/xinputrc deleted file mode 100644 index ebd7310..0000000 --- a/utils/xinputrc +++ /dev/null @@ -1,3 +0,0 @@ -# im-config(8) generated on Tue, 28 Feb 2017 13:21:48 +0100 -run_im ibus -# im-config signature: ec6901ebc5d2dcf71d14062c6968658e - -- cgit v1.2.3