From 964c3f2aa65be9aa2c5af623a852ac6c2fc86edc Mon Sep 17 00:00:00 2001 From: Gregor Feierabend <23300469@sun.ac.za> Date: Wed, 25 Aug 2021 16:21:18 +0200 Subject: [PATCH] config update --- .Xresources | 2 +- .config/cmus/autosave | 4 ++-- .config/i3/config | 11 ++++++----- .config/qpdfview/qpdfview.conf | 14 +++++++------- .muttrc | 2 +- .vimrc | 7 +++++-- 6 files changed, 22 insertions(+), 18 deletions(-) diff --git a/.Xresources b/.Xresources index c3d8a40..a587bcf 100755 --- a/.Xresources +++ b/.Xresources @@ -62,7 +62,7 @@ urxvt.color15: #eeeeec !urxvt.colorIT: green !https://unix.stackexchange.com/questions/232881/urxvt-change-background-color-on-the-fly -URxvt*keysym.Control-Shift-F9: command:\033]10;#1d1f21\007\ +urxvt*keysym.Control-Shift-F9: command:\033]10;#1d1f21\007\ \033]11;#fffff0\007\ \033]12;#000000\007\ \033]4;0;#CFCFCF\007\ diff --git a/.config/cmus/autosave b/.config/cmus/autosave index 71cfbf5..58a21c5 100644 --- a/.config/cmus/autosave +++ b/.config/cmus/autosave @@ -89,12 +89,12 @@ set mixer.alsa.device= set mixer.pulse.restore_volume=1 set mouse=false set mpris=false -set output_plugin=alsa +set output_plugin=pulse set passwd= set pl_sort= set play_library=false set play_sorted=false -set repeat=true +set repeat=false set repeat_current=false set replaygain=disabled set replaygain_limit=true diff --git a/.config/i3/config b/.config/i3/config index e2b78ab..31f01e2 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -226,8 +226,8 @@ for_window [title="^Emulator$"] move scratchpad for_window [title="Android Emulator - thePhone:5554"] resize set 375 667 for_window [title="Android Emulator*"] scratchpad show -focus_on_window_activation none -no_focus [class="qpdfview"] +#focus_on_window_activation none +#no_focus [class="qpdfview"] #client.focused #00eb00 #00eb00 #00eb00 #00eb00 #client.focused_inactive #ff14ff #ff14ff #ffffff #484e50 @@ -238,6 +238,7 @@ default_border pixel 4 default_floating_border pixel 1 hide_edge_borders both -exec --no-startup-id compton -exec --no-startup-id pasystray -exec --no-startup-id /usr/bin/xbattbar -a -c -t 2 -I "#333333" -O white -i white -o "#333333" +#exec --no-startup-id compton +#exec --no-startup-id pasystray +#exec --no-startup-id /usr/bin/xbattbar -a -c -t 2 -I "#333333" -O white -i white -o "#333333" +exec --no-startup-id ~/.config/i3/scripts/startup.sh diff --git a/.config/qpdfview/qpdfview.conf b/.config/qpdfview/qpdfview.conf index a54e104..905096f 100644 --- a/.config/qpdfview/qpdfview.conf +++ b/.config/qpdfview/qpdfview.conf @@ -6,7 +6,7 @@ convertToGrayscale=false highlightAll=true highlightCurrentThumbnail=true highlightDuration=5000 -invertColors=false +invertColors=true layoutMode=1 limitThumbnailsToResults=false matchCase=false @@ -19,7 +19,7 @@ prefetch=true prefetchDistance=10 rotateModifiers=33554432 rotation=0 -scaleFactor=1.1941294260739577 +scaleFactor=7.345037176032628 scaleMode=1 scrollModifiers=134217728 sourceEditor= @@ -40,11 +40,11 @@ exitAfterLastTab=false extendedSearchDock=true fileToolBar=openInNewTab, refresh fontsDialogSize=@Size(278 244) -geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x5\x9f\0\0\x3p\0\0\0\0\0\0\0\0\0\0\x5\x9f\0\0\x3p\0\0\0\0\0\0\0\0\x5\xa0\0\0\0\0\0\0\0\0\0\0\x5\x9f\0\0\x3p) +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2\x9e\0\0\0\0\0\0\x5\x9f\0\0\x3p\0\0\x2\xa2\0\0\0\0\0\0\x5\x9f\0\0\x3p\0\0\0\0\0\0\0\0\x5\xa0\0\0\x2\xa2\0\0\0\0\0\0\x5\x9f\0\0\x3p) instanceNameInWindowTitle=false keepRecentlyClosed=false newTabNextToCurrentTab=true -openPath=/SHARED/academics/2021/M324/tut_feedback +openPath=/SHARED/academics/cocalc-shared/CS354/project1/doc recentlyClosedCount=5 recentlyUsed=@Invalid() recentlyUsedCount=10 @@ -57,7 +57,7 @@ scrollableMenus=false searchableMenus=false settingsDialogSize=@Size(430 663) spreadTabs=true -state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x2\0\0\0\0\0\0\0\xb3\0\0\x3q\xfc\x2\0\0\0\x3\xfb\0\0\0\x16\0o\0u\0t\0l\0i\0n\0\x65\0\x44\0o\0\x63\0k\0\0\0\0\0\0\0\x3q\0\0\0\x91\0\xff\xff\xff\xfb\0\0\0\x1c\0p\0r\0o\0p\0\x65\0r\0t\0i\0\x65\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\0\0\x3q\0\0\0\x91\0\xff\xff\xff\xfb\0\0\0\x1c\0t\0h\0u\0m\0\x62\0n\0\x61\0i\0l\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\0\0\x3q\0\0\0\x91\0\xff\xff\xff\0\0\0\x3\0\0\x5\xa0\0\0\0\xcd\xfc\x1\0\0\0\x2\xfb\0\0\0\x1a\0\x62\0o\0o\0k\0m\0\x61\0r\0k\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\0\0\x5\xa0\0\0\0\x91\0\xff\xff\xff\xfb\0\0\0\x14\0s\0\x65\0\x61\0r\0\x63\0h\0\x44\0o\0\x63\0k\x2\0\0\x1\xa6\0\0\x1>\0\0\x2q\0\0\0\xfc\0\0\x5\xa0\0\0\x3q\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x3\0\0\0\x16\0\x66\0i\0l\0\x65\0T\0o\0o\0l\0\x42\0\x61\0r\0\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x16\0\x65\0\x64\0i\0t\0T\0o\0o\0l\0\x42\0\x61\0r\0\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x16\0v\0i\0\x65\0w\0T\0o\0o\0l\0\x42\0\x61\0r\0\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0) +state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x2\0\0\0\0\0\0\0\xb3\0\0\x3q\xfc\x2\0\0\0\x3\xfb\0\0\0\x16\0o\0u\0t\0l\0i\0n\0\x65\0\x44\0o\0\x63\0k\0\0\0\0\0\0\0\x3q\0\0\0\x91\0\xff\xff\xff\xfb\0\0\0\x1c\0p\0r\0o\0p\0\x65\0r\0t\0i\0\x65\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\0\0\x3q\0\0\0\x91\0\xff\xff\xff\xfb\0\0\0\x1c\0t\0h\0u\0m\0\x62\0n\0\x61\0i\0l\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\0\0\x3q\0\0\0\x91\0\xff\xff\xff\0\0\0\x3\0\0\x2\xcc\0\0\0~\xfc\x1\0\0\0\x2\xfb\0\0\0\x1a\0\x62\0o\0o\0k\0m\0\x61\0r\0k\0s\0\x44\0o\0\x63\0k\0\0\0\0\0\0\0\x2\xcc\0\0\0\x91\0\xff\xff\xff\xfb\0\0\0\x14\0s\0\x65\0\x61\0r\0\x63\0h\0\x44\0o\0\x63\0k\x2\0\0\0p\0\0\0\xb5\0\0\x2q\0\0\0\xfc\0\0\x2\xfe\0\0\x3q\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x3\0\0\0\x16\0\x66\0i\0l\0\x65\0T\0o\0o\0l\0\x42\0\x61\0r\0\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x16\0\x65\0\x64\0i\0t\0T\0o\0o\0l\0\x42\0\x61\0r\0\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x16\0v\0i\0\x65\0w\0T\0o\0o\0l\0\x42\0\x61\0r\0\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0) styleSheet="\n\n/*-----QWidget-----*/\nQWidget\n{\n\tbackground-color: #232430;\n\tcolor: #EEEEEE;\n\tborder-color: #000000;\n\n}\n\n\n/*-----QLabel-----*/\nQLabel\n{\n\tbackground-color: #232430;\n\tcolor: #c1c1c1;\n\tborder-color: #000000;\n\n}\n\n/*-----QLineEdit-----*/\nQLineEdit\n{\n\tbackground-color: #38394e;\n\tcolor: #c1c1c1;\n\tborder-style: solid;\n\tborder-width: 1px;\n\tborder-color: #4a4c68;\n\n}\n\n\n/*-----QTableView-----*/\nQTableView, \nQHeaderView, \nQTableView::item \n{\n\tbackground-color: #232430;\n\tcolor: #c1c1c1;\n\tborder: none;\n\n}\n\n\nQTableView::item:selected \n{ \n background-color: #41424e;\n color: #c1c1c1;\n\n}\n\n\nQHeaderView::section:horizontal \n{\n background-color: #232430;\n\tborder: 1px solid #37384d;\n\tpadding: 5px;\n\n}\n\n\nQTableView::indicator{\n\tbackground-color: #1d1d28;\n\tborder: 1px solid #37384d;\n\n}\n\n\nQTableView::indicator:checked{\n\timage:url(./ressources/check.png); /*To replace*/\n\tbackground-color: #1d1d28;\n\n}\n\n/*-----QTabWidget-----*/\nQTabWidget::pane \n{ \n border: none;\n\n}\n\n\nQTabWidget::tab-bar \n{\n left: 5px; \n\n}\n\n\nQTabBar::tab \n{\n color: #c1c1c1;\n min-width: 1px;\n\tpadding-left: 25px;\n\tmargin-left:-22px;\n height: 28px;\n\tborder: none;\n\n}\n\n\nQTabBar::tab:selected \n{\n color: #c1c1c1;\n\tfont-weight: bold;\n height: 28px;\n\n}\n\n\nQTabBar::tab:!first \n{\n margin-left: -20px;\n\n}\n\n\nQTabBar::tab:hover \n{\n color: #DDD;\n\n}\n\n/*-----QTableView & QTableWidget-----*/\nQTableView\n{\n background-color: #202030;\n border: 1px solid #32414B;\n color: #f0f0f0;\n gridline-color: #8faaff;\n outline : 0;\n\n}\n\n\n/*-----QScrollBar-----*/\nQScrollBar:horizontal \n{\n background-color: transparent;\n height: 8px;\n margin: 0px;\n padding: 0px;\n\n}\n\n\nQScrollBar::handle:horizontal \n{\n border: none;\n\tmin-width: 100px;\n background-color: #56576c;\n\n}\n\n\nQScrollBar::add-line:horizontal, \nQScrollBar::sub-line:horizontal,\nQScrollBar::add-page:horizontal, \nQScrollBar::sub-page:horizontal \n{\n width: 0px;\n background-color: transparent;\n\n}\n\n\nQScrollBar:vertical \n{\n background-color: transparent;\n width: 8px;\n margin: 0;\n\n}\n\n\nQScrollBar::handle:vertical \n{\n border: none;\n\tmin-height: 100px;\n background-color: #56576c;\n\n}\n\n\nQScrollBar::add-line:vertical, \nQScrollBar::sub-line:vertical,\nQScrollBar::add-page:vertical, \nQScrollBar::sub-page:vertical \n{\n height: 0px;\n background-color: transparent;\n\n}\n" synchronizeOutlineView=false synchronizeSplitViews=false @@ -71,7 +71,7 @@ viewToolBar=scaleFactor, zoomIn, zoomOut [pageItem] addAnnotationModifiers=67108864 -annotationColor=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\xff\xff\0\0\0\0) +annotationColor=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\0\0\0\0\0\0) annotationOverlay=false backgroundColor=@Variant(\0\0\0\x43\x1\xff\xff\0\0\0\0\0\0\0\0) cacheSize=262144K @@ -80,7 +80,7 @@ decorateFormFields=false decorateLinks=false decoratePages=true formFieldOverlay=true -highlightColor=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\x14\x14\x93\x93\0\0) +highlightColor=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\0\0\0\0\0\0) keepObsoletePixmaps=false openInSourceEditorModifiers=0 paperColor=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\xff\xff\xf0\xf0\0\0) diff --git a/.muttrc b/.muttrc index 32cace4..11c002e 100644 --- a/.muttrc +++ b/.muttrc @@ -87,7 +87,7 @@ set query_command="lbdbq %s" set tmpdir="~/MAIL/mutttmp/" set message_cachedir="~/MAIL/muttmcache/" set header_cache="~/MAIL/mutthcache/" -source ~/MAIL/muttrc.mailboxes +source ~/test_muttrc.mailboxes source ~/MAIL/muttrc.aliases alias rianaroux \"Roux, Riana [rianaroux@sun.ac.za]\" alias Dario Dario <20854714@sun.ac.za> diff --git a/.vimrc b/.vimrc index b85b034..880c733 100644 --- a/.vimrc +++ b/.vimrc @@ -55,8 +55,8 @@ set foldtext=FoldText() "check files for changes frequently set autoread -"set ut=1000 -"au CursorHold * checktime +set ut=1000 +au CursorHold * checktime "highlight own types: au BufRead,BufNewFile *.[ch] let fname = expand(':p:h') . '/types.vim' @@ -174,6 +174,9 @@ map :lnext autocmd FileType c set formatprg=uncrustify\ -l\ c\ --frag\ -q +"https://vim.fandom.com/wiki/Highlight_current_line#Highlighting_that_stays_after_cursor_moves +nnoremap h ml:execute 'match Search /\%'.line('.').'l/' + """""""""""""""""""""""""""""""""""""" VIMUX """"""""""""""""""""""""""""""""""" "https://github.com/preservim/vimux.git