From cd289aaa72da2b9fe7828405e19ffe7a0da73055 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 1 Feb 2021 14:32:26 +0100 Subject: [PATCH 01/66] updated package list --- pip-modules.txt | 13 +++++++------ pkglist.txt | 11 +++++++++++ 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/pip-modules.txt b/pip-modules.txt index f175c91..00ef34c 100644 --- a/pip-modules.txt +++ b/pip-modules.txt @@ -7,7 +7,7 @@ astroid==2.4.2 attrs==20.3.0 Babel==2.9.0 backcall==0.2.0 -btrfsutil==5.9 +btrfsutil==5.10 CacheControl==0.12.6 cairocffi==1.2.0 certifi==2020.6.20 @@ -22,12 +22,12 @@ distlib==0.3.1 distro==1.5.0 docopt==0.6.2 docutils==0.16 -evdev==1.3.0 +evdev==1.4.0 gscreenshot==2.13.0 html5lib==1.1 idna==2.10 imagesize==1.2.0 -importlib-metadata==3.3.0 +importlib-metadata==3.4.0 iniconfig==1.1.1 ipykernel==5.3.4 ipython==7.19.0 @@ -41,7 +41,7 @@ keyutils==0.6 lazy-object-proxy==1.4.3 lensfun==0.3.95 louis==3.16.0 -lutris==0.5.8.1 +lutris==0.5.8.3 lxml==4.6.2 MarkupSafe==1.1.1 mccabe==0.6.1 @@ -106,11 +106,12 @@ team==1.0 toml==0.10.2 tornado==6.1 traitlets==5.0.5 -udiskie==2.2.0 -urllib3==1.26.1 +udiskie==2.3.2 +urllib3==1.26.2 wcwidth==0.2.5 webencodings==0.5.1 wrapt==1.12.1 wxPython==4.0.7.post2 xcffib==0.11.1 +youtube-dl==2021.1.24.1 zipp==3.4.0 diff --git a/pkglist.txt b/pkglist.txt index 03d4c31..e2bdd80 100644 --- a/pkglist.txt +++ b/pkglist.txt @@ -10,6 +10,7 @@ arm-none-eabi-gcc arm-none-eabi-gdb arm-none-eabi-newlib autoconf +autocutsel automake balena-etcher base @@ -21,13 +22,16 @@ bitwarden-rofi breeze-gtk breeze-icons capitaine-cursors +cdrtools chromium +copyq cronie cups cura discord dnsmasq dosfstools +downgrade drawio-desktop dunst efibootmgr @@ -50,6 +54,7 @@ htop inkscape jre-openjdk jre8-openjdk +keepassxc kicad kicad-library kicad-library-3d @@ -89,6 +94,7 @@ paprefs patch pavucontrol pcmanfm-gtk3 +pdftk picom pikaur pkgconf @@ -108,6 +114,7 @@ redshift redshiftgui-bin rofi rofi-calc +signal-desktop skypeforlinux-stable-bin slack-desktop spotify @@ -134,6 +141,7 @@ texlive-publishers texlive-science thunderbird timeshift +tree ttf-dseg ttf-liberation ttf-ubuntu-font-family @@ -146,7 +154,9 @@ virtualbox virtualbox-host-modules-arch visual-studio-code-bin vlc +vlc-pause-click-plugin wd719x-firmware +whatsapp-for-linux which wine xarchiver @@ -205,5 +215,6 @@ xorg-xwd xorg-xwininfo xorg-xwud xterm +youtube-dl zip zvbi From 4834f2e5976a22ff69ad9a5e01c3727b7c103b17 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 1 Feb 2021 21:00:12 +0100 Subject: [PATCH 02/66] added library needed for autostart --- qtile/.config/qtile/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qtile/.config/qtile/config.py b/qtile/.config/qtile/config.py index 7058cf7..0c4ab37 100644 --- a/qtile/.config/qtile/config.py +++ b/qtile/.config/qtile/config.py @@ -1,5 +1,6 @@ import os import sys +import subprocess from libqtile import layout, bar, widget, hook from libqtile.config import Key, Drag, Click, Group, Screen, ScratchPad, DropDown From abce78df8dab077d2296c0ee32e9610cd2d896d2 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Wed, 3 Feb 2021 11:55:00 +0100 Subject: [PATCH 03/66] added ability to move to next screen --- qtile/.config/qtile/Keys.py | 1 + qtile/.config/qtile/screenshot.sh | 2 ++ qtile/.config/qtile/test.py | 27 +-------------------------- 3 files changed, 4 insertions(+), 26 deletions(-) create mode 100755 qtile/.config/qtile/screenshot.sh diff --git a/qtile/.config/qtile/Keys.py b/qtile/.config/qtile/Keys.py index d783bd1..704dd42 100644 --- a/qtile/.config/qtile/Keys.py +++ b/qtile/.config/qtile/Keys.py @@ -13,6 +13,7 @@ keys = [ Key([mod,"mod1"], "j", lazy.to_screen(2),desc="move focus to main screen"), Key([mod,"mod1"], "l", lazy.to_screen(2),desc="move focus to main screen"), Key([mod,"mod1"], "h", lazy.to_screen(1),desc="move focus to left screen"), + Key([mod,"mod1"], "n", lazy.next_screen(),desc="move focus to left screen"), # moving windows around Key([mod, "shift"], "h", lazy.layout.swap_left(),desc="move focused window left"), diff --git a/qtile/.config/qtile/screenshot.sh b/qtile/.config/qtile/screenshot.sh new file mode 100755 index 0000000..d43848b --- /dev/null +++ b/qtile/.config/qtile/screenshot.sh @@ -0,0 +1,2 @@ +#!/bin/bash +scrot -s '/tmp/screenshots/%F_%T_$wx$h.png' -e 'echo $f | xclip -selection clipboard -target text/uri-list -i' \ No newline at end of file diff --git a/qtile/.config/qtile/test.py b/qtile/.config/qtile/test.py index 3b05375..bb60967 100644 --- a/qtile/.config/qtile/test.py +++ b/qtile/.config/qtile/test.py @@ -1,29 +1,4 @@ # This is a test file for anything. -screens = [] -main_screen_res = [3840,1440] -top_screen_res = [1440,780] - import subprocess -import re -import numpy as np -cmd = ['xrandr'] -p = subprocess.Popen(cmd, stdout=subprocess.PIPE) -resolution_string, junk = p.communicate() -p.stdout.close() -screen_resolutions = [np.array(screen_res.split('x')).astype(np.int) for screen_res in re.findall('[0-9]+x[0-9]+(?=[^\\\\n]*\*)',str(resolution_string))] -number_of_screens = len(screen_resolutions) -max_width = max(screen_resolutions, key=lambda res: res[0])[0] -defined_main_window = False -for width, height in screen_resolutions: - if width == main_screen_res[0] and height == main_screen_res[1]: - screens+=['main_screen'] - defined_main_window = True - elif width == top_screen_res[0] and height == top_screen_res[1]: - screens+=['top_screen'] - elif width == max_width and not defined_main_window: - screens+=['laptop_screen'] - defined_main_window = True - else: - screens+=['peripheral_screen'] -print(screens) \ No newline at end of file +p = subprocess.run(["bash","/home/paul/.config/qtile/screenshot.sh"]) \ No newline at end of file From 1a52af53bc34058dd2e052c63e511c7fd7795da6 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sat, 6 Feb 2021 14:03:07 +0100 Subject: [PATCH 04/66] corrected resolutions --- qtile/.config/qtile/defines.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qtile/.config/qtile/defines.py b/qtile/.config/qtile/defines.py index 37b786c..b02b5f9 100644 --- a/qtile/.config/qtile/defines.py +++ b/qtile/.config/qtile/defines.py @@ -3,8 +3,8 @@ focus_color = '#bd93f9' border_width = 2 mod = 'mod4' hotkey_file='/home/paul/Hotkeys' -main_screen_res = [3840,1440] -top_screen_res = [1440,780] +main_screen_res = [3440,1440] +top_screen_res = [1440,900] #region colors light_foreground_color = ['#f8f8f2','#f8f8f2'] From 218e9dd4cc90d16fa16c9b71eb26841b17c546c8 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sat, 6 Feb 2021 14:04:39 +0100 Subject: [PATCH 05/66] added bitwarden dropdown --- qtile/.config/qtile/Groups.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qtile/.config/qtile/Groups.py b/qtile/.config/qtile/Groups.py index f11f139..d6f9079 100644 --- a/qtile/.config/qtile/Groups.py +++ b/qtile/.config/qtile/Groups.py @@ -36,6 +36,11 @@ groups.append( 'pcmanfm', on_focus_lost_hide=False ), + DropDown( + 'bitwarden', + 'bitwarden', + on_focus_lost_hide=False, + ), DropDown( 'password manager', 'keepassxc', @@ -73,6 +78,8 @@ keys.extend([ desc="open the dropdown pavucontrol"), Key(['mod1','control'],'e',lazy.group['scratchpad'].dropdown_toggle('filemanager'), desc="open the dropdown filemanager"), + Key(['mod1','control'],'b',lazy.group['scratchpad'].dropdown_toggle('bitwarden'), + desc="open the dropdown password manager KeePassXC"), Key(['mod1','control'],'p',lazy.group['scratchpad'].dropdown_toggle('password manager'), desc="open the dropdown password manager KeePassXC"), Key(['mod1','control'],'w',lazy.group['scratchpad'].dropdown_toggle('WhatsApp'), From 0f05b0d129cc94fab9f88f2cf1d27135d6ce6dc5 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sat, 6 Feb 2021 15:08:28 +0100 Subject: [PATCH 06/66] moved autostart to shell script --- qtile/.config/qtile/autostart.sh | 10 ++++++++++ qtile/.config/qtile/config.py | 11 ++--------- qtile/.config/qtile/test.py | 4 +++- 3 files changed, 15 insertions(+), 10 deletions(-) create mode 100755 qtile/.config/qtile/autostart.sh diff --git a/qtile/.config/qtile/autostart.sh b/qtile/.config/qtile/autostart.sh new file mode 100755 index 0000000..673fd1d --- /dev/null +++ b/qtile/.config/qtile/autostart.sh @@ -0,0 +1,10 @@ +#!/bin/sh +nitrogen --restore & +bash .screenlayout/layout.sh & +pulseaudio-ctl set 50 & +dunst & +nextcloud & +timeshift & +numlockx & +redshift-gtk -t 6500:3600 & +udiskie & \ No newline at end of file diff --git a/qtile/.config/qtile/config.py b/qtile/.config/qtile/config.py index 0c4ab37..f9d212b 100644 --- a/qtile/.config/qtile/config.py +++ b/qtile/.config/qtile/config.py @@ -18,15 +18,8 @@ from Screens import screens #region Hooks @hook.subscribe.startup_once def autostart(): - processes = [ - ['nitrogen','--restore'], - ['dunst'], - ['nextcloud'], - ['redshift-gtk'], - ['udiskie'] - ] - for process in processes: - subprocess.Popen(process) + home = os.path.expanduser('~/.config/qtile/autostart.sh') + subprocess.call([home]) #region miscelanious dgroups_key_binder = None diff --git a/qtile/.config/qtile/test.py b/qtile/.config/qtile/test.py index bb60967..efb6fed 100644 --- a/qtile/.config/qtile/test.py +++ b/qtile/.config/qtile/test.py @@ -1,4 +1,6 @@ # This is a test file for anything. +import os import subprocess -p = subprocess.run(["bash","/home/paul/.config/qtile/screenshot.sh"]) \ No newline at end of file +home = os.path.expanduser('~/.config/qtile/autostart.sh') +subprocess.call([home]) \ No newline at end of file From 848326eb3ae8ca577c4b35e864dfdda3844ca7c7 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Tue, 9 Feb 2021 20:15:22 +0100 Subject: [PATCH 07/66] changed neofetch to colourfull cowsay --- bash/.bashrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bash/.bashrc b/bash/.bashrc index 2391f9b..0278343 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -85,9 +85,13 @@ alias cubemx='/usr/local/STMicroelectronics/STM32Cube/STM32CubeMX/STM32CubeMX' set -o vi # >>> neofetch >>> -neofetch +#neofetch # <<< neofetch <<< +# >>> cowsay >>> +fortune | cowsay | lolcat +# <<< cowsay <<< + # >>> powerline >>> function _update_ps1() { PS1=$(powerline-shell $?) From fa5650bc1d926fa234c2ed36df6b495c2cd77efd Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Tue, 9 Feb 2021 20:18:14 +0100 Subject: [PATCH 08/66] changed cowsay --- bash/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/.bashrc b/bash/.bashrc index 0278343..dca09b1 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -89,7 +89,7 @@ set -o vi # <<< neofetch <<< # >>> cowsay >>> -fortune | cowsay | lolcat +cowfortune # <<< cowsay <<< # >>> powerline >>> From 6172ae9c2a044d73545c4d99ab539c2348047629 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Tue, 9 Feb 2021 23:20:47 +0100 Subject: [PATCH 09/66] changed vim leader --- bash/.bashrc | 3 ++- vim/.vimrc | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bash/.bashrc b/bash/.bashrc index dca09b1..fe68076 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -89,7 +89,8 @@ set -o vi # <<< neofetch <<< # >>> cowsay >>> -cowfortune +#cowfortune +neofetch # <<< cowsay <<< # >>> powerline >>> diff --git a/vim/.vimrc b/vim/.vimrc index b26441e..fa241c2 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -14,6 +14,10 @@ Plug 'tpope/vim-fugitive' call plug#end() +"remap leader +let mapleader="," +set timeout timeoutlen=1500 + "line numbering set relativenumber set number @@ -32,6 +36,9 @@ autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | exe 'cd '.argv()[0] | endif autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif +"NERDCommenter +filetype plugin on + "set UTF-8 setglobal termencoding=utf-8 fileencodings= scriptencoding utf-8 From 0ce1e8c9422612a7c0d726573c3dd0e4292aac23 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 1 Mar 2021 15:06:28 +0100 Subject: [PATCH 10/66] added alias --- bash/.bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/bash/.bashrc b/bash/.bashrc index fe68076..9162c36 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -73,6 +73,7 @@ alias pull='git pull origin' alias push='git push origin' alias status='git status' alias diff='git diff' +alias remote='git remote' alias ftemplate='git fetch template' alias mtemplate='git merge template/master --allow-unrelated-histories' From 26353a4a81f93baddf916d02932844f5cd5bd79c Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 1 Mar 2021 15:06:49 +0100 Subject: [PATCH 11/66] modified autostart --- qtile/.config/qtile/autostart.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qtile/.config/qtile/autostart.sh b/qtile/.config/qtile/autostart.sh index 673fd1d..7debb4b 100755 --- a/qtile/.config/qtile/autostart.sh +++ b/qtile/.config/qtile/autostart.sh @@ -1,4 +1,5 @@ #!/bin/sh +sleep 1 nitrogen --restore & bash .screenlayout/layout.sh & pulseaudio-ctl set 50 & @@ -7,4 +8,4 @@ nextcloud & timeshift & numlockx & redshift-gtk -t 6500:3600 & -udiskie & \ No newline at end of file +udiskie -t & \ No newline at end of file From ea3abd004c63ab3ff5be699dcd6192a34410ce29 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 1 Mar 2021 15:08:00 +0100 Subject: [PATCH 12/66] made widget compatible with qtile v 0.17 --- git/.git-credentials | 2 +- qtile/.config/qtile/Custom_Widgets.py | 8 ++------ screen-layout/.screenlayout/layout.sh | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/git/.git-credentials b/git/.git-credentials index df180db..d4e18dd 100644 --- a/git/.git-credentials +++ b/git/.git-credentials @@ -1,3 +1,3 @@ https://paul-loedige:VhD%40R46%2ai9k%24tumJgD3T@git.ploedige.com -https://paul-loedige:yP4vs9rTriqP4b8mK4ohyNHSH@its-gitlab.init.hs-owl.de https://paul-loedige:5SC%24%5e%5eonvuD5Ze@git.owl-racing-team.de +https://paul-loedige:yP4vs9rTriqP4b8mK4ohyNHSH@its-gitlab.init.hs-owl.de diff --git a/qtile/.config/qtile/Custom_Widgets.py b/qtile/.config/qtile/Custom_Widgets.py index c8b3d3d..0dad269 100644 --- a/qtile/.config/qtile/Custom_Widgets.py +++ b/qtile/.config/qtile/Custom_Widgets.py @@ -5,7 +5,7 @@ import re from libqtile import widget, bar #region Custom_Memory -class MemoryC(widget.base.ThreadedPollText): +class MemoryC(widget.base.ThreadPoolText): orientations = widget.base.ORIENTATION_HORIZONTAL defaults = [ ("format", "{MemUsed}GB/{MemTotal}GB", "Formatting for field names."), @@ -13,13 +13,9 @@ class MemoryC(widget.base.ThreadedPollText): ] def __init__(self, **config): - super().__init__(**config) + super().__init__("", **config) self.add_defaults(MemoryC.defaults) - def tick(self): - self.update(self.poll()) - return self.update_interval - def poll(self): mem = psutil.virtual_memory() swap = psutil.swap_memory() diff --git a/screen-layout/.screenlayout/layout.sh b/screen-layout/.screenlayout/layout.sh index e365681..11bdd77 100755 --- a/screen-layout/.screenlayout/layout.sh +++ b/screen-layout/.screenlayout/layout.sh @@ -1,2 +1,2 @@ #!/bin/sh -xrandr --output DVI-I-0 --primary --mode 1440x900 --pos 2080x0 --rotate normal --output DVI-I-1 --off --output HDMI-0 --mode 1920x1080 --pos 0x566 --rotate left --output DP-0 --off --output DP-1 --off --output DP-2 --mode 3440x1440 --pos 1080x900 --rotate normal --output DP-3 --off --output DP-4 --off --output DP-5 --off +xrandr --output DVI-I-0 --primary --mode 1440x900 --pos 2012x0 --rotate normal --output DVI-I-1 --off --output HDMI-0 --mode 1920x1080 --pos 0x660 --rotate left --output DP-0 --mode 3440x1440 --pos 1080x900 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --off --output DP-4 --off --output DP-5 --off From 9f67ea04981e1b40fa7ddbda2e20b41b271274dd Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 15 Mar 2021 17:26:00 +0100 Subject: [PATCH 13/66] fixed custom qtile widgets --- qtile/.config/qtile/Custom_Widgets.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/qtile/.config/qtile/Custom_Widgets.py b/qtile/.config/qtile/Custom_Widgets.py index c8b3d3d..168afb7 100644 --- a/qtile/.config/qtile/Custom_Widgets.py +++ b/qtile/.config/qtile/Custom_Widgets.py @@ -5,7 +5,7 @@ import re from libqtile import widget, bar #region Custom_Memory -class MemoryC(widget.base.ThreadedPollText): +class MemoryC(widget.base.ThreadPoolText): orientations = widget.base.ORIENTATION_HORIZONTAL defaults = [ ("format", "{MemUsed}GB/{MemTotal}GB", "Formatting for field names."), @@ -13,13 +13,9 @@ class MemoryC(widget.base.ThreadedPollText): ] def __init__(self, **config): - super().__init__(**config) + super().__init__("",**config) self.add_defaults(MemoryC.defaults) - def tick(self): - self.update(self.poll()) - return self.update_interval - def poll(self): mem = psutil.virtual_memory() swap = psutil.swap_memory() @@ -147,4 +143,4 @@ class Mic(widget.base._TextBox): def cmd_mute(self): # Emulate button press. self.button_press(0, 0, BUTTON_MUTE) -#endregion \ No newline at end of file +#endregion From eb4a2b0594cd4e02dfc91aaf892ebb8807f92341 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 15 Mar 2021 17:31:15 +0100 Subject: [PATCH 14/66] moved firefox userchrome here and added install explanation to readme --- README.md | 2 ++ firefox/userChrome.css | 45 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 firefox/userChrome.css diff --git a/README.md b/README.md index d23d95a..7bdb551 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # dotfiles +## Notes +1. create hard link from _firefox/userChrome.css_ to _.mozilla/firefox/\/chrome/userChrome.css \ No newline at end of file diff --git a/firefox/userChrome.css b/firefox/userChrome.css new file mode 100644 index 0000000..dc5b0f6 --- /dev/null +++ b/firefox/userChrome.css @@ -0,0 +1,45 @@ +/* Hide main tabs toolbar */ +#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items { + opacity: 0; + pointer-events: none; +} +#main-window:not([tabsintitlebar="true"]) #TabsToolbar { + visibility: collapse !important; +} + +/* Sidebar min and max width removal */ +#sidebar { + max-width: none !important; + min-width: 0px !important; +} +/* Hide splitter, when using Tree Style Tab. */ +#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] + #sidebar-splitter { + display: none !important; +} +/* Hide sidebar header, when using Tree Style Tab. */ +#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header { + visibility: collapse; +} + +/* Shrink sidebar until hovered, when using Tree Style Tab. */ +:root { + --thin-tab-width: 30px; + --wide-tab-width: 200px; +} +#sidebar-box:not([sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]) { + min-width: var(--wide-tab-width) !important; + max-width: none !important; +} +#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] { + position: relative !important; + transition: all 100ms !important; + min-width: var(--thin-tab-width) !important; + max-width: var(--thin-tab-width) !important; +} +#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:hover { + transition: all 200ms !important; + min-width: var(--wide-tab-width) !important; + max-width: var(--wide-tab-width) !important; + margin-right: calc((var(--wide-tab-width) - var(--thin-tab-width)) * -1) !important; + z-index: 1; +} From 940199569adbf62d02b104437044cddcd59de66e Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 15 Mar 2021 17:37:52 +0100 Subject: [PATCH 15/66] added tst config --- README.md | 3 ++- firefox/TST-config.css | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 firefox/TST-config.css diff --git a/README.md b/README.md index 7bdb551..9621890 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # dotfiles ## Notes -1. create hard link from _firefox/userChrome.css_ to _.mozilla/firefox/\/chrome/userChrome.css \ No newline at end of file +1. create hard link from _firefox/userChrome.css_ to _.mozilla/firefox/\/chrome/userChrome.css +1. add content of TST-config to the TST config \ No newline at end of file diff --git a/firefox/TST-config.css b/firefox/TST-config.css new file mode 100644 index 0000000..ce4a4ef --- /dev/null +++ b/firefox/TST-config.css @@ -0,0 +1,27 @@ +/* Hide border on tab bar, force its state to 'scroll', adjust margin-left for width of scrollbar. */ +#tabbar { border: 0; overflow-y: scroll !important; margin-left: -12px !important; scrollbar-width: auto; } + +/* Hide .twisty and adjust margins so favicons have 7px on left. */ +tab-item .twisty { + visibility: hidden; + margin-left: -12px; +} + +/* Push tab labels slightly to the right so they're completely hidden in collapsed state */ +tab-item .label { + margin-left: 7px; +} + +/* Hide close buttons on tabs. */ +tab-item .closebox { + visibility: collapse; +} + +tab-item:hover .closebox { + visibility: initial; +} + +/* Hide sound playing/muted button. */ +.sound-button::before { + display: none !important; +} From a812d221be1bb08a502646519614cb7eb1b7ef6b Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sun, 21 Mar 2021 20:28:11 +0100 Subject: [PATCH 16/66] added picom to autostart --- qtile/.config/qtile/autostart.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qtile/.config/qtile/autostart.sh b/qtile/.config/qtile/autostart.sh index 7debb4b..58e9372 100755 --- a/qtile/.config/qtile/autostart.sh +++ b/qtile/.config/qtile/autostart.sh @@ -8,4 +8,5 @@ nextcloud & timeshift & numlockx & redshift-gtk -t 6500:3600 & -udiskie -t & \ No newline at end of file +udiskie -t & +picom & \ No newline at end of file From dc168af3b31473b4bc18b865abc8615e64b1fd27 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sun, 21 Mar 2021 20:29:06 +0100 Subject: [PATCH 17/66] style change --- bash/.bashrc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 9162c36..62b763d 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -86,13 +86,8 @@ alias cubemx='/usr/local/STMicroelectronics/STM32Cube/STM32CubeMX/STM32CubeMX' set -o vi # >>> neofetch >>> -#neofetch -# <<< neofetch <<< - -# >>> cowsay >>> -#cowfortune neofetch -# <<< cowsay <<< +# <<< neofetch <<< # >>> powerline >>> function _update_ps1() { From 197903ada90cc3faa91e7e7d6208d6aa0d11d8b0 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 22 Mar 2021 17:04:30 +0100 Subject: [PATCH 18/66] changed picom implementation --- qtile/.config/qtile/autostart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qtile/.config/qtile/autostart.sh b/qtile/.config/qtile/autostart.sh index 58e9372..d39ba2a 100755 --- a/qtile/.config/qtile/autostart.sh +++ b/qtile/.config/qtile/autostart.sh @@ -9,4 +9,4 @@ timeshift & numlockx & redshift-gtk -t 6500:3600 & udiskie -t & -picom & \ No newline at end of file +picom -b & \ No newline at end of file From 30a36773c36730519d327c722882093483e87936 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Thu, 25 Mar 2021 11:08:22 +0100 Subject: [PATCH 19/66] changed opacity --- qtile/.config/qtile/Groups.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/qtile/.config/qtile/Groups.py b/qtile/.config/qtile/Groups.py index d6f9079..eed094a 100644 --- a/qtile/.config/qtile/Groups.py +++ b/qtile/.config/qtile/Groups.py @@ -41,21 +41,23 @@ groups.append( 'bitwarden', on_focus_lost_hide=False, ), - DropDown( - 'password manager', - 'keepassxc', - on_focus_lost_hide=False, - ), DropDown( 'WhatsApp', 'whatsapp-for-linux', height = 0.5, width = 0.5, - x = .25 + x = .25, + on_focus_lost_hide=False, + opacity=1 ), DropDown( 'Signal', 'signal-desktop', + height = 0.5, + width = 0.5, + x = .25, + on_focus_lost_hide=False, + opacity = 1 ), ]) ) @@ -80,8 +82,6 @@ keys.extend([ desc="open the dropdown filemanager"), Key(['mod1','control'],'b',lazy.group['scratchpad'].dropdown_toggle('bitwarden'), desc="open the dropdown password manager KeePassXC"), - Key(['mod1','control'],'p',lazy.group['scratchpad'].dropdown_toggle('password manager'), - desc="open the dropdown password manager KeePassXC"), Key(['mod1','control'],'w',lazy.group['scratchpad'].dropdown_toggle('WhatsApp'), desc="open the dropdown for WhatsApp"), Key(['mod1','control'],'i',lazy.group['scratchpad'].dropdown_toggle('Signal'), From 04ef8749c2a178bfa530d38c48cfafd35dd21b1a Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sun, 28 Mar 2021 14:44:09 +0200 Subject: [PATCH 20/66] added rules for matlab popups --- qtile/.config/qtile/Layouts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qtile/.config/qtile/Layouts.py b/qtile/.config/qtile/Layouts.py index 9da312b..bf26fa0 100644 --- a/qtile/.config/qtile/Layouts.py +++ b/qtile/.config/qtile/Layouts.py @@ -40,4 +40,6 @@ floating_layout = layout.Floating( {'wname': 'branchdialog'}, # gitk {'wname': 'pinentry'}, # GPG key password entry {'wmclass': 'ssh-askpass'}, # ssh-askpass + {'wmclass': 'sun-awt-X11-XWindowPeer'}, #matlab + {'wmclass': 'sun-awt-X11-XDialogPeer'}, #matlab ]) \ No newline at end of file From 88a75e1f1deaba4094ca63311248678b977c5f91 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 29 Mar 2021 07:58:18 +0200 Subject: [PATCH 21/66] added git to ls commands --- bash/.bashrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 62b763d..912d510 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -42,10 +42,10 @@ alias update-all="pikaur -Syu" # update standard pkgs and AUR pkg alias cleanup='sudo pacman -Rns $(pacman -Qtdq)' # remove orphaned packages # Changing "ls" to "exa" -alias ls='exa -l --color=always --group-directories-first' # my preferred listing -alias la='exa -a --color=always --group-directories-first' # all files and dirs -alias ll='exa -al --color=always --group-directories-first' # long format -alias lt='exa -aT --color=always --group-directories-first' # tree listing +alias ls='exa -l --color=always --group-directories-first --git' # my preferred listing +alias la='exa -a --color=always --group-directories-firs --git' # all files and dirs +alias ll='exa -al --color=always --group-directories-first --git' # long format +alias lt='exa -aT --color=always --group-directories-first --git' # tree listing alias l.='exa -a | egrep "^\."' # Colorize grep output (good for log files) From 23c9467d3edadfca3d930f14e50e47b816609410 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Fri, 9 Apr 2021 10:02:36 +0200 Subject: [PATCH 22/66] added keyboard language set to autostart. --- qtile/.config/qtile/autostart.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qtile/.config/qtile/autostart.sh b/qtile/.config/qtile/autostart.sh index d39ba2a..937ce08 100755 --- a/qtile/.config/qtile/autostart.sh +++ b/qtile/.config/qtile/autostart.sh @@ -1,5 +1,6 @@ #!/bin/sh -sleep 1 +sleep 1& +setxkbmap de& nitrogen --restore & bash .screenlayout/layout.sh & pulseaudio-ctl set 50 & From d12bc6e8369805a2906789cf0611c90972872dac Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Fri, 9 Apr 2021 10:35:33 +0200 Subject: [PATCH 23/66] added screen lock shortcut ("Pause" button) --- qtile/.config/qtile/Keys.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qtile/.config/qtile/Keys.py b/qtile/.config/qtile/Keys.py index 704dd42..d81b48b 100644 --- a/qtile/.config/qtile/Keys.py +++ b/qtile/.config/qtile/Keys.py @@ -4,6 +4,9 @@ from libqtile.command import lazy from defines import mod, term keys = [ + #screen lock + Key([], "Pause" , lazy.spawn('dm-tool lock'),desc="locks session"), + #moving focus aroung Key([mod], "h", lazy.layout.left(),desc="move focus left"), Key([mod], "l", lazy.layout.right(),desc="move focus right"), From daf50aeb68b5b47d6dfafd2392968a4affed2260 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sat, 17 Apr 2021 13:04:18 +0200 Subject: [PATCH 24/66] added basic neovim config --- neovim/.config/nvim/init.vim | 111 ++++++++++++++++++++++ neovim/.config/nvim/plugged/auto-pairs | 1 + neovim/.config/nvim/plugged/coc.nvim | 1 + neovim/.config/nvim/plugged/colorizer | 1 + neovim/.config/nvim/plugged/lightline.vim | 1 + neovim/.config/nvim/plugged/nerdcommenter | 1 + neovim/.config/nvim/plugged/nerdtree | 1 + neovim/.config/nvim/plugged/rainbow | 1 + neovim/.config/nvim/plugged/vim-gitgutter | 1 + neovim/.config/nvim/plugged/vim-sandwich | 1 + 10 files changed, 120 insertions(+) create mode 100644 neovim/.config/nvim/init.vim create mode 160000 neovim/.config/nvim/plugged/auto-pairs create mode 160000 neovim/.config/nvim/plugged/coc.nvim create mode 160000 neovim/.config/nvim/plugged/colorizer create mode 160000 neovim/.config/nvim/plugged/lightline.vim create mode 160000 neovim/.config/nvim/plugged/nerdcommenter create mode 160000 neovim/.config/nvim/plugged/nerdtree create mode 160000 neovim/.config/nvim/plugged/rainbow create mode 160000 neovim/.config/nvim/plugged/vim-gitgutter create mode 160000 neovim/.config/nvim/plugged/vim-sandwich diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim new file mode 100644 index 0000000..6f3a6ea --- /dev/null +++ b/neovim/.config/nvim/init.vim @@ -0,0 +1,111 @@ +let $MYPLUGDIRECTORY = "~/.config/nvim/plugged/" + +"plugins +call plug#begin($MYPLUGDIRECTORY) + +Plug 'scrooloose/nerdtree' " file tree +Plug 'luochen1990/rainbow' " rainbow colored parenthesis and brakets +Plug 'itchyny/lightline.vim' " statusline +Plug 'preservim/nerdcommenter' " easier comment management +Plug 'neoclide/coc.nvim', {'branch': 'release'} " code completion +Plug 'jiangmiao/auto-pairs' " automatic pairs +Plug 'machakann/vim-sandwich' " manipulate elements surrounding other elements +Plug 'airblade/vim-gitgutter' " show git changes +Plug 'vim-scripts/colorizer' " colorize color codes + +call plug#end() + +"lightline +set laststatus=2 + +"NERDTree +autocmd StdinReadPre * let s:std_in=1 +autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif +autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | exe 'cd '.argv()[0] | endif +autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif + +set nocompatible " disable compatibility to old-time vi +set showmatch " show matching brackets. +set mouse=v " middle-click paste with mouse +set hlsearch " highlight search results +set tabstop=4 " number of columns occupied by a tab character +set softtabstop=4 " see multiple spaces as tabstops so does the right thing +set expandtab " converts tabs to white space +set shiftwidth=4 " width for autoindents +set autoindent " indent a new line the same amount as the line just typed +set wildmode=longest,list " get bash-like tab completions +filetype plugin indent on " allows auto-indenting depending on file type +syntax on " syntax highlighting +let mapleader=" " " set mapleader to space +set timeoutlen=1000 " set timeout length + +"colors +colorscheme default +"extra specified colors +highlight ColorColumn ctermbg=8 +highlight clear SignColumn +highlight GitGutterAdd ctermfg=2 +highlight GitGutterChange ctermfg=3 +highlight GitGutterDelete ctermfg=1 +highlight LineNr ctermfg=7 +highlight CursorLineNr ctermfg=7 + +set cc=80 " set an 80 column border for good coding style +"toggle cc when reasonable +augroup cctoggle + autocmd! + autocmd BufEnter,FocusGained * set cc=80 + autocmd BufLeave,FocusLost * set cc=0 +augroup END + +"toggle relativenumber when reasonable +set number relativenumber +augroup numbertoggle + autocmd! + autocmd BufEnter,FocusGained,InsertLeave * set relativenumber + autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber +augroup END +"gitgutter update speed +set updatetime=100 + +"gitgutter signs +let g:gitgutter_sign_added = '+' +let g:gitgutter_sign_modified = '~' +let g:gitgutter_sign_removed = '-' +let g:gitgutter_sign_removed_first_line = '^' + +"-------------------- +"mappings +"-------------------- +"custom window ommands +nnoremap wv v +nnoremap ws s +nnoremap wc c +nnoremap wo o +nnoremap h +nnoremap l +nnoremap j +nnoremap k +nnoremap öw :w +nnoremap öq :q +"custom tab commands +nnoremap tn :tabnew +"show buffers +nnoremap b :buffers:buffer +"reload settings +nnoremap rl :source ~/.config/nvim/init.vim +"NERDTree commands +nnoremap nt :NERDTreeToggle +nnoremap f :NERDTreeFind +"symbol renaming +nnoremap rn (coc-reame) +" use for trigger completion and navigate to the next complete item +function! s:check_back_space() abort + let col = col('.')- 1 + return !col || getline('.')[col - 1] =~ '\s' +endfunction + +inoremap + \ pumvisible() ? "\" : + \ check_back_space() ? "\" : + \ coc#refresh() diff --git a/neovim/.config/nvim/plugged/auto-pairs b/neovim/.config/nvim/plugged/auto-pairs new file mode 160000 index 0000000..39f06b8 --- /dev/null +++ b/neovim/.config/nvim/plugged/auto-pairs @@ -0,0 +1 @@ +Subproject commit 39f06b873a8449af8ff6a3eee716d3da14d63a76 diff --git a/neovim/.config/nvim/plugged/coc.nvim b/neovim/.config/nvim/plugged/coc.nvim new file mode 160000 index 0000000..d3e40ce --- /dev/null +++ b/neovim/.config/nvim/plugged/coc.nvim @@ -0,0 +1 @@ +Subproject commit d3e40ceabd76323c07434fc2711521cc8bb2d028 diff --git a/neovim/.config/nvim/plugged/colorizer b/neovim/.config/nvim/plugged/colorizer new file mode 160000 index 0000000..5fd7d90 --- /dev/null +++ b/neovim/.config/nvim/plugged/colorizer @@ -0,0 +1 @@ +Subproject commit 5fd7d909e5c06f033136bf4e079bf4ebb24d1503 diff --git a/neovim/.config/nvim/plugged/lightline.vim b/neovim/.config/nvim/plugged/lightline.vim new file mode 160000 index 0000000..8a71236 --- /dev/null +++ b/neovim/.config/nvim/plugged/lightline.vim @@ -0,0 +1 @@ +Subproject commit 8a712365f9708044667589d9fffd87a4825d29f6 diff --git a/neovim/.config/nvim/plugged/nerdcommenter b/neovim/.config/nvim/plugged/nerdcommenter new file mode 160000 index 0000000..1b53686 --- /dev/null +++ b/neovim/.config/nvim/plugged/nerdcommenter @@ -0,0 +1 @@ +Subproject commit 1b53686d5f1d1607dc67430e9243283fee3a9764 diff --git a/neovim/.config/nvim/plugged/nerdtree b/neovim/.config/nvim/plugged/nerdtree new file mode 160000 index 0000000..81f3eab --- /dev/null +++ b/neovim/.config/nvim/plugged/nerdtree @@ -0,0 +1 @@ +Subproject commit 81f3eaba295b3fceb2d032db57e5eae99ae480f8 diff --git a/neovim/.config/nvim/plugged/rainbow b/neovim/.config/nvim/plugged/rainbow new file mode 160000 index 0000000..4d15633 --- /dev/null +++ b/neovim/.config/nvim/plugged/rainbow @@ -0,0 +1 @@ +Subproject commit 4d15633cdaf61602e1d9fd216a77fc02e0881b2d diff --git a/neovim/.config/nvim/plugged/vim-gitgutter b/neovim/.config/nvim/plugged/vim-gitgutter new file mode 160000 index 0000000..9756e95 --- /dev/null +++ b/neovim/.config/nvim/plugged/vim-gitgutter @@ -0,0 +1 @@ +Subproject commit 9756e95bd596a303946a90f06f4efe51dcd57e87 diff --git a/neovim/.config/nvim/plugged/vim-sandwich b/neovim/.config/nvim/plugged/vim-sandwich new file mode 160000 index 0000000..9e6340a --- /dev/null +++ b/neovim/.config/nvim/plugged/vim-sandwich @@ -0,0 +1 @@ +Subproject commit 9e6340affe9f53c11a6975a5f50b9bf48adb692c From 143a301ec75124a2097d226f0466239f35a199d2 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sun, 18 Apr 2021 21:34:31 +0200 Subject: [PATCH 25/66] started with implementing the tutorial from https://jdhao.github.io/2019/03/26/nvim_latex_write_preview/ --- neovim/.config/nvim/init.vim | 5 +++++ neovim/.config/nvim/plugged/ultisnips | 1 + neovim/.config/nvim/plugged/vim-snippets | 1 + neovim/.config/nvim/plugged/vimtex | 1 + 4 files changed, 8 insertions(+) create mode 160000 neovim/.config/nvim/plugged/ultisnips create mode 160000 neovim/.config/nvim/plugged/vim-snippets create mode 160000 neovim/.config/nvim/plugged/vimtex diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index 6f3a6ea..0494626 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -12,9 +12,13 @@ Plug 'jiangmiao/auto-pairs' " automatic pairs Plug 'machakann/vim-sandwich' " manipulate elements surrounding other elements Plug 'airblade/vim-gitgutter' " show git changes Plug 'vim-scripts/colorizer' " colorize color codes +Plug 'honza/vim-snippets' " snippets +Plug 'lervag/vimtex' " vimtex call plug#end() +let g:coc_global_extensions = ['coc-snippets', 'coc-git'] + "lightline set laststatus=2 @@ -105,6 +109,7 @@ function! s:check_back_space() abort return !col || getline('.')[col - 1] =~ '\s' endfunction +" Tab for autocomplete inoremap \ pumvisible() ? "\" : \ check_back_space() ? "\" : diff --git a/neovim/.config/nvim/plugged/ultisnips b/neovim/.config/nvim/plugged/ultisnips new file mode 160000 index 0000000..204b501 --- /dev/null +++ b/neovim/.config/nvim/plugged/ultisnips @@ -0,0 +1 @@ +Subproject commit 204b501cc8f4acd7f32ebdea262bd5772ca007a2 diff --git a/neovim/.config/nvim/plugged/vim-snippets b/neovim/.config/nvim/plugged/vim-snippets new file mode 160000 index 0000000..03f7e33 --- /dev/null +++ b/neovim/.config/nvim/plugged/vim-snippets @@ -0,0 +1 @@ +Subproject commit 03f7e3395b1d2a0eaf8fc8bdb83fc95368a8b467 diff --git a/neovim/.config/nvim/plugged/vimtex b/neovim/.config/nvim/plugged/vimtex new file mode 160000 index 0000000..0d8a69f --- /dev/null +++ b/neovim/.config/nvim/plugged/vimtex @@ -0,0 +1 @@ +Subproject commit 0d8a69f9e16a90cfed591264170dea0c5b686b81 From 2e6ddfcfc9b31780fde1f2f6ff25dfc7681c40dc Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 26 Apr 2021 10:13:28 +0200 Subject: [PATCH 26/66] added synctex forward and reverse search via zathura pdf viewer --- git/.git-credentials | 2 +- neovim/.config/nvim/init.vim | 12 ++++++++++-- neovim/.config/nvim/plugged/vim-snippets | 2 +- neovim/.config/nvim/plugged/vimtex | 2 +- zathura/.config/zathura/zathurarc | 1 + 5 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 zathura/.config/zathura/zathurarc diff --git a/git/.git-credentials b/git/.git-credentials index d4e18dd..e8b2fee 100644 --- a/git/.git-credentials +++ b/git/.git-credentials @@ -1,3 +1,3 @@ -https://paul-loedige:VhD%40R46%2ai9k%24tumJgD3T@git.ploedige.com https://paul-loedige:5SC%24%5e%5eonvuD5Ze@git.owl-racing-team.de +https://paul-loedige:VhD%40R46%2ai9k%24tumJgD3T@git.ploedige.com https://paul-loedige:yP4vs9rTriqP4b8mK4ohyNHSH@its-gitlab.init.hs-owl.de diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index 0494626..f5c55ac 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -17,9 +17,16 @@ Plug 'lervag/vimtex' " vimtex call plug#end() -let g:coc_global_extensions = ['coc-snippets', 'coc-git'] +" coc plugins +let g:coc_global_extensions = ['coc-snippets', 'coc-git', 'coc-vimtex'] -"lightline +"neovim-remote for vimtex +let g:vimtex_compiler_progname = 'nvr' + +"vimtex +let g:vimtex_view_method = 'zathura' + +" lightline set laststatus=2 "NERDTree @@ -41,6 +48,7 @@ set wildmode=longest,list " get bash-like tab completions filetype plugin indent on " allows auto-indenting depending on file type syntax on " syntax highlighting let mapleader=" " " set mapleader to space +let maplocalleader=" " " set localleader to space set timeoutlen=1000 " set timeout length "colors diff --git a/neovim/.config/nvim/plugged/vim-snippets b/neovim/.config/nvim/plugged/vim-snippets index 03f7e33..2a28fc3 160000 --- a/neovim/.config/nvim/plugged/vim-snippets +++ b/neovim/.config/nvim/plugged/vim-snippets @@ -1 +1 @@ -Subproject commit 03f7e3395b1d2a0eaf8fc8bdb83fc95368a8b467 +Subproject commit 2a28fc35f6848ad38681d4b509ae3f5962276b5d diff --git a/neovim/.config/nvim/plugged/vimtex b/neovim/.config/nvim/plugged/vimtex index 0d8a69f..91c011f 160000 --- a/neovim/.config/nvim/plugged/vimtex +++ b/neovim/.config/nvim/plugged/vimtex @@ -1 +1 @@ -Subproject commit 0d8a69f9e16a90cfed591264170dea0c5b686b81 +Subproject commit 91c011f6c156f405ed259c9749ea049726ef8912 diff --git a/zathura/.config/zathura/zathurarc b/zathura/.config/zathura/zathurarc new file mode 100644 index 0000000..2967a32 --- /dev/null +++ b/zathura/.config/zathura/zathurarc @@ -0,0 +1 @@ +set synctex true From d360e1fbfea9a85dd0106111418141c008820b38 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 26 Apr 2021 10:28:48 +0200 Subject: [PATCH 27/66] enabled snippets autocomplete via tab as well as VSCode like navigation via tab --- neovim/.config/nvim/init.vim | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index f5c55ac..d37337f 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -117,8 +117,16 @@ function! s:check_back_space() abort return !col || getline('.')[col - 1] =~ '\s' endfunction -" Tab for autocomplete -inoremap - \ pumvisible() ? "\" : - \ check_back_space() ? "\" : +" Make used for trigger completion, completion confirm, snippet expand and jump like VSCode. +inoremap + \ pumvisible() ? coc#_select_confirm() : + \ coc#expandableOrJumpable() ? "\=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\" : + \ check_back_space() ? "\" : \ coc#refresh() + +function! s:check_back_space() abort + let col = col('.') - 1 + return !col || getline('.')[col - 1] =~# '\s' +endfunction + +let g:coc_snippet_next = '' From 4f529a44c545cfb76f25f948e938cbc9e951d930 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 26 Apr 2021 17:55:13 +0200 Subject: [PATCH 28/66] removed plugged folder from git --- .gitignore | 4 +++- neovim/.config/nvim/plugged/auto-pairs | 1 - neovim/.config/nvim/plugged/coc.nvim | 1 - neovim/.config/nvim/plugged/colorizer | 1 - neovim/.config/nvim/plugged/lightline.vim | 1 - neovim/.config/nvim/plugged/nerdcommenter | 1 - neovim/.config/nvim/plugged/nerdtree | 1 - neovim/.config/nvim/plugged/rainbow | 1 - neovim/.config/nvim/plugged/ultisnips | 1 - neovim/.config/nvim/plugged/vim-gitgutter | 1 - neovim/.config/nvim/plugged/vim-sandwich | 1 - neovim/.config/nvim/plugged/vim-snippets | 1 - neovim/.config/nvim/plugged/vimtex | 1 - 13 files changed, 3 insertions(+), 13 deletions(-) delete mode 160000 neovim/.config/nvim/plugged/auto-pairs delete mode 160000 neovim/.config/nvim/plugged/coc.nvim delete mode 160000 neovim/.config/nvim/plugged/colorizer delete mode 160000 neovim/.config/nvim/plugged/lightline.vim delete mode 160000 neovim/.config/nvim/plugged/nerdcommenter delete mode 160000 neovim/.config/nvim/plugged/nerdtree delete mode 160000 neovim/.config/nvim/plugged/rainbow delete mode 160000 neovim/.config/nvim/plugged/ultisnips delete mode 160000 neovim/.config/nvim/plugged/vim-gitgutter delete mode 160000 neovim/.config/nvim/plugged/vim-sandwich delete mode 160000 neovim/.config/nvim/plugged/vim-snippets delete mode 160000 neovim/.config/nvim/plugged/vimtex diff --git a/.gitignore b/.gitignore index eeb2512..f1f7ff3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ .vscode *__pycache__ -.vim/plugged/* \ No newline at end of file +.vim/plugged/* +neovim/.config/nvim/plugged +neovim/.config/nvim/spell/ \ No newline at end of file diff --git a/neovim/.config/nvim/plugged/auto-pairs b/neovim/.config/nvim/plugged/auto-pairs deleted file mode 160000 index 39f06b8..0000000 --- a/neovim/.config/nvim/plugged/auto-pairs +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 39f06b873a8449af8ff6a3eee716d3da14d63a76 diff --git a/neovim/.config/nvim/plugged/coc.nvim b/neovim/.config/nvim/plugged/coc.nvim deleted file mode 160000 index d3e40ce..0000000 --- a/neovim/.config/nvim/plugged/coc.nvim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d3e40ceabd76323c07434fc2711521cc8bb2d028 diff --git a/neovim/.config/nvim/plugged/colorizer b/neovim/.config/nvim/plugged/colorizer deleted file mode 160000 index 5fd7d90..0000000 --- a/neovim/.config/nvim/plugged/colorizer +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5fd7d909e5c06f033136bf4e079bf4ebb24d1503 diff --git a/neovim/.config/nvim/plugged/lightline.vim b/neovim/.config/nvim/plugged/lightline.vim deleted file mode 160000 index 8a71236..0000000 --- a/neovim/.config/nvim/plugged/lightline.vim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 8a712365f9708044667589d9fffd87a4825d29f6 diff --git a/neovim/.config/nvim/plugged/nerdcommenter b/neovim/.config/nvim/plugged/nerdcommenter deleted file mode 160000 index 1b53686..0000000 --- a/neovim/.config/nvim/plugged/nerdcommenter +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 1b53686d5f1d1607dc67430e9243283fee3a9764 diff --git a/neovim/.config/nvim/plugged/nerdtree b/neovim/.config/nvim/plugged/nerdtree deleted file mode 160000 index 81f3eab..0000000 --- a/neovim/.config/nvim/plugged/nerdtree +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 81f3eaba295b3fceb2d032db57e5eae99ae480f8 diff --git a/neovim/.config/nvim/plugged/rainbow b/neovim/.config/nvim/plugged/rainbow deleted file mode 160000 index 4d15633..0000000 --- a/neovim/.config/nvim/plugged/rainbow +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4d15633cdaf61602e1d9fd216a77fc02e0881b2d diff --git a/neovim/.config/nvim/plugged/ultisnips b/neovim/.config/nvim/plugged/ultisnips deleted file mode 160000 index 204b501..0000000 --- a/neovim/.config/nvim/plugged/ultisnips +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 204b501cc8f4acd7f32ebdea262bd5772ca007a2 diff --git a/neovim/.config/nvim/plugged/vim-gitgutter b/neovim/.config/nvim/plugged/vim-gitgutter deleted file mode 160000 index 9756e95..0000000 --- a/neovim/.config/nvim/plugged/vim-gitgutter +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 9756e95bd596a303946a90f06f4efe51dcd57e87 diff --git a/neovim/.config/nvim/plugged/vim-sandwich b/neovim/.config/nvim/plugged/vim-sandwich deleted file mode 160000 index 9e6340a..0000000 --- a/neovim/.config/nvim/plugged/vim-sandwich +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 9e6340affe9f53c11a6975a5f50b9bf48adb692c diff --git a/neovim/.config/nvim/plugged/vim-snippets b/neovim/.config/nvim/plugged/vim-snippets deleted file mode 160000 index 2a28fc3..0000000 --- a/neovim/.config/nvim/plugged/vim-snippets +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2a28fc35f6848ad38681d4b509ae3f5962276b5d diff --git a/neovim/.config/nvim/plugged/vimtex b/neovim/.config/nvim/plugged/vimtex deleted file mode 160000 index 91c011f..0000000 --- a/neovim/.config/nvim/plugged/vimtex +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 91c011f6c156f405ed259c9749ea049726ef8912 From e9141b2f01b75367e377327e2563e290b77fda55 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 26 Apr 2021 17:55:37 +0200 Subject: [PATCH 29/66] added copy and paste from clipboard to neovim --- neovim/.config/nvim/init.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index d37337f..b48d28f 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -29,6 +29,18 @@ let g:vimtex_view_method = 'zathura' " lightline set laststatus=2 +" activate spell-checking +set spell + +" enable copy and past to and fro clipboard +vnoremap y "+y +nnoremap Y "+yg_ +nnoremap y "+y +nnoremap p "+p +nnoremap P "+P +vnoremap p "+p +vnoremap P "+P + "NERDTree autocmd StdinReadPre * let s:std_in=1 autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif From 8e989c1163ed71666d4ced52cb8e426404487ed2 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Tue, 27 Apr 2021 08:21:34 +0200 Subject: [PATCH 30/66] changed global hotkey for launching vim to launching nvim --- qtile/.config/qtile/Keys.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qtile/.config/qtile/Keys.py b/qtile/.config/qtile/Keys.py index d81b48b..9ce6736 100644 --- a/qtile/.config/qtile/Keys.py +++ b/qtile/.config/qtile/Keys.py @@ -36,7 +36,7 @@ keys = [ Key([mod],"f", lazy.spawn("firefox"),desc="Launch firefox"), Key([mod],"e", lazy.spawn("pcmanfm"),desc="Launch pcmanfm"), Key([mod],"c", lazy.spawn("code"),desc="Launch visual studio code"), - Key([mod],"v", lazy.spawn(term + " -e vim"),desc="Launch Vim"), + Key([mod],"v", lazy.spawn(term + " -e nvim"),desc="Launch NeoVim"), Key([mod, "shift"],"s", lazy.spawn('gscreenshot -s -o -f /tmp/screenshots'),desc="take a screenshot"), # Toggle between different layouts as defined below @@ -73,4 +73,4 @@ mouse = [ Drag([mod], "Button3", lazy.window.set_size_floating(), start=lazy.window.get_size()), Click([mod], "Button2", lazy.window.bring_to_front()) -] \ No newline at end of file +] From 5d41ab633d69b4f3001a6a0a2a5e7ff6fbeb72d1 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Tue, 27 Apr 2021 08:21:51 +0200 Subject: [PATCH 31/66] changed terminal font --- termite/.config/termite/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/termite/.config/termite/config b/termite/.config/termite/config index 0e4ab16..5c054c1 100644 --- a/termite/.config/termite/config +++ b/termite/.config/termite/config @@ -1,5 +1,5 @@ [options] -font = UbuntuMono 14 +font = UbuntuMonoNerdFont 14 [colors] @@ -39,4 +39,4 @@ color14 = #9aedfe # white color7 = #bfbfbf -color15 = #e6e6e6 \ No newline at end of file +color15 = #e6e6e6 From a00073669da5a5bdbbb5fe3dd0e59b2cafb69de8 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Wed, 28 Apr 2021 11:25:15 +0200 Subject: [PATCH 32/66] changed font (nerdfont) and theme (gruvbox) for terminal and neovim --- neovim/.config/nvim/coc-settings.json | 8 ++++ neovim/.config/nvim/init.vim | 40 ++++++++++-------- termite/.config/termite/config | 59 +++++++++++++-------------- 3 files changed, 60 insertions(+), 47 deletions(-) create mode 100644 neovim/.config/nvim/coc-settings.json diff --git a/neovim/.config/nvim/coc-settings.json b/neovim/.config/nvim/coc-settings.json new file mode 100644 index 0000000..7e1f9ae --- /dev/null +++ b/neovim/.config/nvim/coc-settings.json @@ -0,0 +1,8 @@ +{ + "git.removedSign.text": "✗", + "git.addedSign.hlGroup": "GitGutterAdd", + "git.changedSign.hlGroup": "GitGutterChange", + "git.removedSign.hlGroup": "GitGutterDelete", + "git.topRemovedSign.hlGroup": "GitGutterDelete", + "git.changeRemovedSign.hlGroup": "GitGutterChangeDelete" +} diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index b48d28f..cff1120 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -3,22 +3,26 @@ let $MYPLUGDIRECTORY = "~/.config/nvim/plugged/" "plugins call plug#begin($MYPLUGDIRECTORY) -Plug 'scrooloose/nerdtree' " file tree +Plug 'preservim/nerdtree' " file tree +Plug 'Xuyuanp/nerdtree-git-plugin' " git plugin for nerdtree +Plug 'ryanoasis/vim-devicons' " devicons for nerdtree Plug 'luochen1990/rainbow' " rainbow colored parenthesis and brakets -Plug 'itchyny/lightline.vim' " statusline +Plug 'vim-airline/vim-airline' " statusline Plug 'preservim/nerdcommenter' " easier comment management +Plug 'airblade/vim-gitgutter' " show git changes Plug 'neoclide/coc.nvim', {'branch': 'release'} " code completion Plug 'jiangmiao/auto-pairs' " automatic pairs Plug 'machakann/vim-sandwich' " manipulate elements surrounding other elements -Plug 'airblade/vim-gitgutter' " show git changes +Plug 'tpope/vim-fugitive' " git master tool Plug 'vim-scripts/colorizer' " colorize color codes Plug 'honza/vim-snippets' " snippets Plug 'lervag/vimtex' " vimtex +Plug 'morhetz/gruvbox' " gruvbox colorscheme call plug#end() " coc plugins -let g:coc_global_extensions = ['coc-snippets', 'coc-git', 'coc-vimtex'] +let g:coc_global_extensions = ['coc-snippets', 'coc-git', 'coc-vimtex', 'coc-python', 'coc-vimlsp', 'coc-json'] "neovim-remote for vimtex let g:vimtex_compiler_progname = 'nvr' @@ -26,8 +30,10 @@ let g:vimtex_compiler_progname = 'nvr' "vimtex let g:vimtex_view_method = 'zathura' -" lightline +" airline set laststatus=2 +let g:airline#extensions#tabline#enabled = 1 +let g:airline#extensions#tabline#formatter = 'unique_tail' " activate spell-checking set spell @@ -46,6 +52,9 @@ autocmd StdinReadPre * let s:std_in=1 autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | exe 'cd '.argv()[0] | endif autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif +let NERDTreeShowHidden=1 +" enable nerdfonts for git status in nerdtree +let g:NERDTreeGitStatusUseNerdFonts=1 set nocompatible " disable compatibility to old-time vi set showmatch " show matching brackets. @@ -64,13 +73,16 @@ let maplocalleader=" " " set localleader to space set timeoutlen=1000 " set timeout length "colors -colorscheme default +let g:gruvbox_contrast_dark='hard' +colorscheme gruvbox +set background=dark + "extra specified colors highlight ColorColumn ctermbg=8 highlight clear SignColumn -highlight GitGutterAdd ctermfg=2 -highlight GitGutterChange ctermfg=3 -highlight GitGutterDelete ctermfg=1 +highlight GitGutterAdd ctermfg=142 +highlight GitGutterChange ctermfg=208 +highlight GitGutterDelete ctermfg=124 highlight LineNr ctermfg=7 highlight CursorLineNr ctermfg=7 @@ -89,14 +101,6 @@ augroup numbertoggle autocmd BufEnter,FocusGained,InsertLeave * set relativenumber autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber augroup END -"gitgutter update speed -set updatetime=100 - -"gitgutter signs -let g:gitgutter_sign_added = '+' -let g:gitgutter_sign_modified = '~' -let g:gitgutter_sign_removed = '-' -let g:gitgutter_sign_removed_first_line = '^' "-------------------- "mappings @@ -116,6 +120,8 @@ nnoremap öq :q nnoremap tn :tabnew "show buffers nnoremap b :buffers:buffer +" cycle buffers +nnoremap :bnext "reload settings nnoremap rl :source ~/.config/nvim/init.vim "NERDTree commands diff --git a/termite/.config/termite/config b/termite/.config/termite/config index 5c054c1..953bf40 100644 --- a/termite/.config/termite/config +++ b/termite/.config/termite/config @@ -2,41 +2,40 @@ font = UbuntuMonoNerdFont 14 [colors] +# hard contrast: background = #1d2021 +background = #282828 +# soft contrast: background = #32302f +foreground = #ebdbb2 +foreground_bold = #ebdbb2 -# special -foreground = #f8f8f2 -foreground_bold = #f8f8f2 -cursor = #f8f8f2 -background = rgba(40, 42, 54, 1) +# dark0 + gray +color0 = #282828 +color8 = #928374 -# black -color0 = #000000 -color8 = #4d4d4d +# neutral_red + bright_red +color1 = #cc241d +color9 = #fb4934 -# red -color1 = #ff5555 -color9 = #ff6e67 +# neutral_green + bright_green +color2 = #98971a +color10 = #b8bb26 -# green -color2 = #50fa7b -color10 = #5af78e +# neutral_yellow + bright_yellow +color3 = #d79921 +color11 = #fabd2f -# yellow -color3 = #f1fa8c -color11 = #f4f99d +# neutral_blue + bright_blue +color4 = #458588 +color12 = #83a598 -# blue -color4 = #bd93f9 -color12 = #caa9fa +# neutral_purple + bright_purple +color5 = #b16286 +color13 = #d3869b -# magenta -color5 = #ff79c6 -color13 = #ff92d0 +# neutral_aqua + faded_aqua +color6 = #689d6a +color14 = #8ec07c -# cyan -color6 = #8be9fd -color14 = #9aedfe - -# white -color7 = #bfbfbf -color15 = #e6e6e6 +# light4 + light1 +color7 = #a89984 +color15 = #ebdbb2 From 6b8cc1ffa8301f63dbd2caa96655d59655cdf212 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Wed, 28 Apr 2021 11:28:14 +0200 Subject: [PATCH 33/66] changed colorscheme and font for other applications --- Xorg/.Xresources | 55 ++++++++++++------- .../.config/powerline-shell/theme.py | 8 +-- qtile/.config/qtile/Custom_Widgets.py | 4 +- qtile/.config/qtile/Groups.py | 22 ++++---- qtile/.config/qtile/Widgets.py | 12 ++-- 5 files changed, 60 insertions(+), 41 deletions(-) diff --git a/Xorg/.Xresources b/Xorg/.Xresources index 524645e..5beeba2 100755 --- a/Xorg/.Xresources +++ b/Xorg/.Xresources @@ -1,19 +1,36 @@ -! Dracula Xresources palette -*.foreground: #F8F8F2 -*.background: #282A36 -*.color0: #000000 -*.color8: #4D4D4D -*.color1: #FF5555 -*.color9: #FF6E67 -*.color2: #50FA7B -*.color10: #5AF78E -*.color3: #F1FA8C -*.color11: #F4F99D -*.color4: #BD93F9 -*.color12: #CAA9FA -*.color5: #FF79C6 -*.color13: #FF92D0 -*.color6: #8BE9FD -*.color14: #9AEDFE -*.color7: #BFBFBF -*.color15: #E6E6E6 +! ----------------------------------------------------------------------------- +! File: gruvbox-dark.xresources +! Description: Retro groove colorscheme generalized +! Author: morhetz +! Source: https://github.com/morhetz/gruvbox-generalized +! Last Modified: 6 Sep 2014 +! ----------------------------------------------------------------------------- + +! hard contrast: *background: #1d2021 +*background: #282828 +! soft contrast: *background: #32302f +*foreground: #ebdbb2 +! Black + DarkGrey +*color0: #282828 +*color8: #928374 +! DarkRed + Red +*color1: #cc241d +*color9: #fb4934 +! DarkGreen + Green +*color2: #98971a +*color10: #b8bb26 +! DarkYellow + Yellow +*color3: #d79921 +*color11: #fabd2f +! DarkBlue + Blue +*color4: #458588 +*color12: #83a598 +! DarkMagenta + Magenta +*color5: #b16286 +*color13: #d3869b +! DarkCyan + Cyan +*color6: #689d6a +*color14: #8ec07c +! LightGrey + White +*color7: #a89984 +*color15: #ebdbb2 diff --git a/powerline-shell/.config/powerline-shell/theme.py b/powerline-shell/.config/powerline-shell/theme.py index 335a40a..97f9d3e 100644 --- a/powerline-shell/.config/powerline-shell/theme.py +++ b/powerline-shell/.config/powerline-shell/theme.py @@ -3,15 +3,15 @@ from powerline_shell.themes.default import DefaultColor class Color(DefaultColor): - USERNAME_FG = 250 + USERNAME_FG = 230 USERNAME_BG = 240 USERNAME_ROOT_BG = 124 - HOSTNAME_FG = 250 + HOSTNAME_FG = 230 HOSTNAME_BG = 238 HOME_SPECIAL_DISPLAY = True - HOME_BG = 31 # blueish + HOME_BG = 4 # blueish HOME_FG = 15 # white PATH_BG = 237 # dark grey PATH_FG = 250 # light grey @@ -68,4 +68,4 @@ class Color(DefaultColor): AWS_PROFILE_BG = 238 TIME_FG = 250 - TIME_BG = 238 \ No newline at end of file + TIME_BG = 238 diff --git a/qtile/.config/qtile/Custom_Widgets.py b/qtile/.config/qtile/Custom_Widgets.py index 1e13328..54133ff 100644 --- a/qtile/.config/qtile/Custom_Widgets.py +++ b/qtile/.config/qtile/Custom_Widgets.py @@ -104,9 +104,9 @@ class Mic(widget.base._TextBox): def _update_drawer(self): if self.emoji: if self.volume > 0: - self.text = '' + self.text = '' elif self.volume <= 0: - self.text = '' + self.text = '' else: if self.volume == -1: self.text = 'M' diff --git a/qtile/.config/qtile/Groups.py b/qtile/.config/qtile/Groups.py index eed094a..98043e5 100644 --- a/qtile/.config/qtile/Groups.py +++ b/qtile/.config/qtile/Groups.py @@ -4,16 +4,16 @@ from libqtile.command import lazy from defines import term from Keys import keys -group_names = [("","Home", 'h',{'layout': 'monadtall'}), - ("","Coding", 'c',{'layout': 'monadtall'}), - ("","Browser", 'f',{'layout': 'monadtall'}), - ("","Mail", 'm',{'layout': 'monadtall'}), - ("","Music", 's',{'layout': 'monadtall'}), - ("","Video", 'v',{'layout': 'monadtall'}), - ("","Documents", 'l',{'layout': 'monadtall'}), - ("","Discord", 'd',{'layout': 'monadtall'}), - ("","VM's", 'o',{'layout': 'monadtall'}), - ("","Gaming", 'g',{'layout': 'monadtall'})] +group_names = [("","Home", 'h',{'layout': 'monadtall'}), + ("","Coding", 'c',{'layout': 'monadtall'}), + ("","Browser", 'f',{'layout': 'monadtall'}), + ("","Mail", 'm',{'layout': 'monadtall'}), + ("ﱘ","Music", 's',{'layout': 'monadtall'}), + ("","Video", 'v',{'layout': 'monadtall'}), + ("","Documents", 'l',{'layout': 'monadtall'}), + ("ﭮ","Discord", 'd',{'layout': 'monadtall'}), + ("","VM's", 'o',{'layout': 'monadtall'}), + ("","Gaming", 'g',{'layout': 'monadtall'})] groups = [Group(icon, **kwargs) for icon, name, key, kwargs in group_names] @@ -86,4 +86,4 @@ keys.extend([ desc="open the dropdown for WhatsApp"), Key(['mod1','control'],'i',lazy.group['scratchpad'].dropdown_toggle('Signal'), desc="open the dropdown for Signal"), -]) \ No newline at end of file +]) diff --git a/qtile/.config/qtile/Widgets.py b/qtile/.config/qtile/Widgets.py index a3897c9..0d31797 100644 --- a/qtile/.config/qtile/Widgets.py +++ b/qtile/.config/qtile/Widgets.py @@ -36,14 +36,16 @@ def Left_widgets(size,fontsize,prompt=False): return [ widget.CurrentLayoutIcon(), *powerline_arrow('r',base_color,blue_color,size), - widget.Image( - filename='~/.config/qtile/icons/archlinux-logo-small.png', + widget.TextBox( + text='', + foreground=dark_foreground_color, + fontsize=fontsize+14, margin=5, background=blue_color ), *powerline_arrow('r',blue_color,base_color,size), widget.GroupBox( - fontsize=fontsize, + fontsize=fontsize+10, rounded=False, active=light_foreground_color, inactive=dark_foreground_color, @@ -80,7 +82,7 @@ def volume_widget(prev_color,color,size,fontsize): foreground=dark_foreground_color, background=color, emoji=True, - fontsize=fontsize, + fontsize=fontsize + 6, ), Mic( foreground=dark_foreground_color, @@ -254,4 +256,4 @@ def Laptop_widgets(prev_color,last_color,size,fontsize): mouse_callbacks = launch_htop, ), ] -#endregion \ No newline at end of file +#endregion From 3f5c6627e9a8f4c76824313ecb95e4625a0fa737 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Wed, 28 Apr 2021 18:17:11 +0200 Subject: [PATCH 34/66] changed Qtile theme to match gruvbox --- qtile/.config/qtile/Widgets.py | 97 +++++++++++++++++----------------- qtile/.config/qtile/defines.py | 33 ++++++------ 2 files changed, 66 insertions(+), 64 deletions(-) diff --git a/qtile/.config/qtile/Widgets.py b/qtile/.config/qtile/Widgets.py index 0d31797..d42429a 100644 --- a/qtile/.config/qtile/Widgets.py +++ b/qtile/.config/qtile/Widgets.py @@ -1,7 +1,7 @@ from libqtile import widget from defines import base_color, term -from defines import blue_color, light_foreground_color, dark_foreground_color, red_color, light_purple_color, purple_color, green_color, orange_color, magenta_color +from defines import blue_color, light_foreground_color, dark_foreground_color, red_color, light_purple_color, purple_color, green_color, orange_color, magenta_color, yellow_color from Custom_Widgets import MemoryC, Mic #region Powerline @@ -38,7 +38,7 @@ def Left_widgets(size,fontsize,prompt=False): *powerline_arrow('r',base_color,blue_color,size), widget.TextBox( text='', - foreground=dark_foreground_color, + foreground=light_foreground_color, fontsize=fontsize+14, margin=5, background=blue_color @@ -67,25 +67,25 @@ def volume_widget(prev_color,color,size,fontsize): return[ *powerline_arrow('l',prev_color,color,size), widget.Volume( - foreground=dark_foreground_color, + foreground=light_foreground_color, background=color, emoji=True, fontsize=fontsize, ), widget.Volume( - foreground=dark_foreground_color, + foreground=light_foreground_color, background=color, fontsize=fontsize, padding=0 ), Mic( - foreground=dark_foreground_color, + foreground=light_foreground_color, background=color, emoji=True, fontsize=fontsize + 6, ), Mic( - foreground=dark_foreground_color, + foreground=light_foreground_color, background=color, fontsize=fontsize, padding=0 @@ -101,58 +101,58 @@ launch_htop= {'Button1': launch_htop} def System_widgets(prev_color,last_color,size,fontsize): return [ - *powerline_arrow('l',prev_color,red_color,size), - widget.Image( - filename='~/.config/qtile/icons/temp.png', - margin=5, - background=red_color, - mouse_callbacks = launch_htop, - ), + *powerline_arrow('l',prev_color,orange_color,size), + widget.TextBox( + text='', + foreground=light_foreground_color, + background=orange_color, + fontsize=fontsize+6 + ), widget.ThermalSensor( - foreground=dark_foreground_color, - background=red_color, + foreground=light_foreground_color, + background=orange_color, fontsize=fontsize, tag_sensor='Tctl', mouse_callbacks = launch_htop, ), - *powerline_arrow('l',red_color,green_color,size), - widget.Image( - filename='~/.config/qtile/icons/cpu.png', - margin=5, + *powerline_arrow('l',orange_color,green_color,size), + widget.TextBox( + text='', + foreground=light_foreground_color, background=green_color, - mouse_callbacks = launch_htop, - ), + fontsize=fontsize+6 + ), widget.CPU( - foreground=dark_foreground_color, + foreground=light_foreground_color, background=green_color, fontsize=fontsize, format='{load_percent}% @ {freq_current}GHz', mouse_callbacks = launch_htop, ), - *powerline_arrow('l',green_color,orange_color,size), - widget.Image( - filename='~/.config/qtile/icons/ram.png', - background=orange_color, - margin=-10, - mouse_callbacks = launch_htop, - ), + *powerline_arrow('l',green_color,yellow_color,size), + widget.TextBox( + text='﬙', + foreground=light_foreground_color, + background=yellow_color, + fontsize=fontsize+6 + ), MemoryC( - foreground=dark_foreground_color, - background=orange_color, + foreground=light_foreground_color, + background=yellow_color, fontsize=fontsize, format=" {MemUsed}GB({MemPercent}%) | {SwapUsed}GB({SwapPercent}%)", mouse_callbacks = launch_htop, ), - *powerline_arrow('l',orange_color,last_color,size), - widget.Image( - filename='~/.config/qtile/icons/network.png', + *powerline_arrow('l',yellow_color,last_color,size), + widget.TextBox( + text='', + foreground=light_foreground_color, background=blue_color, - margin=5, - mouse_callbacks = launch_htop, - ), + fontsize=fontsize+6 + ), widget.Net( background=last_color, - foreground=dark_foreground_color, + foreground=light_foreground_color, fontsize=fontsize, fmt='{:.9}', format='{down}↓', @@ -160,7 +160,7 @@ def System_widgets(prev_color,last_color,size,fontsize): ), widget.Net( background=last_color, - foreground=dark_foreground_color, + foreground=light_foreground_color, fontsize=fontsize, fmt='{:.9}', format='{up}↑', @@ -172,19 +172,20 @@ def System_widgets(prev_color,last_color,size,fontsize): #region End_widgets def end_widgets(prev_color,size,fontsize): return [ - *powerline_arrow('l',prev_color,magenta_color,size), - widget.Image( - filename='~/.config/qtile/icons/calendar.png', - margin=5, - background=magenta_color, - ), + *powerline_arrow('l',prev_color,purple_color,size), + widget.TextBox( + text='ﭷ', + foreground=light_foreground_color, + background=purple_color, + fontsize=fontsize+6 + ), widget.Clock( - foreground=dark_foreground_color, - background=magenta_color, + foreground=light_foreground_color, + background=purple_color, fontsize=fontsize, format='%Y-%m-%d' ), - *powerline_arrow('l',magenta_color,base_color,size), + *powerline_arrow('l',purple_color,base_color,size), widget.Clock( font='dseg7 classic bold', fontsize=16, diff --git a/qtile/.config/qtile/defines.py b/qtile/.config/qtile/defines.py index b02b5f9..e55dd77 100644 --- a/qtile/.config/qtile/defines.py +++ b/qtile/.config/qtile/defines.py @@ -1,5 +1,5 @@ term = 'termite' -focus_color = '#bd93f9' +focus_color = '#076678' border_width = 2 mod = 'mod4' hotkey_file='/home/paul/Hotkeys' @@ -7,28 +7,29 @@ main_screen_res = [3440,1440] top_screen_res = [1440,900] #region colors -light_foreground_color = ['#f8f8f2','#f8f8f2'] -dark_foreground_color = ['#282a36','#282a36'] -background_color0 = ['#000000','#000000'] -background_color8 = ['#4d4d4d','#4d4d4d'] -base_color = ['#101010','#101010'] +light_foreground_color = ['#fbf1c7','#fbf1c7'] +dark_foreground_color = ['#282828','#282828'] +background_color0 = ['#1d2021','#1d2021'] +background_color8 = ['#7c6f64','#7c6f64'] +base_color = background_color0 # red -red_color = ['#df253f','#df253f'] -light_red_color = ['#ff5555','#ff5555'] +red_color = ['#cc241d','#cc241d'] +light_red_color = ['#fb4934','#fb4934'] # green -green_color = ['#53a93f','#53a93f'] -light_green_color = ['#50fa7b','#50fa7b'] +green_color = ['#98971a','#98971a'] +light_green_color = ['#b8bb26','#b8bb26'] #orange -orange_color = ['#f57900','#f57900'] +orange_color = ['#d65d0e','#d65d0e'] # yellow -yellow_color = ['#f1fa8c','#f1fa8c'] +yellow_color = ['#d79921','#d79921'] +light_yellow_color = ['#fabd2f','#fabd2f'] #blue -blue_color = ['#7197e7','#7197e7'] +blue_color = ['#076678','#076678'] # purple -purple_color = ['#bd93f9','#bd93f9'] -light_purple_color = ['#caa9fa','#caa9fa'] +purple_color = ['#b16286','#b16286'] +light_purple_color = ['#d3869b','#d3869b'] # magenta magenta_color = ['#ff79c6','#ff79c6'] # cyan cyan_color = ['#8be9fd','#8be9fd'] -#endregion \ No newline at end of file +#endregion From f5ee23400c3cb67d743e9751f77a2c14e884bf32 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Thu, 6 May 2021 12:21:21 +0200 Subject: [PATCH 35/66] neovim settings optimized and restructured --- neovim/.config/nvim/coc.vim | 161 +++++++++++++++++++++++++++ neovim/.config/nvim/init.vim | 205 +++++++++++++++++++++-------------- 2 files changed, 285 insertions(+), 81 deletions(-) create mode 100644 neovim/.config/nvim/coc.vim diff --git a/neovim/.config/nvim/coc.vim b/neovim/.config/nvim/coc.vim new file mode 100644 index 0000000..f73f4ff --- /dev/null +++ b/neovim/.config/nvim/coc.vim @@ -0,0 +1,161 @@ +" TextEdit might fail if hidden is not set. +set hidden + +" Some servers have issues with backup files, see #649. +set nobackup +set nowritebackup + +" Give more space for displaying messages. +set cmdheight=2 + +" Having longer updatetime (default is 4000 ms = 4 s) leads to noticeable +" delays and poor user experience. +set updatetime=300 + +" Don't pass messages to |ins-completion-menu|. +set shortmess+=c + +" Always show the signcolumn, otherwise it would shift the text each time +" diagnostics appear/become resolved. +if has("nvim-0.5.0") || has("patch-8.1.1564") + " Recently vim can merge signcolumn and number column into one + set signcolumn=number +else + set signcolumn=yes +endif + +" Use tab for trigger completion with characters ahead and navigate. +" NOTE: Use command ':verbose imap ' to make sure tab is not mapped by +" other plugin before putting this into your config. +inoremap + \ pumvisible() ? "\" : + \ check_back_space() ? "\" : + \ coc#refresh() +inoremap pumvisible() ? "\" : "\" + +function! s:check_back_space() abort + let col = col('.') - 1 + return !col || getline('.')[col - 1] =~# '\s' +endfunction + +" Use to trigger completion. +if has('nvim') + inoremap coc#refresh() +else + inoremap coc#refresh() +endif + +" Make auto-select the first completion item and notify coc.nvim to +" format on enter, could be remapped by other vim plugin +inoremap pumvisible() ? coc#_select_confirm() + \: "\u\\=coc#on_enter()\" + +" Use `[g` and `]g` to navigate diagnostics +" Use `:CocDiagnostics` to get all diagnostics of current buffer in location list. +nmap [g (coc-diagnostic-prev) +nmap ]g (coc-diagnostic-next) + +" GoTo code navigation. +nmap gd (coc-definition) +nmap gy (coc-type-definition) +nmap gi (coc-implementation) +nmap gr (coc-references) + +" Use K to show documentation in preview window. +nnoremap K :call show_documentation() + +function! s:show_documentation() + if (index(['vim','help'], &filetype) >= 0) + execute 'h '.expand('') + elseif (coc#rpc#ready()) + call CocActionAsync('doHover') + else + execute '!' . &keywordprg . " " . expand('') + endif +endfunction + +" Highlight the symbol and its references when holding the cursor. +autocmd CursorHold * silent call CocActionAsync('highlight') + +" Symbol renaming. +nmap rn (coc-rename) + +" Formatting selected code. +xmap f (coc-format-selected) +nmap f (coc-format-selected) + +augroup mygroup + autocmd! + " Setup formatexpr specified filetype(s). + autocmd FileType typescript,json setl formatexpr=CocAction('formatSelected') + " Update signature help on jump placeholder. + autocmd User CocJumpPlaceholder call CocActionAsync('showSignatureHelp') +augroup end + +" Applying codeAction to the selected region. +" Example: `aap` for current paragraph +xmap a (coc-codeaction-selected) +nmap a (coc-codeaction-selected) + +" Remap keys for applying codeAction to the current buffer. +nmap ac (coc-codeaction) +" Apply AutoFix to problem on the current line. +nmap qf (coc-fix-current) + +" Map function and class text objects +" NOTE: Requires 'textDocument.documentSymbol' support from the language server. +xmap if (coc-funcobj-i) +omap if (coc-funcobj-i) +xmap af (coc-funcobj-a) +omap af (coc-funcobj-a) +xmap ic (coc-classobj-i) +omap ic (coc-classobj-i) +xmap ac (coc-classobj-a) +omap ac (coc-classobj-a) + +" Remap and for scroll float windows/popups. +if has('nvim-0.4.0') || has('patch-8.2.0750') + nnoremap coc#float#has_scroll() ? coc#float#scroll(1) : "\" + nnoremap coc#float#has_scroll() ? coc#float#scroll(0) : "\" + inoremap coc#float#has_scroll() ? "\=coc#float#scroll(1)\" : "\" + inoremap coc#float#has_scroll() ? "\=coc#float#scroll(0)\" : "\" + vnoremap coc#float#has_scroll() ? coc#float#scroll(1) : "\" + vnoremap coc#float#has_scroll() ? coc#float#scroll(0) : "\" +endif + +" Use CTRL-S for selections ranges. +" Requires 'textDocument/selectionRange' support of language server. +nmap (coc-range-select) +xmap (coc-range-select) + +" Add `:Format` command to format current buffer. +command! -nargs=0 Format :call CocAction('format') + +" Add `:Fold` command to fold current buffer. +command! -nargs=? Fold :call CocAction('fold', ) + +" Add `:OR` command for organize imports of the current buffer. +command! -nargs=0 OR :call CocAction('runCommand', 'editor.action.organizeImport') + +" Add (Neo)Vim's native statusline support. +" NOTE: Please see `:h coc-status` for integrations with external plugins that +" provide custom statusline: lightline.vim, vim-airline. +set statusline^=%{coc#status()}%{get(b:,'coc_current_function','')} + +" Mappings for CoCList +" Show all diagnostics. +nnoremap a :CocList diagnostics +" Manage extensions. +nnoremap e :CocList extensions +" Show commands. +nnoremap c :CocList commands +" Find symbol of current document. +nnoremap o :CocList outline +" Search workspace symbols. +nnoremap s :CocList -I symbols +" Do default action for next item. +nnoremap j :CocNext +" Do default action for previous item. +nnoremap k :CocPrev +" Resume latest coc list. +nnoremap p :CocListResume diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index cff1120..f07094e 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -1,12 +1,25 @@ let $MYPLUGDIRECTORY = "~/.config/nvim/plugged/" +let $MYNVIMINIT = "~/.config/nvim/init.vim" +let $MYCOCVIM = "~/.config/nvim/coc.vim" +"-------------------- "plugins -call plug#begin($MYPLUGDIRECTORY) +"-------------------- +" autoinstall vim-plug if it is not installed +if empty(glob('~/.local/share/nvim/site/autoload/plug.vim')) + silent !curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs + \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim + autocmd VimEnter * PlugInstall | source $MYNVIMINIT +endif +call plug#begin($MYPLUGDIRECTORY) +" automatically install all plugins that are not already installed +if !empty(filter(copy(g:plugs), '!isdirectory(v:val.dir)')) + autocmd VimEnter * PlugInstall | q +endif Plug 'preservim/nerdtree' " file tree Plug 'Xuyuanp/nerdtree-git-plugin' " git plugin for nerdtree Plug 'ryanoasis/vim-devicons' " devicons for nerdtree -Plug 'luochen1990/rainbow' " rainbow colored parenthesis and brakets Plug 'vim-airline/vim-airline' " statusline Plug 'preservim/nerdcommenter' " easier comment management Plug 'airblade/vim-gitgutter' " show git changes @@ -18,45 +31,18 @@ Plug 'vim-scripts/colorizer' " colorize color codes Plug 'honza/vim-snippets' " snippets Plug 'lervag/vimtex' " vimtex Plug 'morhetz/gruvbox' " gruvbox colorscheme - +Plug 'Yggdroot/indentLine' " ident guides call plug#end() -" coc plugins -let g:coc_global_extensions = ['coc-snippets', 'coc-git', 'coc-vimtex', 'coc-python', 'coc-vimlsp', 'coc-json'] - -"neovim-remote for vimtex -let g:vimtex_compiler_progname = 'nvr' - -"vimtex -let g:vimtex_view_method = 'zathura' - -" airline -set laststatus=2 -let g:airline#extensions#tabline#enabled = 1 -let g:airline#extensions#tabline#formatter = 'unique_tail' - -" activate spell-checking -set spell - -" enable copy and past to and fro clipboard -vnoremap y "+y -nnoremap Y "+yg_ -nnoremap y "+y -nnoremap p "+p -nnoremap P "+P -vnoremap p "+p -vnoremap P "+P - -"NERDTree -autocmd StdinReadPre * let s:std_in=1 -autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif -autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | exe 'cd '.argv()[0] | endif -autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif -let NERDTreeShowHidden=1 -" enable nerdfonts for git status in nerdtree -let g:NERDTreeGitStatusUseNerdFonts=1 - +"-------------------- +" general settings +"-------------------- +let mapleader=" " " set mapleader to space +let maplocalleader=" " " set localleader to space +set timeoutlen=1000 " set timeout length +set spell " activate spell-checking set nocompatible " disable compatibility to old-time vi +let g:indentLine_setConceal = 0 " disable the conceal 'feature' of indentLine plugin set showmatch " show matching brackets. set mouse=v " middle-click paste with mouse set hlsearch " highlight search results @@ -68,24 +54,6 @@ set autoindent " indent a new line the same amount as the line just set wildmode=longest,list " get bash-like tab completions filetype plugin indent on " allows auto-indenting depending on file type syntax on " syntax highlighting -let mapleader=" " " set mapleader to space -let maplocalleader=" " " set localleader to space -set timeoutlen=1000 " set timeout length - -"colors -let g:gruvbox_contrast_dark='hard' -colorscheme gruvbox -set background=dark - -"extra specified colors -highlight ColorColumn ctermbg=8 -highlight clear SignColumn -highlight GitGutterAdd ctermfg=142 -highlight GitGutterChange ctermfg=208 -highlight GitGutterDelete ctermfg=124 -highlight LineNr ctermfg=7 -highlight CursorLineNr ctermfg=7 - set cc=80 " set an 80 column border for good coding style "toggle cc when reasonable augroup cctoggle @@ -94,18 +62,18 @@ augroup cctoggle autocmd BufLeave,FocusLost * set cc=0 augroup END -"toggle relativenumber when reasonable -set number relativenumber -augroup numbertoggle - autocmd! - autocmd BufEnter,FocusGained,InsertLeave * set relativenumber - autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber -augroup END - "-------------------- "mappings "-------------------- -"custom window ommands +" enable copy and past to and fro clipboard +vnoremap y "+y +nnoremap Y "+yg_ +nnoremap y "+y +nnoremap p "+p +nnoremap P "+P +vnoremap p "+p +vnoremap P "+P +"custom window commands nnoremap wv v nnoremap ws s nnoremap wc c @@ -129,22 +97,97 @@ nnoremap nt :NERDTreeToggle nnoremap f :NERDTreeFind "symbol renaming nnoremap rn (coc-reame) -" use for trigger completion and navigate to the next complete item -function! s:check_back_space() abort - let col = col('.')- 1 - return !col || getline('.')[col - 1] =~ '\s' -endfunction -" Make used for trigger completion, completion confirm, snippet expand and jump like VSCode. -inoremap - \ pumvisible() ? coc#_select_confirm() : - \ coc#expandableOrJumpable() ? "\=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\" : - \ check_back_space() ? "\" : - \ coc#refresh() +"-------------------- +" coc (Conquer of Completion) +"-------------------- +" coc plugins (will automatically install) +let g:coc_global_extensions = ['coc-snippets', 'coc-git', 'coc-vimtex', 'coc-python', 'coc-vimlsp', 'coc-json'] +source $MYCOCVIM +"" use for trigger completion and navigate to the next complete item +"function! s:check_back_space() abort + "let col = col('.')- 1 + "return !col || getline('.')[col - 1] =~ '\s' +"endfunction -function! s:check_back_space() abort - let col = col('.') - 1 - return !col || getline('.')[col - 1] =~# '\s' -endfunction +"" Make used for trigger completion, completion confirm, snippet expand and jump like VSCode. +"inoremap + "\ pumvisible() ? coc#_select_confirm() : + "\ coc#expandableOrJumpable() ? "\=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\" : + "\ check_back_space() ? "\" : + "\ coc#refresh() + +"function! s:check_back_space() abort + "let col = col('.') - 1 + "return !col || getline('.')[col - 1] =~# '\s' +"endfunction + +"let g:coc_snippet_next = '' + +"-------------------- +" airline +"-------------------- +set laststatus=2 " start in 'normal' mode +let g:airline#extensions#tabline#enabled = 1 " enable tabline for buffers +let g:airline#extensions#tabline#formatter = 'unique_tail' " set tabline item style + +"-------------------- +"NERDTree +"-------------------- +let NERDTreeShowHidden=1 " show hidden files in NERDTree +let NERDTreeAutoDeleteBuffer=1 " automatically delete the buffer of the file deleted with NERDTree +let g:NERDTreeGitStatusUseNerdFonts=1 " enable nerdfonts for git status in nerdtree +let NERDTreeShowLineNumbers=0 " disable line numbers +let g:NERDTreeWinSize=50 " increase the size of the NERDTree window +" Start NERDTree when Vim is started without file arguments. +autocmd StdinReadPre * let s:std_in=1 +autocmd VimEnter * if argc() == 0 && !exists('s:std_in') | NERDTree | endif +" Exit Vim if NERDTree is the only window left. +autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | + \ quit | endif +" If another buffer tries to replace NERDTree, put it in the other window, and bring back NERDTree. +autocmd BufEnter * if bufname('#') =~ 'NERD_tree_\d\+' && bufname('%') !~ 'NERD_tree_\d\+' && winnr('$') > 1 | + \ let buf=bufnr() | buffer# | execute "normal! \w" | execute 'buffer'.buf | endif + + +"-------------------- +"colors +"-------------------- +" set colorscheme +let g:gruvbox_contrast_dark='hard' +colorscheme gruvbox +set background=dark +" extra specified colors +highlight ColorColumn ctermbg=236 +highlight clear SignColumn +highlight GitGutterAdd ctermfg=142 +highlight GitGutterChange ctermfg=208 +highlight GitGutterDelete ctermfg=124 +highlight LineNr ctermfg=7 +highlight CursorLineNr ctermfg=7 + +"toggle relativenumber when reasonable +set number relativenumber +augroup numbertoggle + autocmd! + autocmd BufEnter,FocusGained,InsertLeave * set relativenumber + autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber +augroup END + +"-------------------- +"vimtex +"-------------------- +let g:vimtex_compiler_progname = 'nvr' " neovim-remote for vimtex +let g:vimtex_view_method = 'zathura' " set zathura as basic pdf viewer +" latexmk parameters +let g:vimtex_compiler_latexmk = { + \ 'options' : [ + \ '-pdf', + \ '-shell-escape', + \ '-verbose', + \ '-file-line-error', + \ '-synctex=1', + \ '-interaction=nonstopmode', + \ ], + \} -let g:coc_snippet_next = '' From 14f7a781bdfa64d48a7452d246bf168f3982c803 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Thu, 6 May 2021 13:27:21 +0200 Subject: [PATCH 36/66] added markdown preview ability. Trigger with ":MarkdownPreview" --- neovim/.config/nvim/init.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index f07094e..7a9bc7c 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -32,6 +32,7 @@ Plug 'honza/vim-snippets' " snippets Plug 'lervag/vimtex' " vimtex Plug 'morhetz/gruvbox' " gruvbox colorscheme Plug 'Yggdroot/indentLine' " ident guides +Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']} call plug#end() "-------------------- From a42095fd5013d2faccf4df500acb8a44b3a0c5a6 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Thu, 6 May 2021 14:46:58 +0200 Subject: [PATCH 37/66] Show marks in git coloumn --- neovim/.config/nvim/init.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index 7a9bc7c..d0d24a0 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -19,6 +19,7 @@ if !empty(filter(copy(g:plugs), '!isdirectory(v:val.dir)')) endif Plug 'preservim/nerdtree' " file tree Plug 'Xuyuanp/nerdtree-git-plugin' " git plugin for nerdtree +Plug 'kshenoy/vim-signature' " show marks Plug 'ryanoasis/vim-devicons' " devicons for nerdtree Plug 'vim-airline/vim-airline' " statusline Plug 'preservim/nerdcommenter' " easier comment management From 3caa54494511544fb85b60d620e1922a5ad65ea8 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Thu, 6 May 2021 20:46:48 +0200 Subject: [PATCH 38/66] optimised laptop widgets --- qtile/.config/qtile/Widgets.py | 56 ++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/qtile/.config/qtile/Widgets.py b/qtile/.config/qtile/Widgets.py index d42429a..227b563 100644 --- a/qtile/.config/qtile/Widgets.py +++ b/qtile/.config/qtile/Widgets.py @@ -199,50 +199,52 @@ def Laptop_widgets(prev_color,last_color,size,fontsize): return [ *powerline_arrow('l',prev_color,red_color,size), widget.Battery( - foreground=dark_foreground_color, + foreground=light_foreground_color, background=red_color, fontsize=fontsize, update_interval=1, - format="{percent:2.0%}", + format=" {percent:2.0%}", + low_percentage=0.2, + notify_below=True, ), *powerline_arrow('l',red_color,green_color,size), - widget.Image( - filename='~/.config/qtile/icons/cpu.png', - margin=5, + widget.TextBox( + text='', + foreground=light_foreground_color, background=green_color, - mouse_callbacks = launch_htop, - ), + fontsize=fontsize+6 + ), widget.CPU( - foreground=dark_foreground_color, + foreground=light_foreground_color, background=green_color, fontsize=fontsize, - format='{load_percent}%', + format='{load_percent}% @ {freq_current}GHz', mouse_callbacks = launch_htop, ), - *powerline_arrow('l',green_color,orange_color,size), - widget.Image( - filename='~/.config/qtile/icons/ram.png', - background=orange_color, - margin=-10, - mouse_callbacks = launch_htop, - ), + *powerline_arrow('l',green_color,yellow_color,size), + widget.TextBox( + text='﬙', + foreground=light_foreground_color, + background=yellow_color, + fontsize=fontsize+6 + ), MemoryC( - foreground=dark_foreground_color, - background=orange_color, + foreground=light_foreground_color, + background=yellow_color, fontsize=fontsize, - format=" {MemUsed}GB | {SwapUsed}GB", + format=" {MemUsed}GB({MemPercent}%) | {SwapUsed}GB({SwapPercent}%)", mouse_callbacks = launch_htop, ), - *powerline_arrow('l',orange_color,last_color,size), - widget.Image( - filename='~/.config/qtile/icons/network.png', + *powerline_arrow('l',yellow_color,last_color,size), + widget.TextBox( + text='', + foreground=light_foreground_color, background=blue_color, - margin=5, - mouse_callbacks = launch_htop, - ), + fontsize=fontsize+6 + ), widget.Net( background=last_color, - foreground=dark_foreground_color, + foreground=light_foreground_color, fontsize=fontsize, fmt='{:.9}', format='{down}↓', @@ -250,7 +252,7 @@ def Laptop_widgets(prev_color,last_color,size,fontsize): ), widget.Net( background=last_color, - foreground=dark_foreground_color, + foreground=light_foreground_color, fontsize=fontsize, fmt='{:.9}', format='{up}↑', From 67b4f260ab7c9fbeb1006766bba5f86264af11fa Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Thu, 6 May 2021 20:48:30 +0200 Subject: [PATCH 39/66] changed colorscheme for laptop widgets --- qtile/.config/qtile/Widgets.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qtile/.config/qtile/Widgets.py b/qtile/.config/qtile/Widgets.py index 227b563..d4b05cd 100644 --- a/qtile/.config/qtile/Widgets.py +++ b/qtile/.config/qtile/Widgets.py @@ -197,17 +197,18 @@ def end_widgets(prev_color,size,fontsize): #region Laptop widgets def Laptop_widgets(prev_color,last_color,size,fontsize): return [ - *powerline_arrow('l',prev_color,red_color,size), + *powerline_arrow('l',prev_color,orange_color,size), widget.Battery( foreground=light_foreground_color, - background=red_color, + background=orange_color, fontsize=fontsize, update_interval=1, format=" {percent:2.0%}", low_percentage=0.2, notify_below=True, + low_foreground=red_color, ), - *powerline_arrow('l',red_color,green_color,size), + *powerline_arrow('l',orange_color,green_color,size), widget.TextBox( text='', foreground=light_foreground_color, From f1dc80f4f1961ae2c2d633afd81b3a71104a8326 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sat, 8 May 2021 17:35:53 +0200 Subject: [PATCH 40/66] added config for alacritty because Termite was discontinued (https://github.com/thestinger/termite) --- Alacritty/.config/alacritty/alacritty.yml | 78 +++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 Alacritty/.config/alacritty/alacritty.yml diff --git a/Alacritty/.config/alacritty/alacritty.yml b/Alacritty/.config/alacritty/alacritty.yml new file mode 100644 index 0000000..d362ac1 --- /dev/null +++ b/Alacritty/.config/alacritty/alacritty.yml @@ -0,0 +1,78 @@ +font: + normal: + family: UbuntuMonoNerdFont + style: Regular + + bold: + family: UbuntuMonoNerdFont + style: Bold + + italic: + family: UbuntuMonoNerdFont + style: Italic + + bold_italic: + family: UbuntuMonoNerdFont + style: Bold Italic + + size: 14 + +# Colors (Gruvbox dark) +colors: + primary: + # hard contrast background - '#1d2021' + background: &gruvbox_dark_bg '#282828' + # soft contrast background - '#32302f' + foreground: '#fbf1c7' + bright_foreground: '#f9f5d7' + dim_foreground: '#f2e5bc' + cursor: + text: CellBackground + cursor: CellForeground + vi_mode_cursor: + text: CellBackground + cursor: CellForeground + # search: + # matches: + # foreground: '#000000' + # background: '#ffffff' + # focused_match: + # foreground: CellBackground + # background: CellForeground + # bar: + # background: '' + # foreground: '' + # line_indicator: + # foreground: None + # background: None + selection: + text: CellBackground + background: CellForeground + bright: + black: '#928374' + red: '#fb4934' + green: '#b8bb26' + yellow: '#fabd2f' + blue: '#83a598' + magenta: '#d3869b' + cyan: '#8ec07c' + white: '#ebdbb2' + normal: + black: *gruvbox_dark_bg + red: '#cc241d' + green: '#98971a' + yellow: '#d79921' + blue: '#458588' + magenta: '#b16286' + cyan: '#689d6a' + white: '#a89984' + dim: + black: '#32302f' + red: '#9d0006' + green: '#79740e' + yellow: '#b57614' + blue: '#076678' + magenta: '#8f3f71' + cyan: '#427b58' + white: '#928374' + # indexed_colors: [] From 1c1c4b425558b3f728fceadc44a7287d10f5cdaf Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sat, 8 May 2021 17:36:30 +0200 Subject: [PATCH 41/66] removed Termite config (see previous commit) --- termite/.config/termite/config | 41 ---------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 termite/.config/termite/config diff --git a/termite/.config/termite/config b/termite/.config/termite/config deleted file mode 100644 index 953bf40..0000000 --- a/termite/.config/termite/config +++ /dev/null @@ -1,41 +0,0 @@ -[options] -font = UbuntuMonoNerdFont 14 - -[colors] -# hard contrast: background = #1d2021 -background = #282828 -# soft contrast: background = #32302f -foreground = #ebdbb2 -foreground_bold = #ebdbb2 - -# dark0 + gray -color0 = #282828 -color8 = #928374 - -# neutral_red + bright_red -color1 = #cc241d -color9 = #fb4934 - -# neutral_green + bright_green -color2 = #98971a -color10 = #b8bb26 - -# neutral_yellow + bright_yellow -color3 = #d79921 -color11 = #fabd2f - -# neutral_blue + bright_blue -color4 = #458588 -color12 = #83a598 - -# neutral_purple + bright_purple -color5 = #b16286 -color13 = #d3869b - -# neutral_aqua + faded_aqua -color6 = #689d6a -color14 = #8ec07c - -# light4 + light1 -color7 = #a89984 -color15 = #ebdbb2 From f91cbde8e747112ed51af9d64de9d5a0067be79f Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sat, 8 May 2021 17:42:21 +0200 Subject: [PATCH 42/66] changed default terminal to Alacritty --- qtile/.config/qtile/defines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qtile/.config/qtile/defines.py b/qtile/.config/qtile/defines.py index e55dd77..e2849ef 100644 --- a/qtile/.config/qtile/defines.py +++ b/qtile/.config/qtile/defines.py @@ -1,4 +1,4 @@ -term = 'termite' +term = 'alacritty' focus_color = '#076678' border_width = 2 mod = 'mod4' From 55ab56c9ee9828f6ddae7b1c110b0b501e702f40 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sat, 8 May 2021 18:44:53 +0200 Subject: [PATCH 43/66] new backup of packages --- code-extensions.txt | 8 ++++++ pip-modules.txt | 68 ++++++++++++++++++++++++++++----------------- pkglist.txt | 49 ++++++++++++++++++++++++++------ 3 files changed, 91 insertions(+), 34 deletions(-) diff --git a/code-extensions.txt b/code-extensions.txt index 5d8b399..fcc64e2 100644 --- a/code-extensions.txt +++ b/code-extensions.txt @@ -1,7 +1,12 @@ +apommel.matlab-interactive-terminal +bramvanbilsen.matlab-code-run +cschlosser.doxdocgen DotJoshJohnson.xml dracula-theme.theme-dracula eamodio.gitlens +Gimly81.matlab James-Yu.latex-workshop +jdinhlife.gruvbox mads-hartmann.bash-ide-vscode marus25.cortex-debug ms-azuretools.vscode-docker @@ -10,11 +15,14 @@ ms-toolsai.jupyter ms-vscode-remote.remote-ssh ms-vscode-remote.remote-ssh-edit ms-vscode.cpptools +ms-vscode.makefile-tools naumovs.color-highlight njpwerner.autodocstring +redhat.vscode-commons redhat.vscode-xml rogalmic.bash-debug shd101wyy.markdown-preview-enhanced +skyran.matlab-snippets streetsidesoftware.code-spell-checker streetsidesoftware.code-spell-checker-german stxr.iconfont-preview diff --git a/pip-modules.txt b/pip-modules.txt index 00ef34c..1e0959e 100644 --- a/pip-modules.txt +++ b/pip-modules.txt @@ -7,27 +7,31 @@ astroid==2.4.2 attrs==20.3.0 Babel==2.9.0 backcall==0.2.0 -btrfsutil==5.10 +btrfsutil==5.11.1 CacheControl==0.12.6 cairocffi==1.2.0 -certifi==2020.6.20 -cffi==1.14.4 -chardet==3.0.4 +certifi==2020.12.5 +cffi==1.14.5 +chardet==4.0.0 colorama==0.4.4 contextlib2==0.6.0.post1 -cryptography==3.3.1 +cryptography==3.4.7 cupshelpers==1.0 +cycler==0.10.0 decorator==4.4.2 distlib==0.3.1 distro==1.5.0 +dnspython==1.16.0 docopt==0.6.2 docutils==0.16 evdev==1.4.0 -gscreenshot==2.13.0 +GDAL==3.2.2 +greenlet==1.0.0 +gscreenshot==2.15.0 html5lib==1.1 -idna==2.10 +idna==3.1 imagesize==1.2.0 -importlib-metadata==3.4.0 +importlib-metadata==4.0.1 iniconfig==1.1.1 ipykernel==5.3.4 ipython==7.19.0 @@ -38,25 +42,32 @@ Jinja2==2.11.2 jupyter-client==6.1.7 jupyter-core==4.7.0 keyutils==0.6 +kiwisolver==1.3.1 lazy-object-proxy==1.4.3 lensfun==0.3.95 -louis==3.16.0 +lightdm-gtk-greeter-settings==1.2.2 +louis==3.17.0 lutris==0.5.8.3 lxml==4.6.2 +Markdown==3.3.4 MarkupSafe==1.1.1 +matplotlib==3.4.1 mccabe==0.6.1 -meld==3.20.2 -more-itertools==8.6.0 +meld==3.20.3 +more-itertools==8.7.0 msgpack==1.0.2 +neovim-remote==2.4.0 numpy==1.19.4 ordered-set==4.0.2 -packaging==20.8 +OWSLib==0.23.0 +packaging==20.9 parso==0.7.1 -pep517==0.9.1 +pep517==0.10.0 pexpect==4.8.0 pickleshare==0.7.5 -pikaur==1.6.15 +pikaur==1.6.17 Pillow==8.0.1 +Pivy==0.6.5 pluggy==0.13.1 ply==3.11 pockets==0.9.1 @@ -64,7 +75,9 @@ powerline-shell==0.7.0 progress==1.5 prompt-toolkit==3.0.8 psutil==5.8.0 +psycopg2==2.8.6 ptyprocess==0.6.0 +pwquality==1.4.4 py==1.10.0 pyalpm==0.9.2 pycairo==1.20.0 @@ -72,26 +85,31 @@ pycparser==2.20 pycups==2.0.1 pycurl==7.43.0.6 Pygments==2.7.3 -PyGObject==3.38.0 +PyGObject==3.40.1 pylint==2.6.0 +pynvim==0.4.3 pyOpenSSL==20.0.1 pyparsing==2.4.7 -PyQt5==5.15.2 +pyproj==3.0.1 +PyQt5==5.15.4 PyQt5-sip==12.8.1 pyserial==3.5 -pytest==6.2.1 +PySide2==5.15.2 +pytest==6.2.4 python-dateutil==2.8.1 python-magic==0.4.18 pytz==2020.5 -PyYAML==5.3.1 +PyYAML==5.4.1 pyzmq==20.0.0 -qtile==0.16.1 +QScintilla==2.12.1 +qtile==0.17.0 requests==2.25.1 resolvelib==0.5.4 retrying==1.3.3 -scipy==1.6.0 +scipy==1.6.3 Shapely==1.7.1 -sip==4.19.24 +shiboken2==5.15.2 +sip==4.19.25 six==1.15.0 snowballstemmer==2.0.0 Sphinx==3.4.2 @@ -106,12 +124,12 @@ team==1.0 toml==0.10.2 tornado==6.1 traitlets==5.0.5 -udiskie==2.3.2 -urllib3==1.26.2 +udiskie==2.3.3 +urllib3==1.26.4 wcwidth==0.2.5 webencodings==0.5.1 wrapt==1.12.1 wxPython==4.0.7.post2 xcffib==0.11.1 -youtube-dl==2021.1.24.1 -zipp==3.4.0 +youtube-dl==2021.4.26 +zipp==3.4.1 diff --git a/pkglist.txt b/pkglist.txt index e2bdd80..777d41b 100644 --- a/pkglist.txt +++ b/pkglist.txt @@ -5,6 +5,10 @@ alsa-utils amd-ucode android-studio arandr +arduino +arduino-avr-core +arduino-cli +arduino-docs arm-none-eabi-binutils arm-none-eabi-gcc arm-none-eabi-gdb @@ -12,19 +16,16 @@ arm-none-eabi-newlib autoconf autocutsel automake -balena-etcher +barrier base bdf-unifont binutils bison bitwarden-bin bitwarden-rofi -breeze-gtk -breeze-icons capitaine-cursors cdrtools -chromium -copyq +cmatrix cronie cups cura @@ -38,23 +39,29 @@ efibootmgr eog evince exa +exfat-utils fakeroot firefox +flatpak flex +freecad gcc gimp git gitg +gnome-disk-utility gnome-keyring grub +gruvbox-dark-icons-gtk gscreenshot +gtk-theme-arc-gruvbox-git gutenprint -gvim +gvfs +gvfs-smb htop inkscape jre-openjdk jre8-openjdk -keepassxc kicad kicad-library kicad-library-3d @@ -62,9 +69,13 @@ lib32-nvidia-utils libgnome-keyring libnotify libreoffice-still +libreoffice-still-de +lightdm +lightdm-gtk-greeter +lightdm-gtk-greeter-settings linux linux-firmware -linux-zen +linux-lts lshw lutris lxappearance @@ -77,12 +88,17 @@ moc mtools ncdu neofetch +neovim +nerd-fonts-complete networkmanager nextcloud-client nitrogen nmap +npm +ntfs-3g numlockx nvidia +openmotif openocd openvpn os-prober @@ -95,6 +111,7 @@ patch pavucontrol pcmanfm-gtk3 pdftk +phoronix-test-suite picom pikaur pkgconf @@ -105,8 +122,10 @@ pulseaudio-ctl pycharm-community-edition python-pip python-psutil +python-pynvim python-pytest python-subprocess2 +qgis qt5-styleplugins qtile rapidsvn @@ -114,18 +133,22 @@ redshift redshiftgui-bin rofi rofi-calc +rpi-imager signal-desktop skypeforlinux-stable-bin slack-desktop +smbclient +spacenavd spotify steam stlink stow subversion sudo +surf system-config-printer teams -termite +teamviewer texinfo texlive-bibtexextra texlive-core @@ -139,8 +162,12 @@ texlive-pictures texlive-pstricks texlive-publishers texlive-science +texlive-tikz-uml thunderbird +tigervnc timeshift +tor-browser +transmission-gtk tree ttf-dseg ttf-liberation @@ -156,9 +183,11 @@ visual-studio-code-bin vlc vlc-pause-click-plugin wd719x-firmware +wget whatsapp-for-linux which wine +woeusb-gui xarchiver xcb-util-cursor xclip @@ -216,5 +245,7 @@ xorg-xwininfo xorg-xwud xterm youtube-dl +zathura +zathura-pdf-poppler zip zvbi From 3a39bde9e7e068680a046da127b1504d78a946cd Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 10 May 2021 09:44:54 +0200 Subject: [PATCH 44/66] changed rofi colorscheme --- rofi/.config/rofi/config.rasi | 175 +++++++++++----------------------- 1 file changed, 57 insertions(+), 118 deletions(-) diff --git a/rofi/.config/rofi/config.rasi b/rofi/.config/rofi/config.rasi index fc4ee9a..75d2c9d 100644 --- a/rofi/.config/rofi/config.rasi +++ b/rofi/.config/rofi/config.rasi @@ -1,122 +1,61 @@ -/*Dracula theme based on the Purple official rofi theme*/ +/* ========================================================================== + Rofi color theme + + Based on the Gruvbox color scheme for Vim by morhetz + https://github.com/morhetz/gruvbox + + File: gruvbox-dark-hard.rasi + Desc: Gruvbox dark (hard contrast) color theme for Rofi + Author: bardisty + Source: https://github.com/bardisty/gruvbox-rofi + Modified: Mon Feb 12 2018 06:04:26 PST -0800 + ========================================================================== */ * { - font: "Ubuntu Mono 16"; - foreground: #f8f8f2; - background-color: #282a36; - active-background: #6272a4; - urgent-background: #ff5555; - selected-background: @active-background; - selected-urgent-background: @urgent-background; - selected-active-background: @active-background; - separatorcolor: @active-background; - bordercolor: @active-background; + /* Theme settings */ + highlight: bold italic; + scrollbar: true; + + /* Gruvbox dark colors */ + gruvbox-dark-bg0-hard: #1d2021; + gruvbox-dark-bg0: #282828; + gruvbox-dark-bg2: #504945; + gruvbox-dark-fg0: #fbf1c7; + gruvbox-dark-fg1: #ebdbb2; + gruvbox-dark-red-dark: #cc241d; + gruvbox-dark-red-light: #fb4934; + gruvbox-dark-yellow-dark: #d79921; + gruvbox-dark-yellow-light: #fabd2f; + gruvbox-dark-gray: #a89984; + + /* Theme colors */ + background: @gruvbox-dark-bg0-hard; + background-color: @background; + foreground: @gruvbox-dark-fg1; + border-color: @gruvbox-dark-gray; + separatorcolor: @border-color; + scrollbar-handle: @border-color; + + normal-background: @background; + normal-foreground: @foreground; + alternate-normal-background: @gruvbox-dark-bg0; + alternate-normal-foreground: @foreground; + selected-normal-background: @gruvbox-dark-bg2; + selected-normal-foreground: @gruvbox-dark-fg0; + + active-background: @gruvbox-dark-yellow-dark; + active-foreground: @background; + alternate-active-background: @active-background; + alternate-active-foreground: @active-foreground; + selected-active-background: @gruvbox-dark-yellow-light; + selected-active-foreground: @active-foreground; + + urgent-background: @gruvbox-dark-red-dark; + urgent-foreground: @background; + alternate-urgent-background: @urgent-background; + alternate-urgent-foreground: @urgent-foreground; + selected-urgent-background: @gruvbox-dark-red-light; + selected-urgent-foreground: @urgent-foreground; } -#window { - background-color: @background; - border: 1; - border-radius: 6; - border-color: @bordercolor; - padding: 5; -} -#mainbox { - border: 0; - padding: 0; -} -#message { - border: 1px dash 0px 0px ; - border-color: @separatorcolor; - padding: 1px ; -} -#textbox { - text-color: @foreground; -} -#listview { - fixed-height: 0; - border: 2px dash 0px 0px ; - border-color: @bordercolor; - spacing: 2px ; - scrollbar: false; - padding: 2px 0px 0px ; -} -#element { - border: 0; - padding: 1px ; -} -#element.normal.normal { - background-color: @background; - text-color: @foreground; -} -#element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} -#element.normal.active { - background-color: @active-background; - text-color: @foreground; -} -#element.selected.normal { - background-color: @selected-background; - text-color: @foreground; -} -#element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @foreground; -} -#element.selected.active { - background-color: @selected-active-background; - text-color: @foreground; -} -#element.alternate.normal { - background-color: @background; - text-color: @foreground; -} -#element.alternate.urgent { - background-color: @urgent-background; - text-color: @foreground; -} -#element.alternate.active { - background-color: @active-background; - text-color: @foreground; -} -#scrollbar { - width: 2px ; - border: 0; - handle-width: 8px ; - padding: 0; -} -#sidebar { - border: 2px dash 0px 0px ; - border-color: @separatorcolor; -} -#button.selected { - background-color: @selected-background; - text-color: @foreground; -} -#inputbar { - spacing: 0; - text-color: @foreground; - padding: 1px ; -} -#case-indicator { - spacing: 0; - text-color: @foreground; -} -#entry { - spacing: 0; - text-color: @foreground; -} -#prompt { - spacing: 0; - text-color: @foreground; -} -#inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; -} -#textbox-prompt-colon { - expand: false; - str: ":"; - margin: 0px 0.3em 0em 0em ; - text-color: @foreground; -} +@import "gruvbox-common.rasi" From 9e3ccc2a1a584de52790cdb1d0400aa4e0d9e1fb Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 10 May 2021 11:07:40 +0200 Subject: [PATCH 45/66] corrected rofi font --- rofi/.config/rofi/config.rasi | 1 + 1 file changed, 1 insertion(+) diff --git a/rofi/.config/rofi/config.rasi b/rofi/.config/rofi/config.rasi index 75d2c9d..d494f1b 100644 --- a/rofi/.config/rofi/config.rasi +++ b/rofi/.config/rofi/config.rasi @@ -12,6 +12,7 @@ ========================================================================== */ * { + font: "Ubuntu Mono Nerd Font 16"; /* Theme settings */ highlight: bold italic; scrollbar: true; From 2ff6dc88fc99f6ed300e00499583a395db8b52cf Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sun, 16 May 2021 18:26:46 +0200 Subject: [PATCH 46/66] added qtile group "etc" --- qtile/.config/qtile/Groups.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qtile/.config/qtile/Groups.py b/qtile/.config/qtile/Groups.py index 98043e5..2c7ec49 100644 --- a/qtile/.config/qtile/Groups.py +++ b/qtile/.config/qtile/Groups.py @@ -13,7 +13,8 @@ group_names = [("","Home", 'h',{'layout': 'monadtall'}), ("","Documents", 'l',{'layout': 'monadtall'}), ("ﭮ","Discord", 'd',{'layout': 'monadtall'}), ("","VM's", 'o',{'layout': 'monadtall'}), - ("","Gaming", 'g',{'layout': 'monadtall'})] + ("","Gaming", 'g',{'layout': 'monadtall'}), + ("","etc", 'x', {'layout': 'monadtall'})] groups = [Group(icon, **kwargs) for icon, name, key, kwargs in group_names] From 9626ff585336dafb0dd1b017e51d05f0f295c1ef Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Tue, 25 May 2021 14:52:54 +0200 Subject: [PATCH 47/66] Added ability to modify files in NERDTree --- neovim/.config/nvim/init.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index d0d24a0..46db2ea 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -19,6 +19,7 @@ if !empty(filter(copy(g:plugs), '!isdirectory(v:val.dir)')) endif Plug 'preservim/nerdtree' " file tree Plug 'Xuyuanp/nerdtree-git-plugin' " git plugin for nerdtree +Plug 'PhilRunninger/nerdtree-visual-selection' " file manipulation in nerdtree Plug 'kshenoy/vim-signature' " show marks Plug 'ryanoasis/vim-devicons' " devicons for nerdtree Plug 'vim-airline/vim-airline' " statusline @@ -136,6 +137,7 @@ let g:airline#extensions#tabline#formatter = 'unique_tail' " set tabline item s "-------------------- "NERDTree "-------------------- +set modifiable let NERDTreeShowHidden=1 " show hidden files in NERDTree let NERDTreeAutoDeleteBuffer=1 " automatically delete the buffer of the file deleted with NERDTree let g:NERDTreeGitStatusUseNerdFonts=1 " enable nerdfonts for git status in nerdtree From d862cc7e90cb854f264babc5d44cf352537d3f03 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Tue, 25 May 2021 14:53:20 +0200 Subject: [PATCH 48/66] added cdvim alias --- bash/.bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bash/.bashrc b/bash/.bashrc index 912d510..420f9f0 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -16,6 +16,9 @@ export PATH=$PATH:~/.local/bin alias dog='cat' alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash' #rickroll +#alias vim to nvim +alias vim='nvim' + #shutdown and reboot alias sn='shutdown now' alias rb='reboot' @@ -148,4 +151,6 @@ ex () mkcd() { mkdir "$@"&&cd "$@";} # "cdls" to cd and ls in one go cdls() { cd "$@"&&ls;} +#cdvim to cd into the directory of a file and open the file in vim +cdvim(){ cd "$(dirname "$@")" && vim "$(basename "$@")";} # <<< cd shortcuts <<< From 40875ba3e14d113d06bfbc243b3c8d1cbf0340c9 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sat, 12 Jun 2021 09:47:16 +0200 Subject: [PATCH 49/66] updated package list --- code-extensions.txt | 3 +++ pip-modules.txt | 29 +++++++++++++++++------------ pkglist.txt | 10 +++++----- 3 files changed, 25 insertions(+), 17 deletions(-) diff --git a/code-extensions.txt b/code-extensions.txt index fcc64e2..75fd392 100644 --- a/code-extensions.txt +++ b/code-extensions.txt @@ -5,12 +5,15 @@ DotJoshJohnson.xml dracula-theme.theme-dracula eamodio.gitlens Gimly81.matlab +GrapeCity.gc-excelviewer James-Yu.latex-workshop jdinhlife.gruvbox mads-hartmann.bash-ide-vscode marus25.cortex-debug +mechatroner.rainbow-csv ms-azuretools.vscode-docker ms-python.python +ms-python.vscode-pylance ms-toolsai.jupyter ms-vscode-remote.remote-ssh ms-vscode-remote.remote-ssh-edit diff --git a/pip-modules.txt b/pip-modules.txt index 1e0959e..394a5ed 100644 --- a/pip-modules.txt +++ b/pip-modules.txt @@ -4,10 +4,10 @@ appdirs==1.4.4 arandr==0.1.10 asn1crypto==1.4.0 astroid==2.4.2 -attrs==20.3.0 +attrs==21.2.0 Babel==2.9.0 backcall==0.2.0 -btrfsutil==5.11.1 +btrfsutil==5.12.1 CacheControl==0.12.6 cairocffi==1.2.0 certifi==2020.12.5 @@ -19,14 +19,15 @@ cryptography==3.4.7 cupshelpers==1.0 cycler==0.10.0 decorator==4.4.2 -distlib==0.3.1 +distlib==0.3.2 distro==1.5.0 dnspython==1.16.0 docopt==0.6.2 docutils==0.16 +entrypoints==0.3 evdev==1.4.0 -GDAL==3.2.2 -greenlet==1.0.0 +GDAL==3.2.3 +greenlet==1.1.0 gscreenshot==2.15.0 html5lib==1.1 idna==3.1 @@ -38,9 +39,11 @@ ipython==7.19.0 ipython-genutils==0.2.0 isort==5.6.4 jedi==0.17.2 +jeepney==0.6.0 Jinja2==2.11.2 jupyter-client==6.1.7 jupyter-core==4.7.0 +keyring==23.0.1 keyutils==0.6 kiwisolver==1.3.1 lazy-object-proxy==1.4.3 @@ -59,7 +62,7 @@ msgpack==1.0.2 neovim-remote==2.4.0 numpy==1.19.4 ordered-set==4.0.2 -OWSLib==0.23.0 +OWSLib==0.24.1 packaging==20.9 parso==0.7.1 pep517==0.10.0 @@ -79,7 +82,7 @@ psycopg2==2.8.6 ptyprocess==0.6.0 pwquality==1.4.4 py==1.10.0 -pyalpm==0.9.2 +pyalpm==0.10.3 pycairo==1.20.0 pycparser==2.20 pycups==2.0.1 @@ -92,7 +95,7 @@ pyOpenSSL==20.0.1 pyparsing==2.4.7 pyproj==3.0.1 PyQt5==5.15.4 -PyQt5-sip==12.8.1 +PyQt5-sip==12.9.0 pyserial==3.5 PySide2==5.15.2 pytest==6.2.4 @@ -107,10 +110,11 @@ requests==2.25.1 resolvelib==0.5.4 retrying==1.3.3 scipy==1.6.3 +SecretStorage==3.3.1 Shapely==1.7.1 shiboken2==5.15.2 sip==4.19.25 -six==1.15.0 +six==1.16.0 snowballstemmer==2.0.0 Sphinx==3.4.2 sphinxcontrib-applehelp==1.0.2 @@ -124,12 +128,13 @@ team==1.0 toml==0.10.2 tornado==6.1 traitlets==5.0.5 +trimesh==3.9.14 udiskie==2.3.3 -urllib3==1.26.4 +urllib3==1.26.5 wcwidth==0.2.5 webencodings==0.5.1 wrapt==1.12.1 -wxPython==4.0.7.post2 +wxPython==4.1.1 xcffib==0.11.1 -youtube-dl==2021.4.26 +youtube-dl==2021.6.6 zipp==3.4.1 diff --git a/pkglist.txt b/pkglist.txt index 777d41b..eb97c3c 100644 --- a/pkglist.txt +++ b/pkglist.txt @@ -4,6 +4,7 @@ alsa-tools alsa-utils amd-ucode android-studio +android-tools arandr arduino arduino-avr-core @@ -41,6 +42,7 @@ evince exa exfat-utils fakeroot +ffmpegthumbnailer firefox flatpak flex @@ -83,6 +85,7 @@ lxsession m4 make meld +minecraft-launcher mlocate moc mtools @@ -111,7 +114,6 @@ patch pavucontrol pcmanfm-gtk3 pdftk -phoronix-test-suite picom pikaur pkgconf @@ -119,12 +121,12 @@ playerctl pulseaudio pulseaudio-alsa pulseaudio-ctl -pycharm-community-edition python-pip python-psutil python-pynvim python-pytest python-subprocess2 +qalculate-gtk qgis qt5-styleplugins qtile @@ -134,9 +136,9 @@ redshiftgui-bin rofi rofi-calc rpi-imager +shotwell signal-desktop skypeforlinux-stable-bin -slack-desktop smbclient spacenavd spotify @@ -147,7 +149,6 @@ subversion sudo surf system-config-printer -teams teamviewer texinfo texlive-bibtexextra @@ -164,7 +165,6 @@ texlive-publishers texlive-science texlive-tikz-uml thunderbird -tigervnc timeshift tor-browser transmission-gtk From cefd9e1fd1093476eb0bf7f1a2c564800d891693 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sat, 12 Jun 2021 13:11:17 +0200 Subject: [PATCH 50/66] added bibtex support to neovim --- neovim/.config/nvim/init.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index 46db2ea..8b88bbd 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -31,6 +31,7 @@ Plug 'machakann/vim-sandwich' " manipulate elements surroundin Plug 'tpope/vim-fugitive' " git master tool Plug 'vim-scripts/colorizer' " colorize color codes Plug 'honza/vim-snippets' " snippets +Plug 'rbonvall/snipmate-snippets-bib' " bib snippets Plug 'lervag/vimtex' " vimtex Plug 'morhetz/gruvbox' " gruvbox colorscheme Plug 'Yggdroot/indentLine' " ident guides From e1a171500e3559893f52c96d5b184f19cebcccdf Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sat, 19 Jun 2021 20:49:22 +0200 Subject: [PATCH 51/66] added alias for git log --- bash/.bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/bash/.bashrc b/bash/.bashrc index 420f9f0..328221c 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -79,6 +79,7 @@ alias diff='git diff' alias remote='git remote' alias ftemplate='git fetch template' alias mtemplate='git merge template/master --allow-unrelated-histories' +alias log='git log' #st programs alias cubeide='~/st/stm32cubeide_1.5.0/stm32cubeide' From 50d1d1ff52db4112e3f82ae970d958c42b754e1d Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Thu, 24 Jun 2021 08:20:19 +0200 Subject: [PATCH 52/66] added key combo to close tab in nvim. --- neovim/.config/nvim/init.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index 8b88bbd..6cf8787 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -69,6 +69,9 @@ augroup END "-------------------- "mappings "-------------------- +"disable colorizer mappings +let g:colorizer_nomap = 1 + " enable copy and past to and fro clipboard vnoremap y "+y nnoremap Y "+yg_ @@ -90,6 +93,7 @@ nnoremap öw :w nnoremap öq :q "custom tab commands nnoremap tn :tabnew +nnoremap tc :tabclose "show buffers nnoremap b :buffers:buffer " cycle buffers @@ -184,6 +188,8 @@ augroup END "-------------------- let g:vimtex_compiler_progname = 'nvr' " neovim-remote for vimtex let g:vimtex_view_method = 'zathura' " set zathura as basic pdf viewer +"open TOC +nnoremap toc :VimtexTocToggle " latexmk parameters let g:vimtex_compiler_latexmk = { \ 'options' : [ From d86c5e58e60d3f94e4679811ac7e0382782f3f67 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Thu, 24 Jun 2021 08:20:42 +0200 Subject: [PATCH 53/66] changed Qtile groups: added group for tor browser removed often misused groups added groups "1","2" and "3" for general usage --- qtile/.config/qtile/Groups.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/qtile/.config/qtile/Groups.py b/qtile/.config/qtile/Groups.py index 2c7ec49..bcb1480 100644 --- a/qtile/.config/qtile/Groups.py +++ b/qtile/.config/qtile/Groups.py @@ -5,16 +5,17 @@ from defines import term from Keys import keys group_names = [("","Home", 'h',{'layout': 'monadtall'}), - ("","Coding", 'c',{'layout': 'monadtall'}), ("","Browser", 'f',{'layout': 'monadtall'}), ("","Mail", 'm',{'layout': 'monadtall'}), + ("","Coding", 'c',{'layout': 'monadtall'}), + ("","Documents", 'l',{'layout': 'monadtall'}), + ("﨩","Tor Browser", 't',{'layout': 'monadtall'}), ("ﱘ","Music", 's',{'layout': 'monadtall'}), ("","Video", 'v',{'layout': 'monadtall'}), - ("","Documents", 'l',{'layout': 'monadtall'}), ("ﭮ","Discord", 'd',{'layout': 'monadtall'}), - ("","VM's", 'o',{'layout': 'monadtall'}), - ("","Gaming", 'g',{'layout': 'monadtall'}), - ("","etc", 'x', {'layout': 'monadtall'})] + ("1","etc1", '1', {'layout': 'monadtall'}), + ("2","etc2", '2', {'layout': 'monadtall'}), + ("3","etc3", '3', {'layout': 'monadtall'})] groups = [Group(icon, **kwargs) for icon, name, key, kwargs in group_names] From fce57202d3d08b96f61c7104c0e0747fb36db7a9 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Wed, 14 Jul 2021 14:32:00 +0200 Subject: [PATCH 54/66] Bash -> zsh --- bash/.bashrc | 3 -- zsh/.zshrc | 137 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 137 insertions(+), 3 deletions(-) create mode 100644 zsh/.zshrc diff --git a/bash/.bashrc b/bash/.bashrc index 328221c..5fe2a67 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -16,9 +16,6 @@ export PATH=$PATH:~/.local/bin alias dog='cat' alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash' #rickroll -#alias vim to nvim -alias vim='nvim' - #shutdown and reboot alias sn='shutdown now' alias rb='reboot' diff --git a/zsh/.zshrc b/zsh/.zshrc new file mode 100644 index 0000000..4791567 --- /dev/null +++ b/zsh/.zshrc @@ -0,0 +1,137 @@ +# +# ~/.zshrc +# + +# Path to your oh-my-zsh installation. +export ZSH="/home/paul/.oh-my-zsh" + +# Set name of the theme to load --- if set to "random", it will +# load a random theme each time oh-my-zsh is loaded, in which case, +# to know which specific one was loaded, run: echo $RANDOM_THEME +# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes +ZSH_THEME="robbyrussell" +function powerline_precmd() { + PS1="$(powerline-shell --shell zsh $?)" +} + +function install_powerline_precmd() { + for s in "${precmd_functions[@]}"; do + if [ "$s" = "powerline_precmd" ]; then + return + fi + done + precmd_functions+=(powerline_precmd) +} + +if [ "$TERM" != "linux" ]; then + install_powerline_precmd +fi + +# Uncomment the following line to use case-sensitive completion. +CASE_SENSITIVE="false" + +# Uncomment the following line to use hyphen-insensitive completion. +# Case-sensitive completion must be off. _ and - will be interchangeable. +HYPHEN_INSENSITIVE="true" + +# Uncomment the following line to change how often to auto-update (in days). +export UPDATE_ZSH_DAYS=3 + +# Uncomment the following line to enable command auto-correction. +ENABLE_CORRECTION="true" + +# Uncomment the following line to display red dots whilst waiting for completion. +# Caution: this setting can cause issues with multiline prompts (zsh 5.7.1 and newer seem to work) +# See https://github.com/ohmyzsh/ohmyzsh/issues/5765 +COMPLETION_WAITING_DOTS="true" + +# Which plugins would you like to load? +# Standard plugins can be found in $ZSH/plugins/ +# Custom plugins may be added to $ZSH_CUSTOM/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +plugins=( + git + svn + themes + command-not-found + vi-mode + extract + # non oh-my-zsh plugins + zsh-autosuggestions + zsh-syntax-highlighting +) + +source $ZSH/oh-my-zsh.sh + +### ALIAS' ### +#jokes +alias dog='cat' +alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash' #rickroll + +#shutdown and reboot +alias sn='shutdown now' +alias rb='reboot' + +# navigation +alias ..='cd ..' +alias ...='cd ../..' +alias .3='cd ../../..' +alias .4='cd ../../../..' +alias .5='cd ../../../../..' + +#libreoffice +alias writer='libreoffice --writer' +alias calc='libreoffice --calc' +alias impress='libreoffice --impress' + +# pacman and pikaur +alias install='sudo pacman -S' +alias uninstall='sudo pacman -Rns' +alias search='sudo pacman -Ss' +alias install-all='sudo pikaur' +alias update='sudo pacman -Syyu' # update only standard pkgs +alias update-all="pikaur -Syu" # update standard pkgs and AUR pkgs +alias cleanup='sudo pacman -Rns $(pacman -Qtdq)' # remove orphaned packages + +# Changing "ls" to "exa" +alias ls='exa -l --color=always --group-directories-first --git' # my preferred listing +alias la='exa -a --color=always --group-directories-firs --git' # all files and dirs +alias ll='exa -al --color=always --group-directories-first --git' # long format +alias lt='exa -aT --color=always --group-directories-first --git' # tree listing +alias l.='exa -a | egrep "^\."' + +# Colorize grep output (good for log files) +alias grep='grep --color=auto' +alias egrep='egrep --color=auto' +alias fgrep='fgrep --color=auto' + +# confirm before overwriting something +alias cp="cp -i" +alias mv='mv -i' +alias rm='rm -i' + +# git +alias add='git add' +alias addup='git add -u' +alias addall='git add .' +alias branch='git branch' +alias checkout='git checkout' +alias co='git checkout' +alias clone='git clone' +alias commit='git commit -m' +alias fetch='git fetch' +alias pull='git pull origin' +alias push='git push origin' +alias status='git status' +alias diff='git diff' +alias remote='git remote' +alias ftemplate='git fetch template' +alias mtemplate='git merge template/master --allow-unrelated-histories' +alias log='git log' + +### AUTOSTART ### + +#neofetch +neofetch + From 7e389eedd4add9f3a899c199731cbcdfa5c75338 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Fri, 16 Jul 2021 20:01:23 +0200 Subject: [PATCH 55/66] Changed window compositor. Added window margins. --- picom/.config/picom/picom.conf | 504 +++++++++++++++++++++++++++++++ qtile/.config/qtile/Keys.py | 2 + qtile/.config/qtile/Layouts.py | 13 +- qtile/.config/qtile/Widgets.py | 6 +- qtile/.config/qtile/autostart.sh | 2 +- qtile/.config/qtile/defines.py | 1 + 6 files changed, 524 insertions(+), 4 deletions(-) create mode 100644 picom/.config/picom/picom.conf diff --git a/picom/.config/picom/picom.conf b/picom/.config/picom/picom.conf new file mode 100644 index 0000000..07d7ca8 --- /dev/null +++ b/picom/.config/picom/picom.conf @@ -0,0 +1,504 @@ +################################# +# Animations # +################################# +# requires https://github.com/jonaburg/picom +# (These are also the default values) +transition-length = 300 +transition-pow-x = 0.1 +transition-pow-y = 0.1 +transition-pow-w = 0.1 +transition-pow-h = 0.1 +size-transition = true + + +################################# +# Corners # +################################# +# requires: https://github.com/sdhand/compton or https://github.com/jonaburg/picom +corner-radius = 10.0; +rounded-corners-exclude = [ + #"window_type = 'normal'", + #"class_g = 'awesome'", + #"class_g = 'Alacritty'", + "class_g = 'Polybar'", + "class_g = 'code-oss'", + "! name~=''", +]; +round-borders = 1; +round-borders-exclude = [ + #"class_g = 'TelegramDesktop'", +]; + +################################# +# Shadows # +################################# + + +# Enabled client-side shadows on windows. Note desktop windows +# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, +# unless explicitly requested using the wintypes option. +# +# shadow = false +shadow = false; + +# The blur radius for shadows, in pixels. (defaults to 12) +# shadow-radius = 12 +shadow-radius = 7; + +# The opacity of shadows. (0.0 - 1.0, defaults to 0.75) +# shadow-opacity = .75 + +# The left offset for shadows, in pixels. (defaults to -15) +# shadow-offset-x = -15 +shadow-offset-x = -7; + +# The top offset for shadows, in pixels. (defaults to -15) +# shadow-offset-y = -15 +shadow-offset-y = -7; + +# Avoid drawing shadows on dock/panel windows. This option is deprecated, +# you should use the *wintypes* option in your config file instead. +# +# no-dock-shadow = false + +# Don't draw shadows on drag-and-drop windows. This option is deprecated, +# you should use the *wintypes* option in your config file instead. +# +# no-dnd-shadow = false + +# Red color value of shadow (0.0 - 1.0, defaults to 0). +# shadow-red = 0 + +# Green color value of shadow (0.0 - 1.0, defaults to 0). +# shadow-green = 0 + +# Blue color value of shadow (0.0 - 1.0, defaults to 0). +# shadow-blue = 0 + +# Do not paint shadows on shaped windows. Note shaped windows +# here means windows setting its shape through X Shape extension. +# Those using ARGB background is beyond our control. +# Deprecated, use +# shadow-exclude = 'bounding_shaped' +# or +# shadow-exclude = 'bounding_shaped && !rounded_corners' +# instead. +# +# shadow-ignore-shaped = '' + +# Specify a list of conditions of windows that should have no shadow. +# +# examples: +# shadow-exclude = "n:e:Notification"; +# +# shadow-exclude = [] +shadow-exclude = [ + "name = 'Notification'", + "class_g = 'Conky'", + "class_g ?= 'Notify-osd'", + "class_g = 'Cairo-clock'", +# "class_g = 'slop'", +# "class_g = 'Polybar'", + "_GTK_FRAME_EXTENTS@:c" +]; + +# Specify a X geometry that describes the region in which shadow should not +# be painted in, such as a dock window region. Use +# shadow-exclude-reg = "x10+0+0" +# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on. +# +# shadow-exclude-reg = "" + +# Crop shadow of a window fully on a particular Xinerama screen to the screen. +# xinerama-shadow-crop = false + + +################################# +# Fading # +################################# + + +# Fade windows in/out when opening/closing and when opacity changes, +# unless no-fading-openclose is used. +# fading = false +fading = true; + +# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) +# fade-in-step = 0.028 +fade-in-step = 0.03; + +# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) +# fade-out-step = 0.03 +fade-out-step = 0.03; + +# The time between steps in fade step, in milliseconds. (> 0, defaults to 10) +# fade-delta = 10 + +# Specify a list of conditions of windows that should not be faded. +# don't need this, we disable fading for all normal windows with wintypes: {} +fade-exclude = [ + #"clss_g = 'slop'" # maim +] + +# Do not fade on window open/close. +# no-fading-openclose = false + +# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc. +# no-fading-destroyed-argb = false + + +################################# +# Transparency / Opacity # +################################# + + +# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) +# inactive-opacity = 1 +inactive-opacity = 0.8; + +# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) +# frame-opacity = 1.0 +frame-opacity = 0.7; + +# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) +# menu-opacity = 1.0 +# menu-opacity is depreciated use dropdown-menu and popup-menu instead. + +#If using these 2 below change their values in line 510 & 511 aswell +popup_menu = { opacity = 0.8; } +dropdown_menu = { opacity = 0.8; } + + +# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. +# inactive-opacity-override = true +inactive-opacity-override = false; + +# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) +active-opacity = 1.0; + +# Dim inactive windows. (0.0 - 1.0, defaults to 0.0) +# inactive-dim = 0.0 + +# Specify a list of conditions of windows that should always be considered focused. +# focus-exclude = [] +focus-exclude = [ + "class_g = 'Cairo-clock'", + "class_g = 'Bar'", # lemonbar + "class_g = 'slop'" # maim +]; + +# Use fixed inactive dim value, instead of adjusting according to window opacity. +# inactive-dim-fixed = 1.0 + +# Specify a list of opacity rules, in the format `PERCENT:PATTERN`, +# like `50:name *= "Firefox"`. picom-trans is recommended over this. +# Note we don't make any guarantee about possible conflicts with other +# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. +# example: +# opacity-rule = [ "80:class_g = 'URxvt'" ]; +# +# opacity-rule = [] +opacity-rule = [ + "80:class_g = 'Bar'", # lemonbar + #"100:class_g = 'slop'", # maim + "100:class_g = 'Alacritty'", + "80:class_g = 'Polybar'", + "100:class_g = 'code-oss'", + "100:class_g = 'Meld'", + "70:class_g = 'TelegramDesktop'", + "90:class_g = 'Joplin'", + "100:class_g = 'firefox'", + "100:class_g = 'Thunderbird'" +]; + + +################################# +# Background-Blurring # +################################# + + +# Parameters for background blurring, see the *BLUR* section for more information. +# blur-method = +# blur-size = 12 +# +# blur-deviation = false + +# Blur background of semi-transparent / ARGB windows. +# Bad in performance, with driver-dependent behavior. +# The name of the switch may change without prior notifications. +# +# blur-background = true; + +# Blur background of windows when the window frame is not opaque. +# Implies: +# blur-background +# Bad in performance, with driver-dependent behavior. The name may change. +# +# blur-background-frame = false; + + +# Use fixed blur strength rather than adjusting according to window opacity. +# blur-background-fixed = false; + + +# Specify the blur convolution kernel, with the following format: +# example: +# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; +# +# blur-kern = '' +# blur-kern = "3x3box"; + +blur: { + # requires: https://github.com/ibhagwan/picom + method = "kawase"; + #method = "kernel"; + strength = 7; + # deviation = 1.0; + # kernel = "11x11gaussian"; + background = false; + background-frame = false; + background-fixed = false; + kern = "3x3box"; +} + +# Exclude conditions for background blur. +blur-background-exclude = [ + #"window_type = 'dock'", + #"window_type = 'desktop'", + #"class_g = 'URxvt'", + # + # prevents picom from blurring the background + # when taking selection screenshot with `main` + # https://github.com/naelstrof/maim/issues/130 + "class_g = 'slop'", + "_GTK_FRAME_EXTENTS@:c" +]; + + +################################# +# General Settings # +################################# + +# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers. +# daemon = false + +# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. +# `xrender` is the default one. +# +experimental-backends = true; +backend = "glx"; +#backend = "xrender"; + + +# Enable/disable VSync. +# vsync = false +vsync = true + +# Enable remote control via D-Bus. See the *D-BUS API* section below for more details. +# dbus = false + +# Try to detect WM windows (a non-override-redirect window with no +# child that has 'WM_STATE') and mark them as active. +# +# mark-wmwin-focused = false +mark-wmwin-focused = true; + +# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. +# mark-ovredir-focused = false +mark-ovredir-focused = true; + +# Try to detect windows with rounded corners and don't consider them +# shaped windows. The accuracy is not very high, unfortunately. +# +# detect-rounded-corners = false +detect-rounded-corners = true; + +# Detect '_NET_WM_OPACITY' on client windows, useful for window managers +# not passing '_NET_WM_OPACITY' of client windows to frame windows. +# +# detect-client-opacity = false +detect-client-opacity = true; + +# Specify refresh rate of the screen. If not specified or 0, picom will +# try detecting this with X RandR extension. +# +# refresh-rate = 60 +refresh-rate = 0 + +# Limit picom to repaint at most once every 1 / 'refresh_rate' second to +# boost performance. This should not be used with +# vsync drm/opengl/opengl-oml +# as they essentially does sw-opti's job already, +# unless you wish to specify a lower refresh rate than the actual value. +# +# sw-opti = + +# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, +# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, +# provided that the WM supports it. +# +# use-ewmh-active-win = false + +# Unredirect all windows if a full-screen opaque window is detected, +# to maximize performance for full-screen windows. Known to cause flickering +# when redirecting/unredirecting windows. paint-on-overlay may make the flickering less obvious. +# +# unredir-if-possible = false + +# Delay before unredirecting the window, in milliseconds. Defaults to 0. +# unredir-if-possible-delay = 0 + +# Conditions of windows that shouldn't be considered full-screen for unredirecting screen. +# unredir-if-possible-exclude = [] + +# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows +# in the same group focused at the same time. +# +# detect-transient = false +detect-transient = true + +# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same +# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if +# detect-transient is enabled, too. +# +# detect-client-leader = false +detect-client-leader = true + +# Resize damaged region by a specific number of pixels. +# A positive value enlarges it while a negative one shrinks it. +# If the value is positive, those additional pixels will not be actually painted +# to screen, only used in blur calculation, and such. (Due to technical limitations, +# with use-damage, those pixels will still be incorrectly painted to screen.) +# Primarily used to fix the line corruption issues of blur, +# in which case you should use the blur radius value here +# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`, +# with a 5x5 one you use `--resize-damage 2`, and so on). +# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly. +# +# resize-damage = 1 + +# Specify a list of conditions of windows that should be painted with inverted color. +# Resource-hogging, and is not well tested. +# +# invert-color-include = [] + +# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer. +# Might cause incorrect opacity when rendering transparent content (but never +# practically happened) and may not work with blur-background. +# My tests show a 15% performance boost. Recommended. +# +# glx-no-stencil = false + +# GLX backend: Avoid rebinding pixmap on window damage. +# Probably could improve performance on rapid window content changes, +# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.). +# Recommended if it works. +# +# glx-no-rebind-pixmap = false + +# Disable the use of damage information. +# This cause the whole screen to be redrawn everytime, instead of the part of the screen +# has actually changed. Potentially degrades the performance, but might fix some artifacts. +# The opposing option is use-damage +# +# no-use-damage = false +#use-damage = true (Causing Weird Black semi opaque rectangles when terminal is opened) +#Changing use-damage to false fixes the problem +use-damage = false + +# Use X Sync fence to sync clients' draw calls, to make sure all draw +# calls are finished before picom starts drawing. Needed on nvidia-drivers +# with GLX backend for some users. +# +# xrender-sync-fence = false + +# GLX backend: Use specified GLSL fragment shader for rendering window contents. +# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` +# in the source tree for examples. +# +# glx-fshader-win = '' + +# Force all windows to be painted with blending. Useful if you +# have a glx-fshader-win that could turn opaque pixels transparent. +# +# force-win-blend = false + +# Do not use EWMH to detect fullscreen windows. +# Reverts to checking if a window is fullscreen based only on its size and coordinates. +# +# no-ewmh-fullscreen = false + +# Dimming bright windows so their brightness doesn't exceed this set value. +# Brightness of a window is estimated by averaging all pixels in the window, +# so this could comes with a performance hit. +# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0) +# +# max-brightness = 1.0 + +# Make transparent windows clip other windows like non-transparent windows do, +# instead of blending on top of them. +# +# transparent-clipping = false + +# Set the log level. Possible values are: +# "trace", "debug", "info", "warn", "error" +# in increasing level of importance. Case doesn't matter. +# If using the "TRACE" log level, it's better to log into a file +# using *--log-file*, since it can generate a huge stream of logs. +# +# log-level = "debug" +log-level = "info"; + +# Set the log file. +# If *--log-file* is never specified, logs will be written to stderr. +# Otherwise, logs will to written to the given file, though some of the early +# logs might still be written to the stderr. +# When setting this option from the config file, it is recommended to use an absolute path. +# +# log-file = '/path/to/your/log/file' + +# Show all X errors (for debugging) +# show-all-xerrors = false + +# Write process ID to a file. +# write-pid-path = '/path/to/your/log/file' + +# Window type settings +# +# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard: +# "unknown", "desktop", "dock", "toolbar", "menu", "utility", +# "splash", "dialog", "normal", "dropdown_menu", "popup_menu", +# "tooltip", "notification", "combo", and "dnd". +# +# Following per window-type options are available: :: +# +# fade, shadow::: +# Controls window-type-specific shadow and fade settings. +# +# opacity::: +# Controls default opacity of the window type. +# +# focus::: +# Controls whether the window of this type is to be always considered focused. +# (By default, all window types except "normal" and "dialog" has this on.) +# +# full-shadow::: +# Controls whether shadow is drawn under the parts of the window that you +# normally won't be able to see. Useful when the window has parts of it +# transparent, and you want shadows in those areas. +# +# redir-ignore::: +# Controls whether this type of windows should cause screen to become +# redirected again after been unredirected. If you have unredir-if-possible +# set, and doesn't want certain window to cause unnecessary screen redirection, +# you can set this to `true`. +# +wintypes: +{ + normal = { fade = false; shadow = false; } + tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; + dock = { shadow = false; } + dnd = { shadow = false; } + popup_menu = { opacity = 0.8; } + dropdown_menu = { opacity = 0.8; } +}; diff --git a/qtile/.config/qtile/Keys.py b/qtile/.config/qtile/Keys.py index 9ce6736..ecae327 100644 --- a/qtile/.config/qtile/Keys.py +++ b/qtile/.config/qtile/Keys.py @@ -23,6 +23,8 @@ keys = [ Key([mod, "shift"], "l", lazy.layout.swap_right(),desc="move focused window right"), Key([mod, "shift"], "j", lazy.layout.shuffle_down(),desc="move focused window down"), Key([mod, "shift"], "k", lazy.layout.shuffle_up(),desc="move focused window up"), + Key([mod, "shift", "control"], "h", lazy.layout.swap_column_left(),desc="move focused window one column to the left"), + Key([mod, "shift", "control"], "l", lazy.layout.swap_column_right(),desc="move focused window one column to the right"), # resize windows Key([mod], "plus", lazy.layout.grow(),desc="increase window size"), diff --git a/qtile/.config/qtile/Layouts.py b/qtile/.config/qtile/Layouts.py index bf26fa0..37587ac 100644 --- a/qtile/.config/qtile/Layouts.py +++ b/qtile/.config/qtile/Layouts.py @@ -1,24 +1,33 @@ from libqtile import layout -from defines import focus_color, border_width +from defines import focus_color, border_width, window_margin layouts = [ layout.MonadTall( align=1, border_focus = focus_color, border_width = border_width, + margin=window_margin, new_at_current = True, ), layout.Floating( border_focus = focus_color, border_width = border_width, + margin=window_margin, ), layout.Max(), layout.MonadWide( border_focus = focus_color, border_width = border_width, new_at_current = True, + margin=window_margin, ), + layout.Columns( + border_focus = focus_color, + border_width = border_width, + num_columns = 3, + margin = window_margin, + ) ] floating_layout = layout.Floating( @@ -42,4 +51,4 @@ floating_layout = layout.Floating( {'wmclass': 'ssh-askpass'}, # ssh-askpass {'wmclass': 'sun-awt-X11-XWindowPeer'}, #matlab {'wmclass': 'sun-awt-X11-XDialogPeer'}, #matlab -]) \ No newline at end of file +]) diff --git a/qtile/.config/qtile/Widgets.py b/qtile/.config/qtile/Widgets.py index d4b05cd..b78d6d7 100644 --- a/qtile/.config/qtile/Widgets.py +++ b/qtile/.config/qtile/Widgets.py @@ -34,7 +34,9 @@ def powerline_arrow(direction, color1, color2,size): #region Left_widgets def Left_widgets(size,fontsize,prompt=False): return [ - widget.CurrentLayoutIcon(), + widget.CurrentLayoutIcon( + scale = 0.9, + ), *powerline_arrow('r',base_color,blue_color,size), widget.TextBox( text='', @@ -58,7 +60,9 @@ def Left_widgets(size,fontsize,prompt=False): urgent_alert_method='block', urgent_border = red_color, ), + widget.Spacer(), widget.WindowName(fontsize=fontsize-2), + widget.Spacer(), ] #endregion diff --git a/qtile/.config/qtile/autostart.sh b/qtile/.config/qtile/autostart.sh index 937ce08..31f7e91 100755 --- a/qtile/.config/qtile/autostart.sh +++ b/qtile/.config/qtile/autostart.sh @@ -10,4 +10,4 @@ timeshift & numlockx & redshift-gtk -t 6500:3600 & udiskie -t & -picom -b & \ No newline at end of file +picom -b --experimental-backend & diff --git a/qtile/.config/qtile/defines.py b/qtile/.config/qtile/defines.py index e2849ef..966b534 100644 --- a/qtile/.config/qtile/defines.py +++ b/qtile/.config/qtile/defines.py @@ -1,6 +1,7 @@ term = 'alacritty' focus_color = '#076678' border_width = 2 +window_margin = 5 mod = 'mod4' hotkey_file='/home/paul/Hotkeys' main_screen_res = [3440,1440] From 6c783c2f46efe7da3976e2966c7db7a81cd22779 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sat, 17 Jul 2021 14:41:27 +0200 Subject: [PATCH 56/66] updated installed packages --- pip-modules.txt | 109 ++++++++++++++++++++++++------------------------ pkglist.txt | 6 ++- 2 files changed, 60 insertions(+), 55 deletions(-) diff --git a/pip-modules.txt b/pip-modules.txt index 394a5ed..fb6c9a1 100644 --- a/pip-modules.txt +++ b/pip-modules.txt @@ -2,139 +2,140 @@ alabaster==0.7.12 apipkg==1.5 appdirs==1.4.4 arandr==0.1.10 -asn1crypto==1.4.0 -astroid==2.4.2 +astroid==2.5.6 attrs==21.2.0 -Babel==2.9.0 +Babel==2.9.1 backcall==0.2.0 btrfsutil==5.12.1 CacheControl==0.12.6 cairocffi==1.2.0 -certifi==2020.12.5 -cffi==1.14.5 +certifi==2021.5.30 +cffi==1.14.6 chardet==4.0.0 colorama==0.4.4 contextlib2==0.6.0.post1 cryptography==3.4.7 cupshelpers==1.0 cycler==0.10.0 -decorator==4.4.2 +decorator==5.0.9 distlib==0.3.2 distro==1.5.0 -dnspython==1.16.0 +dnspython==2.1.0 docopt==0.6.2 -docutils==0.16 +docutils==0.17.1 entrypoints==0.3 evdev==1.4.0 -GDAL==3.2.3 +GDAL==3.3.0 greenlet==1.1.0 -gscreenshot==2.15.0 +gscreenshot==2.16.1 html5lib==1.1 -idna==3.1 +idna==3.2 imagesize==1.2.0 -importlib-metadata==4.0.1 +importlib-metadata==4.5.0 iniconfig==1.1.1 -ipykernel==5.3.4 -ipython==7.19.0 +ipykernel==5.5.5 +ipython==7.24.1 ipython-genutils==0.2.0 -isort==5.6.4 -jedi==0.17.2 -jeepney==0.6.0 -Jinja2==2.11.2 -jupyter-client==6.1.7 -jupyter-core==4.7.0 +isort==5.8.0 +jedi==0.18.0 +jeepney==0.7.0 +Jinja2==3.0.1 +jupyter-client==6.2.0 +jupyter-core==4.7.1 keyring==23.0.1 keyutils==0.6 kiwisolver==1.3.1 -lazy-object-proxy==1.4.3 +lazy-object-proxy==1.6.0 lensfun==0.3.95 lightdm-gtk-greeter-settings==1.2.2 -louis==3.17.0 -lutris==0.5.8.3 -lxml==4.6.2 +louis==3.18.0 +lutris==0.5.8.4 +lxml==4.6.3 Markdown==3.3.4 -MarkupSafe==1.1.1 -matplotlib==3.4.1 +MarkupSafe==2.0.1 +matplotlib==3.4.2 +matplotlib-inline==0.1.2 mccabe==0.6.1 meld==3.20.3 -more-itertools==8.7.0 +more-itertools==8.8.0 msgpack==1.0.2 neovim-remote==2.4.0 -numpy==1.19.4 +nest-asyncio==1.5.1 +numpy==1.20.3 ordered-set==4.0.2 OWSLib==0.24.1 packaging==20.9 -parso==0.7.1 +parso==0.8.2 pep517==0.10.0 pexpect==4.8.0 pickleshare==0.7.5 -pikaur==1.6.17 -Pillow==8.0.1 +pikaur==1.7 +Pillow==8.2.0 Pivy==0.6.5 pluggy==0.13.1 ply==3.11 pockets==0.9.1 powerline-shell==0.7.0 progress==1.5 -prompt-toolkit==3.0.8 +prompt-toolkit==3.0.18 psutil==5.8.0 -psycopg2==2.8.6 -ptyprocess==0.6.0 +psycopg2==2.9.1 +ptyprocess==0.7.0 pwquality==1.4.4 py==1.10.0 -pyalpm==0.10.3 -pycairo==1.20.0 +pyalpm==0.10.6 +pycairo==1.20.1 pycparser==2.20 pycups==2.0.1 pycurl==7.43.0.6 -Pygments==2.7.3 +Pygments==2.9.0 PyGObject==3.40.1 -pylint==2.6.0 +pylint==2.8.3 pynvim==0.4.3 pyOpenSSL==20.0.1 pyparsing==2.4.7 -pyproj==3.0.1 +pyproj==3.1.0 PyQt5==5.15.4 PyQt5-sip==12.9.0 pyserial==3.5 PySide2==5.15.2 pytest==6.2.4 python-dateutil==2.8.1 -python-magic==0.4.18 -pytz==2020.5 +python-magic==0.4.24 +pytz==2021.1 PyYAML==5.4.1 -pyzmq==20.0.0 -QScintilla==2.12.1 +pyzmq==22.1.0 +QScintilla==2.13.0 qtile==0.17.0 requests==2.25.1 -resolvelib==0.5.4 +resolvelib==0.7.0 retrying==1.3.3 -scipy==1.6.3 +scipy==1.7.0 SecretStorage==3.3.1 Shapely==1.7.1 shiboken2==5.15.2 -sip==4.19.25 +sip==6.1.0 six==1.16.0 -snowballstemmer==2.0.0 -Sphinx==3.4.2 +snowballstemmer==2.1.0 +Sphinx==4.0.2 sphinxcontrib-applehelp==1.0.2 sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-htmlhelp==1.0.3 +sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-napoleon==0.7 sphinxcontrib-qthelp==1.0.3 -sphinxcontrib-serializinghtml==1.1.4 +sphinxcontrib-serializinghtml==1.1.5 team==1.0 toml==0.10.2 tornado==6.1 traitlets==5.0.5 -trimesh==3.9.14 +trimesh==3.9.20 udiskie==2.3.3 -urllib3==1.26.5 +urllib3==1.26.6 wcwidth==0.2.5 webencodings==0.5.1 wrapt==1.12.1 -wxPython==4.1.1 +wxPython==4.0.7.post2 xcffib==0.11.1 youtube-dl==2021.6.6 -zipp==3.4.1 +zipp==3.5.0 diff --git a/pkglist.txt b/pkglist.txt index eb97c3c..f8bf18b 100644 --- a/pkglist.txt +++ b/pkglist.txt @@ -64,6 +64,8 @@ htop inkscape jre-openjdk jre8-openjdk +kdeconnect +kdenlive kicad kicad-library kicad-library-3d @@ -101,6 +103,7 @@ npm ntfs-3g numlockx nvidia +obs-studio openmotif openocd openvpn @@ -114,7 +117,7 @@ patch pavucontrol pcmanfm-gtk3 pdftk -picom +picom-jonaburg-git pikaur pkgconf playerctl @@ -248,4 +251,5 @@ youtube-dl zathura zathura-pdf-poppler zip +zsh zvbi From b81c802340c2692d1977b738aa68cffb9a077efa Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sat, 17 Jul 2021 15:02:00 +0200 Subject: [PATCH 57/66] added oh-my-zsh third-party plugins --- zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh | 2 ++ zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions | 1 + zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting | 1 + 3 files changed, 4 insertions(+) create mode 100644 zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh create mode 160000 zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions create mode 160000 zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting diff --git a/zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh b/zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh new file mode 100644 index 0000000..406f274 --- /dev/null +++ b/zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh @@ -0,0 +1,2 @@ +# Add your own custom plugins in the custom/plugins directory. Plugins placed +# here will override ones with the same name in the main plugins directory. diff --git a/zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions b/zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions new file mode 160000 index 0000000..a411ef3 --- /dev/null +++ b/zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions @@ -0,0 +1 @@ +Subproject commit a411ef3e0992d4839f0732ebeb9823024afaaaa8 diff --git a/zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting b/zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting new file mode 160000 index 0000000..dffe304 --- /dev/null +++ b/zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting @@ -0,0 +1 @@ +Subproject commit dffe304567c86f06bf1be0fce200077504e79783 From be572359a6e4ba89256c384679b688a544fcfc5f Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sat, 17 Jul 2021 15:09:18 +0200 Subject: [PATCH 58/66] removed oh-my-zsh third-party plugins to add them as submodules in the future --- zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh | 2 -- zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions | 1 - zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting | 1 - 3 files changed, 4 deletions(-) delete mode 100644 zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh delete mode 160000 zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions delete mode 160000 zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting diff --git a/zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh b/zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh deleted file mode 100644 index 406f274..0000000 --- a/zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh +++ /dev/null @@ -1,2 +0,0 @@ -# Add your own custom plugins in the custom/plugins directory. Plugins placed -# here will override ones with the same name in the main plugins directory. diff --git a/zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions b/zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions deleted file mode 160000 index a411ef3..0000000 --- a/zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a411ef3e0992d4839f0732ebeb9823024afaaaa8 diff --git a/zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting b/zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting deleted file mode 160000 index dffe304..0000000 --- a/zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting +++ /dev/null @@ -1 +0,0 @@ -Subproject commit dffe304567c86f06bf1be0fce200077504e79783 From 4018c863f0bfcbc44372de0f6a40f0cf25213d33 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Sat, 17 Jul 2021 15:12:53 +0200 Subject: [PATCH 59/66] added third-party oh-my-zsh plugins as submodules --- .gitmodules | 6 ++++++ zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions | 1 + zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting | 1 + 3 files changed, 8 insertions(+) create mode 100644 .gitmodules create mode 160000 zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions create mode 160000 zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..1dea2a6 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions"] + path = zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions + url = https://github.com/zsh-users/zsh-autosuggestions +[submodule "zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting"] + path = zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting + url = https://github.com/zsh-users/zsh-syntax-highlighting diff --git a/zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions b/zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions new file mode 160000 index 0000000..a411ef3 --- /dev/null +++ b/zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions @@ -0,0 +1 @@ +Subproject commit a411ef3e0992d4839f0732ebeb9823024afaaaa8 diff --git a/zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting b/zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting new file mode 160000 index 0000000..dffe304 --- /dev/null +++ b/zsh/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting @@ -0,0 +1 @@ +Subproject commit dffe304567c86f06bf1be0fce200077504e79783 From 33d82ad1de3c2f9ecd8b2a660fd1e7507ae432b8 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Wed, 21 Jul 2021 08:42:04 +0200 Subject: [PATCH 60/66] added .local/bin to PATH --- zsh/.zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index 4791567..a886e68 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -64,6 +64,9 @@ plugins=( source $ZSH/oh-my-zsh.sh +# additional path variables +export PATH=$PATH:~/.local/bin + ### ALIAS' ### #jokes alias dog='cat' From 7046c98d3b39032932516ebdb92bc947a548e28e Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Thu, 19 Aug 2021 16:58:55 +0200 Subject: [PATCH 61/66] added dropdown for qalculate! --- qtile/.config/qtile/Groups.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/qtile/.config/qtile/Groups.py b/qtile/.config/qtile/Groups.py index bcb1480..dfbc39e 100644 --- a/qtile/.config/qtile/Groups.py +++ b/qtile/.config/qtile/Groups.py @@ -61,6 +61,15 @@ groups.append( on_focus_lost_hide=False, opacity = 1 ), + DropDown( + 'Qalculate!', + 'qalculate-gtk', + height = 0.5, + width = 0.5, + x = .25, + on_focus_lost_hide=True, + opacity = 1 + ), ]) ) @@ -88,4 +97,6 @@ keys.extend([ desc="open the dropdown for WhatsApp"), Key(['mod1','control'],'i',lazy.group['scratchpad'].dropdown_toggle('Signal'), desc="open the dropdown for Signal"), + Key(['mod1','control'],'q',lazy.group['scratchpad'].dropdown_toggle('Qalculate!'), + desc="open the dropdown for Qalculate!"), ]) From 88aea4d218c3956680f090c27316305e39819c1e Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Wed, 27 Oct 2021 22:24:11 +0200 Subject: [PATCH 62/66] renewed backup --- code-extensions.txt | 2 + pip-modules.txt | 94 +++++++++++++++------------ pkglist.txt | 35 +++++++++- screen-layout/.screenlayout/layout.sh | 2 +- zsh/.zshrc | 12 ++-- 5 files changed, 97 insertions(+), 48 deletions(-) diff --git a/code-extensions.txt b/code-extensions.txt index 75fd392..068d395 100644 --- a/code-extensions.txt +++ b/code-extensions.txt @@ -15,6 +15,8 @@ ms-azuretools.vscode-docker ms-python.python ms-python.vscode-pylance ms-toolsai.jupyter +ms-toolsai.jupyter-keymap +ms-toolsai.jupyter-renderers ms-vscode-remote.remote-ssh ms-vscode-remote.remote-ssh-edit ms-vscode.cpptools diff --git a/pip-modules.txt b/pip-modules.txt index fb6c9a1..e53f75f 100644 --- a/pip-modules.txt +++ b/pip-modules.txt @@ -2,82 +2,90 @@ alabaster==0.7.12 apipkg==1.5 appdirs==1.4.4 arandr==0.1.10 -astroid==2.5.6 +argh==0.26.2 +astroid==2.6.2 attrs==21.2.0 Babel==2.9.1 backcall==0.2.0 -btrfsutil==5.12.1 +borgbackup==1.1.17 +bsddb3==6.2.9 +btrfsutil==5.14.2 CacheControl==0.12.6 cairocffi==1.2.0 certifi==2021.5.30 cffi==1.14.6 chardet==4.0.0 +charset-normalizer==2.0.3 colorama==0.4.4 -contextlib2==0.6.0.post1 -cryptography==3.4.7 +contextlib2==21.6.0 +cryptography==35.0.0 cupshelpers==1.0 cycler==0.10.0 +debugpy==1.3.0 decorator==5.0.9 -distlib==0.3.2 -distro==1.5.0 +distlib==0.3.3 +distro==1.6.0 dnspython==2.1.0 docopt==0.6.2 docutils==0.17.1 entrypoints==0.3 evdev==1.4.0 -GDAL==3.3.0 -greenlet==1.1.0 +GDAL==3.3.1 +gramps==5.1.4 +greenlet==1.1.2 gscreenshot==2.16.1 html5lib==1.1 idna==3.2 imagesize==1.2.0 -importlib-metadata==4.5.0 +importlib-metadata==4.6.1 iniconfig==1.1.1 -ipykernel==5.5.5 -ipython==7.24.1 +ipykernel==6.0.2 +ipython==7.25.0 ipython-genutils==0.2.0 -isort==5.8.0 +isort==5.9.2 jedi==0.18.0 -jeepney==0.7.0 +jeepney==0.7.1 Jinja2==3.0.1 jupyter-client==6.2.0 jupyter-core==4.7.1 keyring==23.0.1 keyutils==0.6 -kiwisolver==1.3.1 +kiwisolver==1.3.2 lazy-object-proxy==1.6.0 lensfun==0.3.95 lightdm-gtk-greeter-settings==1.2.2 -louis==3.18.0 -lutris==0.5.8.4 +louis==3.19.0 +lutris==0.5.9.1 lxml==4.6.3 Markdown==3.3.4 MarkupSafe==2.0.1 matplotlib==3.4.2 matplotlib-inline==0.1.2 mccabe==0.6.1 -meld==3.20.3 +meld==3.20.4 more-itertools==8.8.0 msgpack==1.0.2 neovim-remote==2.4.0 nest-asyncio==1.5.1 -numpy==1.20.3 +nordnm==0.8.1 +numpy==1.21.1 ordered-set==4.0.2 OWSLib==0.24.1 -packaging==20.9 +packaging==21.0 parso==0.8.2 -pep517==0.10.0 +pathtools==0.1.2 +pep517==0.11.0 pexpect==4.8.0 pickleshare==0.7.5 -pikaur==1.7 -Pillow==8.2.0 -Pivy==0.6.5 +pikaur==1.8 +Pillow==8.3.1 +Pivy==0.6.6 pluggy==0.13.1 ply==3.11 pockets==0.9.1 powerline-shell==0.7.0 -progress==1.5 -prompt-toolkit==3.0.18 +progress==1.6 +prompt-toolkit==3.0.19 psutil==5.8.0 psycopg2==2.9.1 ptyprocess==0.7.0 @@ -87,37 +95,39 @@ pyalpm==0.10.6 pycairo==1.20.1 pycparser==2.20 pycups==2.0.1 -pycurl==7.43.0.6 +pycurl==7.44.1 Pygments==2.9.0 PyGObject==3.40.1 -pylint==2.8.3 +pylint==2.9.3 +pympress==1.6.1 pynvim==0.4.3 pyOpenSSL==20.0.1 pyparsing==2.4.7 pyproj==3.1.0 -PyQt5==5.15.4 +PyQt5==5.15.5 PyQt5-sip==12.9.0 pyserial==3.5 PySide2==5.15.2 -pytest==6.2.4 -python-dateutil==2.8.1 +pytest==6.2.5 +python-dateutil==2.8.2 python-magic==0.4.24 +python-vlc==3.0.12118 pytz==2021.1 PyYAML==5.4.1 pyzmq==22.1.0 -QScintilla==2.13.0 -qtile==0.17.0 -requests==2.25.1 -resolvelib==0.7.0 +QScintilla==2.13.1 +qtile==0.18.0 +requests==2.26.0 +resolvelib==0.7.1 retrying==1.3.3 -scipy==1.7.0 +scipy==1.7.1 SecretStorage==3.3.1 Shapely==1.7.1 shiboken2==5.15.2 -sip==6.1.0 +sip==6.1.1 six==1.16.0 snowballstemmer==2.1.0 -Sphinx==4.0.2 +Sphinx==4.1.1 sphinxcontrib-applehelp==1.0.2 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.0 @@ -127,15 +137,17 @@ sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 team==1.0 toml==0.10.2 +tomli==1.0.4 tornado==6.1 traitlets==5.0.5 -trimesh==3.9.20 +trimesh==3.9.23 udiskie==2.3.3 -urllib3==1.26.6 +urllib3==1.26.7 +watchdog==0.10.7 wcwidth==0.2.5 webencodings==0.5.1 wrapt==1.12.1 -wxPython==4.0.7.post2 +wxPython==4.1.1 xcffib==0.11.1 youtube-dl==2021.6.6 -zipp==3.5.0 +zipp==3.6.0 diff --git a/pkglist.txt b/pkglist.txt index f8bf18b..97435e3 100644 --- a/pkglist.txt +++ b/pkglist.txt @@ -20,16 +20,19 @@ automake barrier base bdf-unifont +biber binutils bison bitwarden-bin bitwarden-rofi +borg capitaine-cursors cdrtools cmatrix cronie cups cura +davfs2 discord dnsmasq dosfstools @@ -53,6 +56,8 @@ git gitg gnome-disk-utility gnome-keyring +goocanvas +gramps grub gruvbox-dark-icons-gtk gscreenshot @@ -62,6 +67,7 @@ gvfs gvfs-smb htop inkscape +jack2 jre-openjdk jre8-openjdk kdeconnect @@ -69,7 +75,20 @@ kdenlive kicad kicad-library kicad-library-3d +lib32-giflib +lib32-gnutls +lib32-gst-plugins-base-libs +lib32-gtk3 +lib32-libpulse +lib32-libva +lib32-libxcomposite +lib32-libxinerama +lib32-libxslt +lib32-mpg123 lib32-nvidia-utils +lib32-ocl-icd +lib32-openal +lib32-v4l-utils libgnome-keyring libnotify libreoffice-still @@ -80,6 +99,7 @@ lightdm-gtk-greeter-settings linux linux-firmware linux-lts +linux-zen lshw lutris lxappearance @@ -95,10 +115,12 @@ ncdu neofetch neovim nerd-fonts-complete +network-manager-applet networkmanager nextcloud-client nitrogen nmap +nordnm npm ntfs-3g numlockx @@ -108,6 +130,7 @@ openmotif openocd openvpn os-prober +osm-gps-map p3x-onenote p7zip pamixer @@ -121,11 +144,13 @@ picom-jonaburg-git pikaur pkgconf playerctl +playonlinux pulseaudio pulseaudio-alsa pulseaudio-ctl python-pip python-psutil +python-pympress python-pynvim python-pytest python-subprocess2 @@ -142,9 +167,11 @@ rpi-imager shotwell signal-desktop skypeforlinux-stable-bin +slack-desktop smbclient spacenavd spotify +sshpass steam stlink stow @@ -152,7 +179,9 @@ subversion sudo surf system-config-printer +teams-for-linux teamviewer +telegram-desktop texinfo texlive-bibtexextra texlive-core @@ -189,7 +218,11 @@ wd719x-firmware wget whatsapp-for-linux which -wine +wine-gecko +wine-mono +wine-staging +winetricks +wireguard-tools woeusb-gui xarchiver xcb-util-cursor diff --git a/screen-layout/.screenlayout/layout.sh b/screen-layout/.screenlayout/layout.sh index 11bdd77..79a2eab 100755 --- a/screen-layout/.screenlayout/layout.sh +++ b/screen-layout/.screenlayout/layout.sh @@ -1,2 +1,2 @@ #!/bin/sh -xrandr --output DVI-I-0 --primary --mode 1440x900 --pos 2012x0 --rotate normal --output DVI-I-1 --off --output HDMI-0 --mode 1920x1080 --pos 0x660 --rotate left --output DP-0 --mode 3440x1440 --pos 1080x900 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --off --output DP-4 --off --output DP-5 --off +xrandr --output DVI-I-0 --primary --mode 1440x900 --pos 2080x0 --rotate normal --output DVI-I-1 --off --output HDMI-0 --mode 1920x1080 --pos 0x660 --rotate left --output DP-0 --mode 3440x1440 --pos 1080x900 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --off --output DP-4 --off --output DP-5 --off diff --git a/zsh/.zshrc b/zsh/.zshrc index a886e68..0e5633b 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -98,11 +98,13 @@ alias update-all="pikaur -Syu" # update standard pkgs and AUR pkg alias cleanup='sudo pacman -Rns $(pacman -Qtdq)' # remove orphaned packages # Changing "ls" to "exa" -alias ls='exa -l --color=always --group-directories-first --git' # my preferred listing -alias la='exa -a --color=always --group-directories-firs --git' # all files and dirs -alias ll='exa -al --color=always --group-directories-first --git' # long format -alias lt='exa -aT --color=always --group-directories-first --git' # tree listing -alias l.='exa -a | egrep "^\."' +alias ls='exa --icons -lF --color=always --group-directories-first --git' # my preferred listing +alias la='exa --icons -aF --color=always --group-directories-first --git' # all files and dirs +alias ll='exa --icons -alF --color=always --group-directories-first --git' # long format +alias lt='exa --icons -aTF --color=always --group-directories-first --git' # tree listing +alias lx='exa --icons -lF --color=always --group-directories-first --git --extended' # extended info +alias l.='exa -a | egrep "^\."' # list dotfiles + # Colorize grep output (good for log files) alias grep='grep --color=auto' From b516873fc9d11a1576669c4a6e7f05d2579e69d3 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Thu, 28 Oct 2021 17:18:04 +0200 Subject: [PATCH 63/66] added backlight keys --- qtile/.config/qtile/Keys.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qtile/.config/qtile/Keys.py b/qtile/.config/qtile/Keys.py index ecae327..428261a 100644 --- a/qtile/.config/qtile/Keys.py +++ b/qtile/.config/qtile/Keys.py @@ -65,6 +65,10 @@ keys = [ Key([], 'XF86AudioNext', lazy.spawn('playerctl next')), Key([], 'XF86AudioPrev', lazy.spawn('playerctl previous')), Key([], 'XF86AudioPlay', lazy.spawn('playerctl play-pause')), + + # backlight keys + Key([], 'XF86MonBrightnessUp', lazy.spawn('xbacklight -inc 5')), + Key([], 'XF86MonBrightnessDown', lazy.spawn('xbacklight -dec 5')), ] From 66949c67615c028cc03d6196c80fbeb45ce4d0d5 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Thu, 28 Oct 2021 17:18:21 +0200 Subject: [PATCH 64/66] fixed bitwarden --- qtile/.config/qtile/Groups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qtile/.config/qtile/Groups.py b/qtile/.config/qtile/Groups.py index dfbc39e..98a0026 100644 --- a/qtile/.config/qtile/Groups.py +++ b/qtile/.config/qtile/Groups.py @@ -40,7 +40,7 @@ groups.append( ), DropDown( 'bitwarden', - 'bitwarden', + 'bitwarden-desktop', on_focus_lost_hide=False, ), DropDown( From 3225a2b8d3c1798ee4940e63ae79495871ea38ef Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 1 Nov 2021 20:14:15 +0100 Subject: [PATCH 65/66] fixed depreceated qtile commands --- qtile/.config/qtile/Layouts.py | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/qtile/.config/qtile/Layouts.py b/qtile/.config/qtile/Layouts.py index 37587ac..69f1a50 100644 --- a/qtile/.config/qtile/Layouts.py +++ b/qtile/.config/qtile/Layouts.py @@ -1,4 +1,5 @@ from libqtile import layout +from libqtile.config import Match from defines import focus_color, border_width, window_margin @@ -8,7 +9,7 @@ layouts = [ border_focus = focus_color, border_width = border_width, margin=window_margin, - new_at_current = True, + new_client_position = 'after_current', ), layout.Floating( border_focus = focus_color, @@ -19,7 +20,7 @@ layouts = [ layout.MonadWide( border_focus = focus_color, border_width = border_width, - new_at_current = True, + new_client_position = 'after_current', margin=window_margin, ), layout.Columns( @@ -35,20 +36,13 @@ floating_layout = layout.Floating( border_width = border_width, float_rules=[ # Run the utility of `xprop` to see the wm class and name of an X client. - {'wmclass': 'confirm'}, - {'wmclass': 'dialog'}, - {'wmclass': 'download'}, - {'wmclass': 'error'}, - {'wmclass': 'file_progress'}, - {'wmclass': 'notification'}, - {'wmclass': 'splash'}, - {'wmclass': 'toolbar'}, - {'wmclass': 'confirmreset'}, # gitk - {'wmclass': 'makebranch'}, # gitk - {'wmclass': 'maketag'}, # gitk - {'wname': 'branchdialog'}, # gitk - {'wname': 'pinentry'}, # GPG key password entry - {'wmclass': 'ssh-askpass'}, # ssh-askpass - {'wmclass': 'sun-awt-X11-XWindowPeer'}, #matlab - {'wmclass': 'sun-awt-X11-XDialogPeer'}, #matlab + *layout.Floating.default_float_rules, + Match(wm_class='confirmreset'), # gitk + Match(wm_class='makebranch'), # gitk + Match(wm_class='maketag'), # gitk + Match(title='branchdialog'), # gitk + Match(title='pinentry'), # GPG key password entry + Match(wm_class='ssh-askpass'), # ssh-askpass + Match(wm_class='sun-awt-X11-XWindowPeer'), #matlab + Match(wm_class='sun-awt-X11-XDialogPeer'), #matlab ]) From 2d651eec4feadda9536c43ce803ee8ad91806fb7 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Mon, 1 Nov 2021 20:14:33 +0100 Subject: [PATCH 66/66] added pip to install shell script --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index d178c3f..4438125 100644 --- a/install.sh +++ b/install.sh @@ -20,4 +20,8 @@ do code --install-extension $extension --force done +#pip install +cd /home/$USER/.dotfiles +pip install -r ./pip-modules.txt + echo "Manually STOW the configs!"