From 574cc7802af67867c6a87fb54d031c3af5e37824 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Mon, 20 Dec 2021 16:49:21 -0500 Subject: [PATCH] Merge kubuntu and ubuntu-i3 configs --- .Xresources | 48 + .bash_aliases | 9 +- .config/autostart-scripts/mountdrive.sh | 2 + .config/autostart/jetbrains-toolbox.desktop | 15 + .config/compton.conf | 109 + .config/conky/shortcuts_green | 76 + .config/conky/sysinfo_green | 108 + .config/i3/config | 454 ++++ .config/i3blocks/config | 182 ++ .config/i3blocks/volume | 175 ++ .config/i3status/config | 74 + .config/konsolerc | 16 + .config/pavucontrol.ini | 7 + .config/polybar/.env/break-timer | 106 + .config/polybar/config | 693 ++++++ .config/polybar/start-polybar.sh | 21 + .config/powerline-shell/powerline-shell | 1 + .config/ranger/commands_full.py | 255 +- .config/ranger/plugins/__init__.py | 0 .config/ranger/plugins/ranger_devicons | 1 + .config/ranger/rc.conf | 24 +- .config/ranger/rifle.conf | 44 +- .config/ranger/scope.sh | 250 +- .config/rofi/bin/apps | 1 + .config/rofi/bin/appsmenu | 1 + .config/rofi/bin/backlight | 1 + .config/rofi/bin/backlightmenu | 1 + .config/rofi/bin/battery | 1 + .config/rofi/bin/batterymenu | 1 + .config/rofi/bin/mpd | 1 + .config/rofi/bin/mpdmenu | 1 + .config/rofi/bin/network | 1 + .config/rofi/bin/networkmenu | 1 + .config/rofi/bin/power | 1 + .config/rofi/bin/powermenu | 1 + .config/rofi/bin/quicklinks | 1 + .config/rofi/bin/quicklinksmenu | 1 + .config/rofi/bin/screenshot | 1 + .config/rofi/bin/screenshotmenu | 1 + .config/rofi/bin/time | 1 + .config/rofi/bin/timemenu | 1 + .config/rofi/bin/usedcpu | 53 + .config/rofi/bin/usedram | 34 + .config/rofi/bin/volume | 1 + .config/rofi/bin/volumemenu | 1 + .config/rofi/config | 150 ++ .config/rofi/scripts/apps.sh | 42 + .config/rofi/scripts/backlight.sh | 44 + .config/rofi/scripts/battery.sh | 59 + .config/rofi/scripts/menu_apps.sh | 42 + .config/rofi/scripts/menu_backlight.sh | 44 + .config/rofi/scripts/menu_battery.sh | 58 + .config/rofi/scripts/menu_mpd.sh | 70 + .config/rofi/scripts/menu_network.sh | 65 + .config/rofi/scripts/menu_powermenu.sh | 44 + .config/rofi/scripts/menu_quicklinks.sh | 42 + .config/rofi/scripts/menu_screenshot.sh | 30 + .config/rofi/scripts/menu_time.sh | 21 + .config/rofi/scripts/menu_volume.sh | 49 + .config/rofi/scripts/mpd.sh | 70 + .config/rofi/scripts/network.sh | 65 + .config/rofi/scripts/powermenu.sh | 41 + .config/rofi/scripts/quicklinks.sh | 42 + .config/rofi/scripts/screenshot.sh | 30 + .config/rofi/scripts/time.sh | 19 + .config/rofi/scripts/volume.sh | 55 + .config/rofi/themes/README.md | 35 + .config/rofi/themes/apps.rasi | 124 + .config/rofi/themes/arc-red-dark.rasi | 137 ++ .config/rofi/themes/backlight.rasi | 124 + .config/rofi/themes/battery.rasi | 127 + .config/rofi/themes/colors.rasi | 22 + .../themes/colorschemes/adapta-nokto.rasi | 8 + .config/rofi/themes/colorschemes/adapta.rasi | 8 + .config/rofi/themes/colorschemes/adwaita.rasi | 8 + .../rofi/themes/colorschemes/arc-dark.rasi | 8 + .config/rofi/themes/colorschemes/arc.rasi | 8 + .../rofi/themes/colorschemes/armchair.rasi | 8 + .config/rofi/themes/colorschemes/dark.rasi | 8 + .../rofi/themes/colorschemes/darkpink.rasi | 8 + .config/rofi/themes/colorschemes/fresh.rasi | 8 + .config/rofi/themes/colorschemes/gruvbox.rasi | 8 + .config/rofi/themes/colorschemes/inside.rasi | 8 + .../colorschemes/material-dark/amber.rasi | 8 + .../colorschemes/material-dark/blue.rasi | 8 + .../colorschemes/material-dark/blue_grey.rasi | 8 + .../colorschemes/material-dark/brown.rasi | 8 + .../colorschemes/material-dark/cyan.rasi | 8 + .../material-dark/deep_orange.rasi | 8 + .../material-dark/deep_purple.rasi | 8 + .../colorschemes/material-dark/green.rasi | 8 + .../colorschemes/material-dark/grey.rasi | 8 + .../colorschemes/material-dark/indigo.rasi | 8 + .../material-dark/light_blue.rasi | 8 + .../material-dark/light_green.rasi | 8 + .../colorschemes/material-dark/lime.rasi | 8 + .../colorschemes/material-dark/orange.rasi | 8 + .../colorschemes/material-dark/pink.rasi | 8 + .../colorschemes/material-dark/purple.rasi | 8 + .../colorschemes/material-dark/red.rasi | 8 + .../colorschemes/material-dark/teal.rasi | 8 + .../colorschemes/material-dark/yellow.rasi | 8 + .../colorschemes/material-light/amber.rasi | 8 + .../colorschemes/material-light/blue.rasi | 8 + .../material-light/blue_grey.rasi | 8 + .../colorschemes/material-light/brown.rasi | 8 + .../colorschemes/material-light/cyan.rasi | 8 + .../material-light/deep_orange.rasi | 8 + .../material-light/deep_purple.rasi | 8 + .../colorschemes/material-light/green.rasi | 8 + .../colorschemes/material-light/grey.rasi | 8 + .../colorschemes/material-light/indigo.rasi | 8 + .../material-light/light_blue.rasi | 8 + .../material-light/light_green.rasi | 8 + .../colorschemes/material-light/lime.rasi | 8 + .../colorschemes/material-light/orange.rasi | 8 + .../colorschemes/material-light/pink.rasi | 8 + .../colorschemes/material-light/purple.rasi | 8 + .../colorschemes/material-light/red.rasi | 8 + .../colorschemes/material-light/teal.rasi | 8 + .../colorschemes/material-light/yellow.rasi | 8 + .config/rofi/themes/colorschemes/minimo.rasi | 8 + .config/rofi/themes/colorschemes/party.rasi | 8 + .config/rofi/themes/colorschemes/sirin.rasi | 8 + .config/rofi/themes/fancy.rasi | 160 ++ .config/rofi/themes/flamingo.rasi | 144 ++ .config/rofi/themes/flat-orange.rasi | 147 ++ .config/rofi/themes/material.rasi | 131 + .config/rofi/themes/menu/apps.rasi | 128 + .config/rofi/themes/menu/backlight.rasi | 128 + .config/rofi/themes/menu/battery.rasi | 131 + .config/rofi/themes/menu/mpd.rasi | 128 + .config/rofi/themes/menu/network.rasi | 128 + .config/rofi/themes/menu/powermenu.rasi | 128 + .config/rofi/themes/menu/quicklinks.rasi | 128 + .config/rofi/themes/menu/screenshot.rasi | 128 + .config/rofi/themes/menu/time.rasi | 128 + .config/rofi/themes/menu/volume.rasi | 128 + .config/rofi/themes/mpd.rasi | 124 + .config/rofi/themes/network.rasi | 124 + .config/rofi/themes/onedark.rasi | 100 + .config/rofi/themes/oxide.rasi | 143 ++ .config/rofi/themes/powermenu.rasi | 124 + .config/rofi/themes/quicklinks.rasi | 124 + .config/rofi/themes/rezlooks.rasi | 222 ++ .config/rofi/themes/ribbon.rasi | 62 + .config/rofi/themes/screenshot.rasi | 124 + .config/rofi/themes/sidetab-adapta.rasi | 116 + .config/rofi/themes/sidetab.rasi | 131 + .config/rofi/themes/simonvic.rasi | 149 ++ .config/rofi/themes/slate.rasi | 43 + .config/rofi/themes/solarized-darker.rasi | 157 ++ .config/rofi/themes/time.rasi | 124 + .config/rofi/themes/volume.rasi | 124 + .config/yakuake.shortcuts | 54 + .config/yakuakerc | 46 + .dir_colors | 245 ++ .fehbg | 2 + .gitmodules | 10 +- .gitmux.conf | 22 + .local/bin/i3scripts/contrib/README.md | 18 + .local/bin/i3scripts/contrib/bandwidth | 35 + .local/bin/i3scripts/contrib/battery | 42 + .local/bin/i3scripts/contrib/bauerbill | 44 + .local/bin/i3scripts/contrib/brightness | 26 + .local/bin/i3scripts/contrib/cpu | 47 + .local/bin/i3scripts/contrib/date | 13 + .local/bin/i3scripts/contrib/disk | 68 + .local/bin/i3scripts/contrib/keyboard | 31 + .local/bin/i3scripts/contrib/memory | 46 + .local/bin/i3scripts/contrib/mpc | 38 + .local/bin/i3scripts/contrib/network | 36 + .local/bin/i3scripts/contrib/pacman | 34 + .local/bin/i3scripts/contrib/playerctl | 50 + .local/bin/i3scripts/contrib/sound | 71 + .local/bin/i3scripts/contrib/time | 13 + .local/bin/i3scripts/contrib/util.sh | 41 + .local/bin/i3scripts/contrib/weather | 49 + .local/bin/i3scripts/contrib/yaourt | 44 + .local/bin/i3scripts/cpusensor | 21 + .local/bin/i3scripts/i3empty.py | 86 + .local/bin/i3scripts/info-hackspeed | 62 + .local/bin/i3scripts/info-idle | 25 + .local/bin/i3scripts/popup-calendar | 41 + .local/bin/i3scripts/start-htop | 10 + .local/bin/i3scripts/start_konky | 6 + .local/bin/i3scripts/weather | 49 + .local/bin/i3scripts/weathermap | 99 + .local/bin/i3scripts/xoffee | 23 + .local/share/fonts/.uuid | 1 + .local/share/fonts/NerdFonts/.uuid | 1 + .local/share/fonts/NerdFonts/complete/.uuid | 1 + ... Font Complete Mono Windows Compatible.ttf | Bin 0 -> 920576 bytes ...consolata Bold Nerd Font Complete Mono.ttf | Bin 0 -> 920540 bytes ... Nerd Font Complete Windows Compatible.ttf | Bin 0 -> 958908 bytes .../Inconsolata Bold Nerd Font Complete.ttf | Bin 0 -> 958840 bytes ... Font Complete Mono Windows Compatible.otf | Bin 0 -> 3222756 bytes .../Inconsolata Nerd Font Complete Mono.otf | Bin 0 -> 3222768 bytes ... Nerd Font Complete Windows Compatible.otf | Bin 0 -> 2113456 bytes .../Inconsolata Nerd Font Complete.otf | Bin 0 -> 2113436 bytes ... Font Complete Mono Windows Compatible.ttf | Bin 0 -> 865672 bytes ...solata Regular Nerd Font Complete Mono.ttf | Bin 0 -> 865644 bytes ... Nerd Font Complete Windows Compatible.ttf | Bin 0 -> 890448 bytes ...Inconsolata Regular Nerd Font Complete.ttf | Bin 0 -> 890388 bytes .local/share/fonts/NerdFonts/font-info.md | 46 + .local/share/fonts/NerdFonts/readme.md | 2107 +++++++++++++++++ .local/share/konsole/Kapper.profile | 22 + .tmux.conf | 145 ++ .tmux/plugins/tpm | 1 + .vimrc | 60 +- .xbindkeysrc | 64 + README.md | 139 +- screens/dtop-code.png | Bin 0 -> 424492 bytes screens/use_your_illusion.png | Bin 0 -> 1833 bytes 214 files changed, 12317 insertions(+), 517 deletions(-) create mode 100644 .Xresources create mode 100755 .config/autostart-scripts/mountdrive.sh create mode 100755 .config/autostart/jetbrains-toolbox.desktop create mode 100644 .config/compton.conf create mode 100644 .config/conky/shortcuts_green create mode 100644 .config/conky/sysinfo_green create mode 100644 .config/i3/config create mode 100644 .config/i3blocks/config create mode 100755 .config/i3blocks/volume create mode 100644 .config/i3status/config create mode 100644 .config/konsolerc create mode 100644 .config/pavucontrol.ini create mode 100644 .config/polybar/.env/break-timer create mode 100644 .config/polybar/config create mode 100755 .config/polybar/start-polybar.sh create mode 160000 .config/powerline-shell/powerline-shell create mode 100644 .config/ranger/plugins/__init__.py create mode 160000 .config/ranger/plugins/ranger_devicons create mode 120000 .config/rofi/bin/apps create mode 120000 .config/rofi/bin/appsmenu create mode 120000 .config/rofi/bin/backlight create mode 120000 .config/rofi/bin/backlightmenu create mode 120000 .config/rofi/bin/battery create mode 120000 .config/rofi/bin/batterymenu create mode 120000 .config/rofi/bin/mpd create mode 120000 .config/rofi/bin/mpdmenu create mode 120000 .config/rofi/bin/network create mode 120000 .config/rofi/bin/networkmenu create mode 120000 .config/rofi/bin/power create mode 120000 .config/rofi/bin/powermenu create mode 120000 .config/rofi/bin/quicklinks create mode 120000 .config/rofi/bin/quicklinksmenu create mode 120000 .config/rofi/bin/screenshot create mode 120000 .config/rofi/bin/screenshotmenu create mode 120000 .config/rofi/bin/time create mode 120000 .config/rofi/bin/timemenu create mode 100755 .config/rofi/bin/usedcpu create mode 100755 .config/rofi/bin/usedram create mode 120000 .config/rofi/bin/volume create mode 120000 .config/rofi/bin/volumemenu create mode 100644 .config/rofi/config create mode 100755 .config/rofi/scripts/apps.sh create mode 100755 .config/rofi/scripts/backlight.sh create mode 100755 .config/rofi/scripts/battery.sh create mode 100755 .config/rofi/scripts/menu_apps.sh create mode 100755 .config/rofi/scripts/menu_backlight.sh create mode 100755 .config/rofi/scripts/menu_battery.sh create mode 100755 .config/rofi/scripts/menu_mpd.sh create mode 100755 .config/rofi/scripts/menu_network.sh create mode 100755 .config/rofi/scripts/menu_powermenu.sh create mode 100755 .config/rofi/scripts/menu_quicklinks.sh create mode 100755 .config/rofi/scripts/menu_screenshot.sh create mode 100755 .config/rofi/scripts/menu_time.sh create mode 100755 .config/rofi/scripts/menu_volume.sh create mode 100755 .config/rofi/scripts/mpd.sh create mode 100755 .config/rofi/scripts/network.sh create mode 100755 .config/rofi/scripts/powermenu.sh create mode 100755 .config/rofi/scripts/quicklinks.sh create mode 100755 .config/rofi/scripts/screenshot.sh create mode 100755 .config/rofi/scripts/time.sh create mode 100755 .config/rofi/scripts/volume.sh create mode 100644 .config/rofi/themes/README.md create mode 100644 .config/rofi/themes/apps.rasi create mode 100644 .config/rofi/themes/arc-red-dark.rasi create mode 100644 .config/rofi/themes/backlight.rasi create mode 100644 .config/rofi/themes/battery.rasi create mode 100644 .config/rofi/themes/colors.rasi create mode 100644 .config/rofi/themes/colorschemes/adapta-nokto.rasi create mode 100644 .config/rofi/themes/colorschemes/adapta.rasi create mode 100644 .config/rofi/themes/colorschemes/adwaita.rasi create mode 100644 .config/rofi/themes/colorschemes/arc-dark.rasi create mode 100644 .config/rofi/themes/colorschemes/arc.rasi create mode 100644 .config/rofi/themes/colorschemes/armchair.rasi create mode 100644 .config/rofi/themes/colorschemes/dark.rasi create mode 100644 .config/rofi/themes/colorschemes/darkpink.rasi create mode 100644 .config/rofi/themes/colorschemes/fresh.rasi create mode 100644 .config/rofi/themes/colorschemes/gruvbox.rasi create mode 100644 .config/rofi/themes/colorschemes/inside.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/amber.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/blue.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/blue_grey.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/brown.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/cyan.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/deep_orange.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/deep_purple.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/green.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/grey.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/indigo.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/light_blue.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/light_green.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/lime.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/orange.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/pink.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/purple.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/red.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/teal.rasi create mode 100644 .config/rofi/themes/colorschemes/material-dark/yellow.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/amber.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/blue.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/blue_grey.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/brown.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/cyan.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/deep_orange.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/deep_purple.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/green.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/grey.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/indigo.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/light_blue.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/light_green.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/lime.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/orange.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/pink.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/purple.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/red.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/teal.rasi create mode 100644 .config/rofi/themes/colorschemes/material-light/yellow.rasi create mode 100644 .config/rofi/themes/colorschemes/minimo.rasi create mode 100644 .config/rofi/themes/colorschemes/party.rasi create mode 100644 .config/rofi/themes/colorschemes/sirin.rasi create mode 100644 .config/rofi/themes/fancy.rasi create mode 100644 .config/rofi/themes/flamingo.rasi create mode 100644 .config/rofi/themes/flat-orange.rasi create mode 100644 .config/rofi/themes/material.rasi create mode 100644 .config/rofi/themes/menu/apps.rasi create mode 100644 .config/rofi/themes/menu/backlight.rasi create mode 100644 .config/rofi/themes/menu/battery.rasi create mode 100644 .config/rofi/themes/menu/mpd.rasi create mode 100644 .config/rofi/themes/menu/network.rasi create mode 100644 .config/rofi/themes/menu/powermenu.rasi create mode 100644 .config/rofi/themes/menu/quicklinks.rasi create mode 100644 .config/rofi/themes/menu/screenshot.rasi create mode 100644 .config/rofi/themes/menu/time.rasi create mode 100644 .config/rofi/themes/menu/volume.rasi create mode 100644 .config/rofi/themes/mpd.rasi create mode 100644 .config/rofi/themes/network.rasi create mode 100644 .config/rofi/themes/onedark.rasi create mode 100644 .config/rofi/themes/oxide.rasi create mode 100644 .config/rofi/themes/powermenu.rasi create mode 100644 .config/rofi/themes/quicklinks.rasi create mode 100644 .config/rofi/themes/rezlooks.rasi create mode 100644 .config/rofi/themes/ribbon.rasi create mode 100644 .config/rofi/themes/screenshot.rasi create mode 100644 .config/rofi/themes/sidetab-adapta.rasi create mode 100644 .config/rofi/themes/sidetab.rasi create mode 100644 .config/rofi/themes/simonvic.rasi create mode 100644 .config/rofi/themes/slate.rasi create mode 100644 .config/rofi/themes/solarized-darker.rasi create mode 100644 .config/rofi/themes/time.rasi create mode 100644 .config/rofi/themes/volume.rasi create mode 100644 .config/yakuake.shortcuts create mode 100644 .config/yakuakerc create mode 100644 .dir_colors create mode 100755 .fehbg create mode 100644 .gitmux.conf create mode 100644 .local/bin/i3scripts/contrib/README.md create mode 100755 .local/bin/i3scripts/contrib/bandwidth create mode 100755 .local/bin/i3scripts/contrib/battery create mode 100755 .local/bin/i3scripts/contrib/bauerbill create mode 100755 .local/bin/i3scripts/contrib/brightness create mode 100755 .local/bin/i3scripts/contrib/cpu create mode 100755 .local/bin/i3scripts/contrib/date create mode 100755 .local/bin/i3scripts/contrib/disk create mode 100755 .local/bin/i3scripts/contrib/keyboard create mode 100755 .local/bin/i3scripts/contrib/memory create mode 100755 .local/bin/i3scripts/contrib/mpc create mode 100755 .local/bin/i3scripts/contrib/network create mode 100755 .local/bin/i3scripts/contrib/pacman create mode 100755 .local/bin/i3scripts/contrib/playerctl create mode 100755 .local/bin/i3scripts/contrib/sound create mode 100755 .local/bin/i3scripts/contrib/time create mode 100644 .local/bin/i3scripts/contrib/util.sh create mode 100755 .local/bin/i3scripts/contrib/weather create mode 100755 .local/bin/i3scripts/contrib/yaourt create mode 100755 .local/bin/i3scripts/cpusensor create mode 100755 .local/bin/i3scripts/i3empty.py create mode 100755 .local/bin/i3scripts/info-hackspeed create mode 100755 .local/bin/i3scripts/info-idle create mode 100755 .local/bin/i3scripts/popup-calendar create mode 100755 .local/bin/i3scripts/start-htop create mode 100755 .local/bin/i3scripts/start_konky create mode 100755 .local/bin/i3scripts/weather create mode 100755 .local/bin/i3scripts/weathermap create mode 100755 .local/bin/i3scripts/xoffee create mode 100644 .local/share/fonts/.uuid create mode 100644 .local/share/fonts/NerdFonts/.uuid create mode 100644 .local/share/fonts/NerdFonts/complete/.uuid create mode 100644 .local/share/fonts/NerdFonts/complete/Inconsolata Bold Nerd Font Complete Mono Windows Compatible.ttf create mode 100644 .local/share/fonts/NerdFonts/complete/Inconsolata Bold Nerd Font Complete Mono.ttf create mode 100644 .local/share/fonts/NerdFonts/complete/Inconsolata Bold Nerd Font Complete Windows Compatible.ttf create mode 100644 .local/share/fonts/NerdFonts/complete/Inconsolata Bold Nerd Font Complete.ttf create mode 100644 .local/share/fonts/NerdFonts/complete/Inconsolata Nerd Font Complete Mono Windows Compatible.otf create mode 100644 .local/share/fonts/NerdFonts/complete/Inconsolata Nerd Font Complete Mono.otf create mode 100644 .local/share/fonts/NerdFonts/complete/Inconsolata Nerd Font Complete Windows Compatible.otf create mode 100644 .local/share/fonts/NerdFonts/complete/Inconsolata Nerd Font Complete.otf create mode 100644 .local/share/fonts/NerdFonts/complete/Inconsolata Regular Nerd Font Complete Mono Windows Compatible.ttf create mode 100644 .local/share/fonts/NerdFonts/complete/Inconsolata Regular Nerd Font Complete Mono.ttf create mode 100644 .local/share/fonts/NerdFonts/complete/Inconsolata Regular Nerd Font Complete Windows Compatible.ttf create mode 100644 .local/share/fonts/NerdFonts/complete/Inconsolata Regular Nerd Font Complete.ttf create mode 100644 .local/share/fonts/NerdFonts/font-info.md create mode 100644 .local/share/fonts/NerdFonts/readme.md create mode 100644 .local/share/konsole/Kapper.profile create mode 100644 .tmux.conf create mode 160000 .tmux/plugins/tpm create mode 100644 .xbindkeysrc create mode 100644 screens/dtop-code.png create mode 100644 screens/use_your_illusion.png diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..d67ca30 --- /dev/null +++ b/.Xresources @@ -0,0 +1,48 @@ +! +! ██████ ██████ ██ ██ ██████ █████ █████ ██████ █████ ██████ +! ██░░░░ ██░░░░██░██ ░██░░██░░████░░░██ ██░░░██░░██░░████░░░██░░██░░██ +! ░░█████ ░██ ░██░██ ░██ ░██ ░░░██ ░░ ░███████ ░██ ░░░███████ ░██ ░░ +! ░░░░░██░██ ░██░██ ░██ ░██ ░██ ██░██░░░░ ░██ ░██░░░░ ░██ +! ██████ ░░██████ ░░██████░███ ░░█████ ░░██████░███ ░░██████░███ +! ░░░░░░ ░░░░░░ ░░░░░░ ░░░ ░░░░░ ░░░░░░ ░░░ ░░░░░░ ░░░ +! r e a d c o d e l i k e a w i z a r d +! +! sourcerer by xero harrison (http://sourcerer.xero.nu) +! ├─ based on sorcerer by Jeet Sukumaran (http://jeetworks.org) +! └─ based on mustang by Henrique C. Alves (hcarvalhoalves@gmail.com) + +! █▓▒░ scorcerer colors +*.foreground: #c2c2b0 +*.background: #222222 +*.cursorColor: #c2c2b0 +! black +*.color0: #111111 +*.color8: #181818 +! red +*.color1: #aa4450 +*.color9: #ff6a6a +! green +*.color2: #719611 +*.color10: #b1d631 +! yellow +*.color3: #ff9800 +*.color11: #87875f +! blue +*.color4: #6688aa +*.color12: #90b0d1 +! magenta +*.color5: #8f6f8f +*.color13: #8181a6 +! cyan +*.color6: #528b8b +*.color14: #87ceeb +! white +*.color7: #d3d3d3 +*.color15: #c1cdc1 +! stylized +*.colorIT: #719611 +*.colorBD: #d3d3d3 +*.colorUL: #528b8b + +URxvt.font: xft:Inconsolata Nerd Font:size=30 + diff --git a/.bash_aliases b/.bash_aliases index 8ea3606..fa8876b 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -22,7 +22,7 @@ alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo export EDITOR="vim" export VISUAL="vim" export LS_COLORS="di=1;34:ln=31;47:so=32:pi=33:ex=1;32:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43" -export PATH=$PATH:/opt/:/home/kapper/.local/bin/ +export PATH=$PATH:/opt/:/home/kapper/.local/bin/:/home/kapper/.local/bin/i3scripts # Example path for autocompletion using libclang-9-dev package, obtained by the following command # find /usr/ -name libclang.so.1 2>/dev/null @@ -33,4 +33,11 @@ if [ -f ~/.bash_secrets ]; then . ~/.bash_secrets fi +if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then + exec tmux +fi + +# Set the default terminal to use konsole, with Kapper profile +# + Execute tmux on start +export TERMINAL='konsole --profile Kapper -e tmux' diff --git a/.config/autostart-scripts/mountdrive.sh b/.config/autostart-scripts/mountdrive.sh new file mode 100755 index 0000000..4fc5555 --- /dev/null +++ b/.config/autostart-scripts/mountdrive.sh @@ -0,0 +1,2 @@ +#!/bin/bash +google-drive-ocamlfuse /home/kapper/GDrive/ diff --git a/.config/autostart/jetbrains-toolbox.desktop b/.config/autostart/jetbrains-toolbox.desktop new file mode 100755 index 0000000..4c8f40a --- /dev/null +++ b/.config/autostart/jetbrains-toolbox.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Icon=/home/kapper/.local/share/JetBrains/Toolbox/toolbox.svg +Exec=/home/kapper/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox --minimize +Version=1.0 +Type=Application +Categories=Development +Name=JetBrains Toolbox +StartupWMClass=jetbrains-toolbox +Terminal=false +MimeType=x-scheme-handler/jetbrains; +X-GNOME-Autostart-enabled=true +StartupNotify=false +X-GNOME-Autostart-Delay=10 +X-MATE-Autostart-Delay=10 +X-KDE-autostart-after=panel \ No newline at end of file diff --git a/.config/compton.conf b/.config/compton.conf new file mode 100644 index 0000000..a2e1030 --- /dev/null +++ b/.config/compton.conf @@ -0,0 +1,109 @@ +# Shadow +shadow = true; +# no-dnd-shadow = true; +no-dock-shadow = true; +clear-shadow = true; +detect-rounded-corners = true; +shadow-radius = 5; +shadow-offset-x = 1; +shadow-offset-y = 1; +shadow-opacity = .3; +shadow-ignore-shaped = false; +shadow-exclude = [ + "name = 'Notification'", +# workaround for conky until it provides window properties: + "override_redirect = 1 && !WM_CLASS@:s", + "class_g ?= 'Dmenu'", +# "class_g ?= 'Dunst'", +# disable shadows for hidden windows: + "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", + "_GTK_FRAME_EXTENTS@:c", +# disables shadows on sticky windows: +# "_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'", +# disables shadows on i3 frames + "class_g ?= 'i3-frame'" +]; + +# shadow-exclude-reg = "x10+0+0"; +# xinerama-shadow-crop = true; + +#menu-opacity = 0.95; +#inactive-opacity = 0.93; +#active-opacity = 1; +#alpha-step = 0.01; +#inactive-dim = 0.0; +#blur-background = false; +#blur-kern = "3x3box"; + +fading = false; +fade-delta = 1; +fade-in-step = 0.03; +fade-out-step = 0.03; +fade-exclude = [ ]; + +backend = "xrender"; +mark-wmwin-focused = true; +mark-ovredir-focused = true; +detect-client-opacity = true; +unredir-if-possible = true; +refresh-rate = 0; +vsync = "none"; +dbe = false; +paint-on-overlay = true; +focus-exclude = [ "class_g = 'Cairo-clock'" ]; +detect-transient = true; +detect-client-leader = true; +invert-color-include = [ ]; +glx-copy-from-front = false; +glx-swap-method = "undefined"; + +opacity-rule = [ +#"99:name *?= 'Call'", +#"99:class_g = 'Chromium'", +#"50:class_g *= 'shortcuts_green'", +#"50:class_g *= 'sysinfo_green'", +#"50:class_g *= 'conky'", +#"99:class_g = 'Darktable'", +#"50:class_g = 'Dmenu'", +#"99:name *?= 'Event'", +#"99:class_g = 'Firefox'", +#"99:class_g = 'GIMP'", +#"99:name *?= 'Image'", +#"99:class_g = 'Lazpaint'", +#"99:class_g = 'Midori'", +#"99:name *?= 'Minitube'", +#"99:class_g = 'Mousepad'", +#"99:name *?= 'MuseScore'", +#"90:name *?= 'Page Info'", +#"99:name *?= 'Pale Moon'", +#"90:name *?= 'Panel'", +#"99:class_g = 'Pinta'", +#"90:name *?= 'Restart'", +#"99:name *?= 'sudo'", +#"99:name *?= 'Screenshot'", +#"99:class_g = 'Viewnior'", +#"99:class_g = 'VirtualBox'", +#"99:name *?= 'VLC'", +#"99:name *?= 'Write'", +#"93:class_g = 'URxvt' && !_NET_WM_STATE@:32a", +#"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", +#"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'" +]; + +wintypes : +{ + tooltip : + { + fade = true; + shadow = false; + opacity = 0.85; + focus = true; + }; + fullscreen : + { + fade = true; + shadow = false; + opacity = 1; + focus = true; + }; +}; diff --git a/.config/conky/shortcuts_green b/.config/conky/shortcuts_green new file mode 100644 index 0000000..437f562 --- /dev/null +++ b/.config/conky/shortcuts_green @@ -0,0 +1,76 @@ +conky.config = { + alignment = 'top_left', + background = true, + color2 = '2ECC71', + cpu_avg_samples = 2, + default_color = 'FFFFFF', + double_buffer = true, + font = 'Bitstream Vera Sans:size=8', + gap_x = 15, + gap_y = 40, + minimum_width = 200, + no_buffers = true, + own_window = true, + own_window_class = 'shortcuts_green', + own_window_type = 'override', + own_window_transparent = true, + update_interval = 10.0, + use_xft = true, +} +conky.text = [[ +# +# Date +${alignr}${color1} +${goto 20}${voffset 8}${color2}${font Bitstream Vera Sans:size=16}${time %A}$font\ +${goto 140}${voffset -8}${color}${font Bitstream Vera Sans:size=38}${time %e}$font +${goto 20}${color}${voffset -30}${color}${font Bitstream Vera Sans:size=18}${time %b}$font\ +${goto 60}${voffset -3} ${color}${font Bitstream Vera Sans:size=20}${time %Y}$font${color2}$hr +# +---------------Applications--------------- +${color2}open new terminal - ${color}mod+Enter +${color2}open dropdown yakuake terminal - ${color}F4 +${color2}Firefox - ${color}mod+Shift+f + +---------------Screenshots---------------- +${color2}image clip tool - ${color}mod+Shift+p + +---------------Menus---------------------- +${color2}audio devices - ${color}mod+Ctrl+a +${color2}bluetooth devices - ${color}mod+Ctrl+d +${color2}bmenu system settings - ${color}mod+Ctrl+b +${color2}dmenu app launcher - ${color}mod+d +${color2}morc_menu app menu - ${color}mod+z +${color2}power modes - ${color}mod+0 +${color2}blur lock - ${color}mod+9 + +---------------Restart / Reload----------- + +${color2}kill conky - ${color}mod+o +${color2}start conky - ${color}mod+shift+o +${color2}kill compton - ${color}mod+t +${color2}start compton - ${color}mod+Shift+t +${color2}reload i3 - ${color}mod+Shift+c +${color2}restart i3 - ${color}mod+Shift+r + +---------------Scratchpad----------------- +${color2}send to scratchpad - ${color}mod+Shift+minus +${color2}show scratchpad - ${color}mod+minus + +---------------Windows-------------------- +${color2}modify gaps - ${color}mod+Shift+g +${color2}resize mode - ${color}mod+r +${color2}toggle split direction - ${color}mod+q +${color2}kill cursor selection - ${color}mod+Ctrl+q +${color2}kill active window - ${color}mod+Shift+q + +---------------Workspace-------------------- +${color2}move to empty workspace - ${color}mod+Shift+z +${color2}switch to workspace 1-8 - ${color}mod+1-8 +${color2}send to workspace 1-8 - ${color}mod+Ctrl+1-8 +${color2}navigate workspaces - ${color}mod+Ctrl+arrowkeys +${color2}toggle floating - ${color}mod+Shift+Space +${color2}exit - ${color}mod+0 + +${color2}help - ${color}mod+Shift+h +${color2}mod key - ${color} +]] diff --git a/.config/conky/sysinfo_green b/.config/conky/sysinfo_green new file mode 100644 index 0000000..b456dcc --- /dev/null +++ b/.config/conky/sysinfo_green @@ -0,0 +1,108 @@ +conky.config = { + alignment = 'top_right', + background = true, + color2 = '2ECC71', + cpu_avg_samples = 2, + default_color = 'FFFFFF', + double_buffer = true, + font = 'Bitstream Vera Sans:size=8', + gap_x = 15, + gap_y = -5, + minimum_width = 200, + no_buffers = true, + own_window = true, + own_window_type = 'override', + own_window_class = 'sysinfo_green', + own_window_transparent = true, + update_interval = 5.0, + use_xft = true, + temperature_unit = 'fahrenheit', +} +conky.text = [[ + +# Process list, load average +# 1m / 5m / 15m format for lad avg +${color2}${voffset 35}${alignr}${font Bitstream Vera Sans:size=10}Proccesses${color} +${color}${alignr}${font Bitstream Vera Sans:size=8}Load Average: $font$alignr${loadavg} +# +# Process list CPU / RAM utilization table +${font}CPU${goto 170}RAM +${voffset 3}$font${color2}${top name 1}${goto 120}${color}${top cpu 1}%${goto 170}${color2}${top_mem name 1}${color}${alignr}${top_mem mem_res 1}${color} +${color2}${top name 2}${goto 120}${color}${top cpu 2}%${goto 170}${color2}${top_mem name 2}${color}${alignr}${top_mem mem_res 2}${color} +${voffset 3}$hr +# +# RAM Display +${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}RAM ${color} +${goto 0}${color2}$alignc${memgraph 40,305}${color} +${voffset 4}${goto 0}${alignc}${color2}${membar 10, 305} +${color}${goto 10}${font}${memperc}%${alignr}${exec grep -w Active: /proc/meminfo | awk '{print $2 / 1024 }'}MiB /${memmax} +${voffset 3}${color}$hr +# +# CPU Display +${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}CPU ${color} +# Chipset +${alignr}${font}${exec inxi |grep CPU | awk '{print $4" "$2" "$3" "$6}'}${exec lscpu |grep -w "Model name:"| awk '{print " - " $8}'} +# CPU Graph +${voffset 4}${goto 0}${alignc}${color2}${cpugraph 40, 305} +# Percentage / GHz utilized +${voffset 0}${goto 10}${color}${font}${exec cat /sys/class/thermal/thermal_zone2/temp | awk '{print ( ( ( (9/5) * $1) / 1000) + 32) "°F" }'}${alignr}${cpu}% - ${freq_g}GHz +# CPU Core Graphs +${voffset 10}${color}${goto 10}${font Bitstream Vera Sans:size=8}${cpu cpu1}%${goto 43}${color2}${cpubar cpu1 12,110} ${goto 170}${color}${cpu cpu2}%${goto 203}${color2}${cpubar cpu2 12,110} +${voffset 10}${color}${goto 10}${font Bitstream Vera Sans:size=8}${cpu cpu3}%${goto 43}${color2}${cpubar cpu3 12,110} ${goto 170}${color}${cpu cpu4}%${goto 203}${color2}${cpubar cpu4 12,110} +${voffset 10}${color}${goto 10}${font Bitstream Vera Sans:size=8}${cpu cpu5}%${goto 43}${color2}${cpubar cpu5 12,110} ${goto 170}${color}${cpu cpu6}%${goto 203}${color2}${cpubar cpu6 12,110} +${voffset 10}${color}${goto 10}${font Bitstream Vera Sans:size=8}${cpu cpu7}%${goto 43}${color2}${cpubar cpu7 12,110} ${goto 170}${color}${cpu cpu8}%${goto 203}${color2}${cpubar cpu8 12,110} + +${voffset 3}${color}$hr +# +# Network display +${color2}${font}${alignr}NETWORK${color} +${color}${voffset 4}${font}Interface: ${gw_iface} ${font}${alignr}Gateway IP: ${gw_ip} +${font}${alignr}${if_match "$wireless_essid"=="off/any"}Déconnecté${else}${wireless_essid}${endif} +${font}${goto 5}Down${alignr}Up +${goto 5}${color2}${downspeedgraph enp0s31f6 40,153}${goto 160}${upspeedgraph enp0s31f6 40,155} +# Uncomment next line for wireless +# ${goto 5}${color}${downspeedf wlp3s0} Kb/s - ${totaldown wlp3s0}${goto 160}${upspeedf wlp3s0} Kb/s - ${totalup wlp3s0} +# Ethernet network display +${goto 5}${color}${downspeedf enp0s31f6} Kb/s - ${totaldown enp0s31f6}${alignr}${upspeedf enp0s31f6} Kb/s - ${totalup enp0s31f6} +${voffset 4}${color}$hr +# +# HDDisk Display +${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}DISKS${color} +# +# Root Filesystem Display +${voffset 2}${font}${goto 45} /dev/sda - /${font}${alignr}System: ${fs_used /} / ${fs_size /} +${color2}${diskiograph /dev/sda}${color} +${color2}${fs_bar 8 /}${color} +# +# Home Filesystem Display +#${voffset 6}${font}${goto 45}/dev/sda1 - /home/${font}${alignr}Data: ${fs_used /home/} / ${fs_size /home/} +#${color2}${diskiograph /dev/sda1}${color} +#${color2}${fs_bar 8 /home/} ${color} +# Optinal drive display, specify path to check mount +#${if_mounted /run/media/thib/Data}${color}${font}${exec sudo hddtemp /dev/sdb -u F | awk '{print $NF}'}${alignr}${fs_used /run/media/thib/Data}/${fs_size /run/media/thib/Data}${else}${color}${font}${alignr}Unmounted${endif} +$hr +# +# Other information +${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}OTHER${color} +# MOBO temp, uptime +${color}${voffset 4}${font}Motherboard: ${goto 120}${acpitemp}F°${alignr}Uptime: ${uptime_short} +# Domain status +# ${color}${voffset 4}${font}Knoats: ${alignc}${exec curl -Is https://knoats.com | grep HTTP | awk '{print $1 " - " $2}'}${alignr}${exec curl -o /dev/null -s -w %{time_total}\\n https://knoats.com}s +# ${font}Shaunreed: ${alignc}${exec curl -Is https://shaunreed.com | grep HTTP | awk '{print $1 " - " $2}'}${alignr}${exec curl -o /dev/null -s -w %{time_total}\\n https://shaunreed.com}s +# ${font}dv: ${alignc}${exec curl -Is https://kapp.ga | grep HTTP | awk '{print $1 " - " $2}'}${alignr}${exec curl -o /dev/null -s -w %{time_total}\\n https://kapp.ga}s +# +${voffset 3}$hr +# +# +# Things I don't use, but could in the future +# I don't need to track docker containers.. unless I can check remotes? +# ${font}Docker containers: ${goto 120}${exec docker ps -q $1 | wc -l}/${exec docker ps -a | grep -v -F 'Exited (0)' | grep -c -F 'Exited ('} +# +# Commented out, since I am using a desktop +# BATTERY +# $color${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}BATTERY +# ${font}${voffset 3}${alignr}${battery_percent}% +# ${color2}${battery_bar} +# $color${alignr}${if_match "$battery_time"=="unknown"}Charging...${else}Remain Time: ${battery_time}${endif} +]] + diff --git a/.config/i3/config b/.config/i3/config new file mode 100644 index 0000000..6f92dc6 --- /dev/null +++ b/.config/i3/config @@ -0,0 +1,454 @@ +# This file has been auto-generated by i3-config-wizard(1). +# It will not be overwritten, so edit it as you like. +# +# Should you change your keyboard layout some time, delete +# this file and re-run i3-config-wizard(1). +# + +# i3 config file (v4) +# +# Please see https://i3wm.org/docs/userguide.html for a complete reference! + +set $mod Mod4 +# Mod1 = Alt +#set $mod Mod1 +focus_follows_mouse no + +for_window [class="yakuake"] floating enable + + + +# Move to a new empty workspace +#bindsym $mod+Ctrl+Left exec --no-startup-id i3empty.py prev +bindsym $mod+Shift+z exec --no-startup-id $HOME/.local/bin/i3scripts/i3empty.py + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +font pango:Inconsolata Nerd Font Mono 10 +#font pango:monospace 8 + +# This font is widely installed, provides lots of unicode glyphs, right-to-left +# text rendering and scalability on retina/hidpi displays (thanks to pango). +#font pango:DejaVu Sans Mono 8 + +# Before i3 v4.8, we used to recommend this one as the default: +# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 +# The font above is very space-efficient, that is, it looks good, sharp and +# clear in small sizes. However, its unicode glyph coverage is limited, the old +# X core fonts rendering does not support right-to-left and this being a bitmap +# font, it doesn’t scale on retina/hidpi displays. + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod +# set default desktop layout (default is tiling) +# workspace_layout tabbed + +# Configure border style +default_border pixel 2 +default_floating_border normal +# Hide borders +hide_edge_borders none + + +# start a terminal + +# kill focused window +bindsym $mod+Shift+q kill + +# start dmenu (a program launcher) +bindsym $mod+d exec dmenu_run +bindsym $mod+x exec rofi -show run +bindsym $mod+a exec rofi -show window +bindsym $mod+z exec rofi -show ssh + +# There also is the (new) i3-dmenu-desktop which only displays applications +# shipping a .desktop file. It is a wrapper around dmenu, so you need that +# installed. +# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop + +# change focus +bindsym $mod+j focus left +bindsym $mod+k focus down +bindsym $mod+l focus up +bindsym $mod+semicolon focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+j move left +bindsym $mod+Shift+k move down +bindsym $mod+Shift+l move up +bindsym $mod+Shift+semicolon move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# split in horizontal orientation +# bindsym $mod+h split h + +# split in vertical orientation +# bindsym $mod+v split v + +# enter fullscreen mode for the focused container +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +# bindsym $mod+s layout stacking +# bindsym $mod+w layout tabbed +# bindsym $mod+e layout toggle split + +# toggle tiling / floating +# bindsym $mod+Shift+space floating toggle + +# change focus between tiling / floating windows +# bindsym $mod+space focus mode_toggle + +# focus the parent container +#bindsym $mod+a focus parent + +# focus the child container +#bindsym $mod+d focus child + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +set $ws1 "1" +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" +set $ws6 "6" +set $ws7 "7" +set $ws8 "8" +set $ws9 "9" +set $ws10 "10" + + +# Custom named workspaces for keeping frequently used apps +# Numbers overwritten by Polybar i3 module config +set $ws99 99 +set $ws98 98 +set $ws97 97 +set $ws96 96 +set $ws95 95 +set $ws94 94 + +# Custom named workspace keybinds +# To get keysymbols, run 'xmodmap -pke' +bindsym $mod+Ctrl+backslash move container to workspace $ws99 +bindsym $mod+Ctrl+bracketright move container to workspace $ws98 +bindsym $mod+Ctrl+apostrophe move container to workspace $ws97 +bindsym $mod+Ctrl+slash move container to workspace $ws96 +bindsym $mod+Ctrl+period move container to workspace $ws95 +bindsym $mod+Ctrl+comma move container to workspace $ws94 +# Move to workspace with focused container +bindsym $mod+Shift+backslash move container to workspace $ws99; workspace $ws99 +bindsym $mod+Shift+bracketright move container to workspace $ws98; workspace $ws98 +bindsym $mod+Shift+apostrophe move container to workspace $ws97; workspace $ws97 +bindsym $mod+Shift+slash move container to workspace $ws96; workspace $ws96 +bindsym $mod+Shift+period move container to workspace $ws95; workspace $ws95 +bindsym $mod+Shift+comma move container to workspace $ws94; workspace $ws94 +# Move to workspace +bindsym $mod+backslash workspace number $ws99 +bindsym $mod+bracketright workspace number $ws98 +bindsym $mod+apostrophe workspace number $ws97 +bindsym $mod+slash workspace number $ws96 +bindsym $mod+period workspace number $ws95 +bindsym $mod+comma workspace number $ws94 + + +# Switch to workspace +bindsym $mod+1 workspace $ws1 +bindsym $mod+2 workspace $ws2 +bindsym $mod+3 workspace $ws3 +bindsym $mod+4 workspace $ws4 +bindsym $mod+5 workspace $ws5 +bindsym $mod+6 workspace $ws6 +bindsym $mod+7 workspace $ws7 +bindsym $mod+8 workspace $ws8 +bindsym $mod+9 workspace $ws9 +bindsym $mod+0 workspace $ws10 + +# move focused container to workspace +# bindsym $mod+Shift+1 move container to workspace $ws1 +# bindsym $mod+Shift+2 move container to workspace $ws2 +# bindsym $mod+Shift+3 move container to workspace $ws3 +# bindsym $mod+Shift+4 move container to workspace $ws4 +# bindsym $mod+Shift+5 move container to workspace $ws5 +# bindsym $mod+Shift+6 move container to workspace $ws6 +# bindsym $mod+Shift+7 move container to workspace $ws7 +# bindsym $mod+Shift+8 move container to workspace $ws8 +# bindsym $mod+Shift+9 move container to workspace $ws9 +# bindsym $mod+Shift+0 move container to workspace $ws10 + + +# Passing -n to urxvt forces Xorg to default the WM_ICON_NAME to tmux +# Only this instance of urxvt will have that WM_ICON_NAME +# Prevents for_window from acting on new terminals +# Passing -T to urxvt sets WM_NAME and WM_ICON_NAME, if not set in a later argument +# Use -T below to title the startup terminal and assign properties to it +# exec_always --no-startup-id i3-msg 'exec urxvt -T origin -hold -e htop' +# for_window [title="origin"] move to workspace number $ws95 +# for_window [title="origin"] floating enable +# for_window [title="origin"] resize set height 700 +# for_window [title="origin"] resize set width 1000 +# for_window [title="origin"] move position center + +bindsym $mod+Ctrl+a exec "pavucontrol" +for_window [class="Pavucontrol"] floating enable +for_window [class="Pavucontrol"] resize set height 400 +for_window [class="Pavucontrol"] resize set width 600 +for_window [class="Pavucontrol"] move position center + +for_window [class="Yad"] floating enable +for_window [class="Yad"] resize set height 400 +for_window [class="Yad"] resize set width 600 + +for_window [class="Bitwarden"] floating enable +for_window [class="Bitwarden"] resize set height 600 +for_window [class="Bitwarden"] resize set width 800 +for_window [class="Bitwarden"] move position center + +for_window [class="Gpick"] floating enable +for_window [class="Gpick"] resize set height 500 +for_window [class="Gpick"] resize set width 700 +for_window [class="Gpick"] move position center + +for_window [class="discord"] floating enable +for_window [class="discord"] resize set height 600 +for_window [class="discord"] resize set width 800 +for_window [class="discord"] move position center + +for_window [class="Wicd-client.py"] floating enable +for_window [class="Wicd-client.py"] resize set height 400 +for_window [class="Wicd-client.py"] resize set width 600 +for_window [class="Wicd-client.py"] move position center + + +# reload the configuration file +bindsym $mod+Shift+c reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" + +exec --no-startup-id yakuake +exec --no-startup-id xbindkeys --poll-rc +exec --no-startup-id $HOME/.local/bin/i3scripts/start_konky +exec --no-startup-id sh ~/.fehbg +exec --no-startup-id xautolock -time 10 -locker blurlock +exec --no-startup-id wicd-client -t +exec --no-startup-id xfce4-power-manager +exec --no-startup-id google-drive-ocamlfuse ~/gdrive + + +# Application keybinds +########################################### +bindsym $mod+Return exec konsole -e tmux + +# start a terminal +# Uses $TERMINAL environment setting +# bindsym $mod+Return exec terminal +# Start / kill conky +bindsym $mod+t exec pkill compton +bindsym $mod+Shift+t exec compton +# Firefox +bindsym $mod+Shift+f exec firefox +# Bluetooth device settings +bindsym $mod+Ctrl+d exec blueman-manager +## Screenshot keybinds +########################################### +# Screenshot marquee tool +bindsym $mod+Shift+p --release exec --no-startup-id scrot -s + +# Restart, reload, kill keybinds +########################################### + +# Bind Mod+O to kill conky +bindsym $mod+o exec pkill conky +# Bind Mod+Shift+O to start conky +bindsym $mod+Shift+o exec $HOME/.local/bin/i3scripts/start_konky + +# Bind Mod+P kill polybars +bindsym $mod+p exec pkill -f polybar +# Bind Mod+Shift+P to start polybars +bindsym $mod+Shift+p exec /home/kapper/.config/polybar/start-polybar.sh + + +# Workspace keybinds +########################################### + +# Modify window borders +bindsym $mod+u border none +bindsym $mod+y border pixel 1 +bindsym $mod+n border normal + +# Move focused container to workspace +bindsym $mod+Ctrl+1 move container to workspace $ws1 +bindsym $mod+Ctrl+2 move container to workspace $ws2 +bindsym $mod+Ctrl+3 move container to workspace $ws3 +bindsym $mod+Ctrl+4 move container to workspace $ws4 +bindsym $mod+Ctrl+5 move container to workspace $ws5 +bindsym $mod+Ctrl+6 move container to workspace $ws6 +bindsym $mod+Ctrl+7 move container to workspace $ws7 +bindsym $mod+Ctrl+8 move container to workspace $ws8 +# Move to workspace with focused container +bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3 +bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4 +bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5 +bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6 +bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7 +bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8 + +#navigate workspaces next / previous +bindsym $mod+Ctrl+Right workspace next +bindsym $mod+Ctrl+Left workspace prev +# workspace back and forth (with/without active container) +workspace_auto_back_and_forth yes +# Bind to swap to previous / last workspace +bindsym $mod+Tab workspace back_and_forth + +# Layout keybinds +########################################### + +# Split orientation toggles +bindsym $mod+h split h;exec notify-send 'tile horizontally' +bindsym $mod+v split v;exec notify-send 'tile vertically' +bindsym $mod+q split toggle + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# move the currently focused window to the scratchpad +bindsym $mod+Shift+minus move scratchpad +# Show the next scratchpad window or hide the focused scratchpad window. +# If there are multiple scratchpad windows, this command cycles through them. +bindsym $mod+minus scratchpad show +# To remove a window from scratchpad, toggle floating + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle +# toggle sticky +bindsym $mod+Shift+s sticky toggle +# focus the parent container +#bindsym $mod+a focus parent + + + +# resize window (you can also use the mouse for that) +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym j resize shrink width 10 px or 10 ppt + bindsym k resize grow height 10 px or 10 ppt + bindsym l resize shrink height 10 px or 10 ppt + bindsym semicolon resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + bindsym Left resize shrink width 10 px or 10 ppt + bindsym Down resize grow height 10 px or 10 ppt + bindsym Up resize shrink height 10 px or 10 ppt + bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape or $mod+r + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" +} + +bindsym $mod+r mode "resize" + +# Use polybar installed +exec_always --no-startup-id /home/kapper/.config/polybar/start-polybar.sh +exec_always --no-startup-id compton +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +#bar { +# +# status_command i3blocks +#} + +# Theme colors +# class border backgr. text indic. child_border + client.focused #005F00 #005F00 #80FFF9 #AFD700 + client.focused_inactive #2F3D44 #2F3D44 #1ABC9C #454948 + client.unfocused #000000 #000000 #1ABC9C #000000 + client.urgent #CB4B16 #FDF6E3 #1ABC9C #268BD2 + client.placeholder #000000 #0c0c0c #ffffff #000000 + + client.background #000000 + + +################################################################# +### Settings for i3-gaps ####################################### +################################################################# + +# Set inner/outer gaps default values +gaps inner 14 +gaps outer -2 + +# Additionally, you can issue commands with the following syntax. This is useful to bind keys to changing the gap size. +# gaps inner|outer current|all set|plus|minus +# gaps inner all set 10 +# gaps outer all plus 5 + +# Smart gaps (gaps used if only more than one container on the workspace) +smart_gaps on + +# Smart borders (draw borders around container only if it is not the only container on this workspace) +# on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0) +#smart_borders on + +# Press $mod+Shift+g to enter the gap mode. Choose o or i for modifying outer/inner gaps. Press one of + / - (in-/decrement for current workspace) or 0 (remove gaps for current workspace). If you also press Shift with these keys, the change will be global for all workspaces. +set $mode_gaps Gaps: (o) outer, (i) inner +set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) +bindsym $mod+Shift+g mode "$mode_gaps" + +mode "$mode_gaps" { + bindsym o mode "$mode_gaps_outer" + bindsym i mode "$mode_gaps_inner" + bindsym Return mode "default" + bindsym Escape mode "default" +} +mode "$mode_gaps_inner" { + bindsym plus gaps inner current plus 5 + bindsym minus gaps inner current minus 5 + bindsym 0 gaps inner current set 0 + + bindsym Shift+plus gaps inner all plus 5 + bindsym Shift+minus gaps inner all minus 5 + bindsym Shift+0 gaps inner all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} +mode "$mode_gaps_outer" { + bindsym plus gaps outer current plus 5 + bindsym minus gaps outer current minus 5 + bindsym 0 gaps outer current set 0 + + bindsym Shift+plus gaps outer all plus 5 + bindsym Shift+minus gaps outer all minus 5 + bindsym Shift+0 gaps outer all set 0 + + bindsym Return mode "default" + bindsym Escape mode "default" +} + diff --git a/.config/i3blocks/config b/.config/i3blocks/config new file mode 100644 index 0000000..43fa76b --- /dev/null +++ b/.config/i3blocks/config @@ -0,0 +1,182 @@ +# i3blocks config file +# +# Please see man i3blocks for a complete reference! +# The man page is also hosted at http://vivien.github.io/i3blocks +# +# List of valid properties: +# +# align +# color +# command +# full_text +# instance +# interval +# label +# min_width +# name +# separator +# separator_block_width +# short_text +# signal +# urgent + +# Global properties +# +# The top properties below are applied to every block, but can be overridden. +# Each block command defaults to the script name to avoid boilerplate. +command=/usr/share/i3blocks/$BLOCK_NAME +separator_block_width=20 +markup=none + +[weather] +command=sh $HOME/.local/bin/i3scripts/weathermap +align=right +color=#ffaf00 +interval=1800 + + + +[wicd-wifi] +#label= +command=sudo pkill wicd-client && wicd-client -t +interval=once + +# Volume indicator +# +# The first parameter sets the step (and units to display) +# The second parameter overrides the mixer selection +# See the script for details. + +[volume] +# DEPENDS: sudo apt install volumeicon-alsa +#label=VOL +#label=♪ +#instance=Master +#instance=PCM +command=volumeicon +interval=once +#signal=10 + +# Memory usage +# +# The type defaults to "mem" if the instance is not specified. +[memory] +label=MEM +separator=false +interval=30 + +[memory] +label=SWAP +instance=swap +separator=true +interval=30 + +# CPU usage +# +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +[cpu_usage] +label=CPU +interval=10 +min_width=CPU: 100.00% +separator=false + +[load_average] +interval=10 + + +# Disk usage +# +# The directory defaults to $HOME if the instance is not specified. +# The script may be called with a optional argument to set the alert +# (defaults to 10 for 10%). +[disk] +label=HOME +#instance=/mnt/data +interval=30 + +# Network interface monitoring +# +# If the instance is not specified, use the interface used for default route. +# The address can be forced to IPv4 or IPv6 with -4 or -6 switches. +[iface] +#instance=wlan0 +color=#00FF00 +interval=10 +separator=false + +[public-ip] +command=wget -qO - ifconfig.me +interval=60 + + +[wifi] +#instance=wlp3s0 +interval=10 +separator=false + +[bandwidth] +#instance=eth0 +interval=5 + +[backlight] +label=BRI +command=xbacklight +separator=true +interval=1 + + +# Battery indicator +# +# The battery instance defaults to 0. +[battery] +label=BAT +#label=⚡ +#instance=1 +interval=30 + +# Date Time +# +[time] +command=date '+%Y-%m-%d %H:%M:%S' +interval=5 + +# Generic media player support +# +# This displays "ARTIST - SONG" if a music is playing. +# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others. +#[mediaplayer] +#instance=spotify +#interval=5 +#signal=10 + +# OpenVPN support +# +# Support multiple VPN, with colors. +#[openvpn] +#interval=20 + +# Temperature +# +# Support multiple chips, though lm-sensors. +# The script may be called with -w and -c switches to specify thresholds, +# see the script for details. +#[temperature] +#label=TEMP +#interval=10 + +# Key indicators +# +# Add the following bindings to i3 config file: +# +# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks +# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks +#[keyindicator] +#instance=CAPS +#interval=once +#signal=11 + +#[keyindicator] +#instance=NUM +#interval=once +#signal=11 diff --git a/.config/i3blocks/volume b/.config/i3blocks/volume new file mode 100755 index 0000000..4c4d8e1 --- /dev/null +++ b/.config/i3blocks/volume @@ -0,0 +1,175 @@ +#!/bin/bash +# Displays the default device, volume, and mute status for i3blocks + +set -a + +AUDIO_HIGH_SYMBOL=${AUDIO_HIGH_SYMBOL:-' '} + +AUDIO_MED_THRESH=${AUDIO_MED_THRESH:-50} +AUDIO_MED_SYMBOL=${AUDIO_MED_SYMBOL:-' '} + +AUDIO_LOW_THRESH=${AUDIO_LOW_THRESH:-0} +AUDIO_LOW_SYMBOL=${AUDIO_LOW_SYMBOL:-' '} + +AUDIO_MUTED_SYMBOL=${AUDIO_MUTED_SYMBOL:-' '} + +AUDIO_DELTA=${AUDIO_DELTA:-5} + +DEFAULT_COLOR=${DEFAULT_COLOR:-"#ffffff"} +MUTED_COLOR=${MUTED_COLOR:-"#a0a0a0"} + +LONG_FORMAT=${LONG_FORMAT:-'${SYMB} ${VOL}% [${INDEX}:${NAME}]'} +SHORT_FORMAT=${SHORT_FORMAT:-'${SYMB} ${VOL}% [${INDEX}]'} +USE_ALSA_NAME=${USE_ALSA_NAME:-0} +USE_DESCRIPTION=${USE_DESCRIPTION:-0} + +SUBSCRIBE=${SUBSCRIBE:-0} + +MIXER=${MIXER:-""} +SCONTROL=${SCONTROL:-""} + +while getopts F:Sf:adH:M:L:X:T:t:C:c:i:m:s:h opt; do +case "$opt" in +S) SUBSCRIBE=1 ;; +F) LONG_FORMAT="$OPTARG" ;; +f) SHORT_FORMAT="$OPTARG" ;; +a) USE_ALSA_NAME=1 ;; +d) USE_DESCRIPTION=1 ;; +H) AUDIO_HIGH_SYMBOL="$OPTARG" ;; +M) AUDIO_MED_SYMBOL="$OPTARG" ;; +L) AUDIO_LOW_SYMBOL="$OPTARG" ;; +X) AUDIO_MUTED_SYMBOL="$OPTARG" ;; +T) AUDIO_MED_THRESH="$OPTARG" ;; +t) AUDIO_LOW_THRESH="$OPTARG" ;; +C) DEFAULT_COLOR="$OPTARG" ;; +c) MUTED_COLOR="$OPTARG" ;; +i) AUDIO_INTERVAL="$OPTARG" ;; +m) MIXER="$OPTARG" ;; +s) SCONTROL="$OPTARG" ;; +h) printf \ + "Usage: volume-pulseaudio [-S] [-F format] [-f format] [-p] [-a|-d] [-H symb] [-M symb] + [-L symb] [-X symb] [-T thresh] [-t thresh] [-C color] [-c color] [-i inter] + [-m mixer] [-s scontrol] [-h] + Options: + -F, -f\tOutput format (-F long format, -f short format) to use, with exposed variables: + \${SYMB}, \${VOL}, \${INDEX}, \${NAME} +-S\tSubscribe to volume events (requires persistent block, always uses long format) + -a\tUse ALSA name if possible + -d\tUse device description instead of name if possible + -H\tSymbol to use when audio level is high. Default: '$AUDIO_HIGH_SYMBOL' + -M\tSymbol to use when audio level is medium. Default: '$AUDIO_MED_SYMBOL' + -L\tSymbol to use when audio level is low. Default: '$AUDIO_LOW_SYMBOL' + -X\tSymbol to use when audio is muted. Default: '$AUDIO_MUTED_SYMBOL' + -T\tThreshold for medium audio level. Default: $AUDIO_MED_THRESH + -t\tThreshold for low audio level. Default: $AUDIO_LOW_THRESH + -C\tColor for non-muted audio. Default: $DEFAULT_COLOR + -c\tColor for muted audio. Default: $MUTED_COLOR + -i\tInterval size of volume increase/decrease. Default: $AUDIO_DELTA + -m\tUse the given mixer. + -s\tUse the given scontrol. + -h\tShow this help text + " && exit 0;; + esac + done + + if [[ -z "$MIXER" ]] ; then + MIXER="default" + if amixer -D pulse info >/dev/null 2>&1 ; then + MIXER="pulse" + fi + fi + + if [[ -z "$SCONTROL" ]] ; then + SCONTROL=$(amixer -D "$MIXER" scontrols | sed -n "s/Simple mixer control '\([^']*\)',0/\1/p" | head -n1) + fi + + CAPABILITY=$(amixer -D $MIXER get $SCONTROL | sed -n "s/ Capabilities:.*cvolume.*/Capture/p") + + + function move_sinks_to_new_default { + DEFAULT_SINK=$1 + pacmd list-sink-inputs | grep index: | grep -o '[0-9]\+' | while read SINK + do + pacmd move-sink-input $SINK $DEFAULT_SINK + done + } + +function set_default_playback_device_next { + inc=${1:-1} + num_devices=$(pacmd list-sinks | grep -c index:) + sink_arr=($(pacmd list-sinks | grep index: | grep -o '[0-9]\+')) + default_sink_index=$(( $(pacmd list-sinks | grep index: | grep -no '*' | grep -o '^[0-9]\+') - 1 )) + default_sink_index=$(( ($default_sink_index + $num_devices + $inc) % $num_devices )) + default_sink=${sink_arr[$default_sink_index]} + pacmd set-default-sink $default_sink + move_sinks_to_new_default $default_sink +} + +case "$BLOCK_BUTTON" in +1) set_default_playback_device_next ;; +2) amixer -q -D $MIXER sset $SCONTROL $CAPABILITY toggle ;; +3) set_default_playback_device_next -1 ;; +4) amixer -q -D $MIXER sset $SCONTROL $CAPABILITY $AUDIO_DELTA%+ ;; +5) amixer -q -D $MIXER sset $SCONTROL $CAPABILITY $AUDIO_DELTA%- ;; +esac + +function print_format { + echo "$1" | envsubst '${SYMB}${VOL}${INDEX}${NAME}' +} + +function print_block { + ACTIVE=$(pacmd list-sinks | grep "state\: RUNNING" -B4 -A7 | grep "index:\|name:\|volume: front\|muted:") + [ -z "$ACTIVE" ] && ACTIVE=$(pacmd list-sinks | grep "index:\|name:\|volume: front\|muted:" | grep -A3 '*') + for name in INDEX NAME VOL MUTED; do + read $name + done < <(echo "$ACTIVE") + INDEX=$(echo "$INDEX" | grep -o '[0-9]\+') + VOL=$(echo "$VOL" | grep -o "[0-9]*%" | head -1 ) + VOL="${VOL%?}" + + NAME=$(echo "$NAME" | sed \ + 's/.*<.*\.\(.*\)>.*/\1/; t;'\ + 's/.*<\(.*\)>.*/\1/; t;'\ + 's/.*/unknown/') + + if [[ $USE_ALSA_NAME == 1 ]] ; then + ALSA_NAME=$(pacmd list-sinks |\ + awk '/^\s*\*/{f=1}/^\s*index:/{f=0}f' |\ + grep "alsa.name\|alsa.mixer_name" |\ + head -n1 |\ + sed 's/.*= "\(.*\)".*/\1/') + NAME=${ALSA_NAME:-$NAME} + elif [[ $USE_DESCRIPTION == 1 ]] ; then + DESCRIPTION=$(pacmd list-sinks |\ + awk '/^\s*\*/{f=1}/^\s*index:/{f=0}f' |\ + grep "device.description" |\ + head -n1 |\ + sed 's/.*= "\(.*\)".*/\1/') + NAME=${DESCRIPTION:-$NAME} + fi + + if [[ $MUTED =~ "no" ]] ; then + SYMB=$AUDIO_HIGH_SYMBOL + [[ $VOL -le $AUDIO_MED_THRESH ]] && SYMB=$AUDIO_MED_SYMBOL + [[ $VOL -le $AUDIO_LOW_THRESH ]] && SYMB=$AUDIO_LOW_SYMBOL + COLOR=$DEFAULT_COLOR + else + SYMB=$AUDIO_MUTED_SYMBOL + COLOR=$MUTED_COLOR + fi + + if [[ $SUBSCRIBE == 1 ]] ; then + print_format "$LONG_FORMAT" + else + print_format "$LONG_FORMAT" + print_format "$SHORT_FORMAT" + echo "$COLOR" + fi +} + +print_block +if [[ $SUBSCRIBE == 1 ]] ; then +while read -r EVENT; do + print_block +done < <(pactl subscribe | stdbuf -oL grep change) + fi diff --git a/.config/i3status/config b/.config/i3status/config new file mode 100644 index 0000000..674d305 --- /dev/null +++ b/.config/i3status/config @@ -0,0 +1,74 @@ +# i3status configuration file. +# see "man i3status" for documentation. + +# It is important that this file is edited as UTF-8. +# The following line should contain a sharp s: +# ß +# If the above line is not correctly displayed, fix your editor first! + +general { + colors = true + interval = 5 +} + +# order += "read_file BRIGHTNESS" +order += "memory" +order += "cpu_usage" +order += "volume master" +order += "ipv6" +order += "disk /" +order += "wireless _first_" +order += "ethernet _first_" +order += "battery all" +order += "load" +order += "tztime local" + +# read_file BRIGHTNESS { +# format = "BRI %content" +# path = "/home/kapper/.config/.brightness" +# max_characters = 5 +# } + +memory 0{ + + format = "%free %available%" + +} + +volume master { + format = "♪: %volume" + format_muted = "♪: muted (%volume)" +} + +cpu_usage { + format = "CPU %usage {%cpu0 %cpu1}" + max_threshold = 75 +} + +wireless _first_ { + format_up = "W: (%quality at %essid) %ip" + format_down = "W: down" +} + +ethernet _first_ { + # if you use %speed, i3status requires root privileges + format_up = "E: %ip (%speed)" + format_down = "E: down" +} + +battery all { + format = "%status %percentage %remaining" +} + +tztime local { + format = "%Y-%m-%d %H:%M:%S" +} + +load { + format = "%1min" +} + +disk "/" { + format = "%avail" +} + diff --git a/.config/konsolerc b/.config/konsolerc new file mode 100644 index 0000000..30e799c --- /dev/null +++ b/.config/konsolerc @@ -0,0 +1,16 @@ +[Desktop Entry] +DefaultProfile=Kapper.profile + +[Favorite Profiles] +Favorites=Kapper.profile + +[KonsoleWindow] +ShowMenuBarByDefault=false + +[MainWindow] +Height 1200=1200 +MenuBar=Disabled +State=AAAA/wAAAAD9AAAAAAAAB3wAAAR/AAAABAAAAAQAAAAIAAAACPwAAAAA +ToolBarsMovable=Disabled +Width 1920=1920 +Window-Maximized 1200x1920=true diff --git a/.config/pavucontrol.ini b/.config/pavucontrol.ini new file mode 100644 index 0000000..7c83995 --- /dev/null +++ b/.config/pavucontrol.ini @@ -0,0 +1,7 @@ +[window] +width=1366 +height=749 +sinkInputType=0 +sourceOutputType=1 +sinkType=0 +sourceType=0 diff --git a/.config/polybar/.env/break-timer b/.config/polybar/.env/break-timer new file mode 100644 index 0000000..98ba7a1 --- /dev/null +++ b/.config/polybar/.env/break-timer @@ -0,0 +1,106 @@ +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +left +left +left +left +left +left +scrollUp +scrollUp +scrollUp +scrollUp +scrollUp +scrollUp +scrollUp +scrollUp +scrollUp +left +left +right +left +left +left +left +left +left +right +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +scrollDown +left +right +right +left +left +left +left +left +left +left +right +left +right +right +right +left +middle +middle +middle +right +middle +middle +right +left +left +left +left +left +left +left +left +left +left +left +left +left +left +left +left +left +left +left +left +left +left +middle +right +left +left +left +right +right +left diff --git a/.config/polybar/config b/.config/polybar/config new file mode 100644 index 0000000..2043112 --- /dev/null +++ b/.config/polybar/config @@ -0,0 +1,693 @@ +; Polybars +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +[bar/top] +; Polybar Position +monitor = ${env:MONITOR} +width = 100% +height = 25 + +; Polybar Color +; Depreciated.. +;tray-transparent = true +; Transparent adds 2 leading values to color (2+hex) +background = #00000000 +; Opaque is hex color (hex) +foreground = #00c24a +line-color = ${bar/bottom.background} +line-size = 16 +spacing = 2 +tray-background = #00111111 + +; Polybar Padding +padding-left = 0 +padding-right = 5 + +; Margin Between Modules +module-margin = 2 + +; Type font +font-0 = NotoSans-Regular:size=12;0 +font-1 = Inconsolata Nerd Font:size=12;0 +font-2 = Noto Sans Mono:size=10;0 + +; Modules +modules-left = powermenu weather +modules-center = ki3 +modules-right = volume date + +; Set the cursor to display pointer / resize is interaction available +cursor-click = pointer +cursor-scroll = ns-resize + +[bar/bottom] +; Position, size of polybar +monitor = ${env:MONITOR} +bottom = true +width = 100% +height = 20 + +; Use top bar colors +background = ${bar/top.background} +foreground = ${bar/top.foreground} +line-color = ${bar/top.background} +line-size = 2 +spacing = 3 + +; Polybar padding +padding-left = 6 +padding-right = 6 + +; Margins between modules +module-margin-left = 1 +module-margin-right = 2 + +; Font settings, order matters +; Top font takes priority over following +;font-0 = Source Code Pro:size=10;0 +font-0 = NotoSans-Regular:size=12;1 +font-1 = Inconsolata Nerd Font:size=12;3 +font-2 = Noto Sans Mono:size=8;0 + +; Modules +modules-left = temp-cpu cpu memory +modules-center = popup-utc network public-ip filesystem +modules-right = vpn battery + +; Set the cursor to display pointer / resize is interaction available +cursor-click = pointer +cursor-scroll = ns-resize + +; Modules +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + + +; VPN Status +;;;;;;;;;;;;;;;;;;;;;;;;;; +[module/vpn] +type = custom/script +exec = mullvad status | awk '{print "VPN: "$3}' +interval = 10 + +; Pop-up Calendar +;;;;;;;;;;;;;;;;;;;;;;;;;; +[module/popup-utc] +type = custom/script +exec = ~/.local/bin/i3scripts/popup-calendar +interval = 5 +click-left = ~/.local/bin/i3scripts/popup-calendar --popup +click-right = ~/.local/bin/i3scripts/popup-calendar-local + +; Local Date +;;;;;;;;;;;;;;;;;;;;;;;;;; +[module/date] +type = internal/date +date = %%{F#aaa}%Y-%m-%d%%{F-} %%{F#fff}%H:%M%%{F-} +date-alt = %%{F#aaa}%A, %d %B %Y %%{F#fff}%H:%M%%{F#666}:%%{F#fba922}%S%%{F-} +click-right = exec notify-send hi + +; Weather +;;;;;;;;;;;;;;;;;;;;;;;;;; +[module/weather] +type = custom/script +exec = ~/.local/bin/i3scripts/weathermap +interval = 600 +;label-font = Font Awesome 5 Free Solid:size=40;0 + +; Type Speed +;;;;;;;;;;;;;;;;;;;;;;;;;; +[module/info-hackspeed] +type = custom/script +exec = ~/.local/bin/i3scripts/info-hackspeed +tail = true + +; Polybar Break Timer +[module/breaktimer] +type = custom/script +format-prefix = " " +;format-foreground = ${colors.verdeclaro} +exec = polybar-break-timer $HOME/.config/polybar/.env/break-timer +click-left = echo left >> $HOME/.config/polybar/.env/break-timer +click-middle = echo middle >> $HOME/.config/polybar/.env/break-timer +click-right = echo right >> $HOME/.config/polybar/.env/break-timer +scroll-up = echo scrollUp >> $HOME/.config/polybar/.env/break-timer +scroll-down = echo scrollDown >> $HOME/.config/polybar/.env/break-timer +tail = true + +; System Idle Time +;;;;;;;;;;;;;;;;;;;;;;;;;; +[module/info-idle] +type = custom/script +exec = ~/.local/bin/i3scripts/info-idle +tail = true + +; Disk Space +;;;;;;;;;;;;;;;;;;;;;;;;;; +[module/filesystem] +type = internal/fs +; Mountpoints to display +mount-0 = / +;mount-1 = /home +;mount-2 = /var +; Seconds to sleep between updates +; Default: 30 +interval = 10 +; Display fixed precision values +; Default: false +fixed-values = true + ;Available tags: + ; (default) + ; + ; + ; +format-mounted = +; Available tokens: +; %mountpoint% +; %type% +; %fsname% +; %percentage_free% +; %percentage_used% +; %total% +; %free% +; %used% +; Default: %mountpoint% %percentage_free%% +label-mounted = %mountpoint% %free% +; Spacing between entries +; Default: 2 +spacing = 4 + +; Network Status +;;;;;;;;;;;;;;;;;;;;;;;;;; +[module/network] +type = internal/network +interface = enp0s31f6 +; Available tags: +; (default) +; +format-connected = +; Available tags: +; (default) +format-disconnected = +; Available tags: +; (default) +; +; +format-packetloss = +; Default: %ifname% %local_ip% +label-connected =  %upspeed% /  %downspeed:9% 龍 %linkspeed% %local_ip% +label-connected-foreground =#00c24a +; Default: (none) +label-disconnected = not connected +label-disconnected-foreground = #d00 +; Default: (none) +;label-packetloss = %essid% +;label-packetloss-foreground = #eefafafa +; Only applies if is used +;ramp-signal-0 = 😱 +;ramp-signal-1 = 😠 +;ramp-signal-2 = 😒 +;ramp-signal-3 = 😊 +;ramp-signal-4 = 😃 +;ramp-signal-5 = 😈 +; Only applies if is used +;animation-packetloss-0 = ⚠ +;animation-packetloss-0-foreground = #ffa64c +;animation-packetloss-1 = 📶 +;animation-packetloss-1-foreground = #000000 +; Framerate in milliseconds +;animation-packetloss-framerate = 500 +; Seconds to sleep between updates +; Default: 1 +interval = 5.0 +; Test connectivity every Nth update +; A value of 0 disables the feature +; NOTE: Experimental (needs more testing) +; Default: 0 +;ping-interval = 3 +; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) +; Minimum output width of upload/download rate +; Default: 3 +udspeed-minwidth = 5 +; Accumulate values from all interfaces +; when querying for up/downspeed rate +; Default: false +accumulate-stats = true +; Consider an `UNKNOWN` interface state as up. +; Some devices like USB network adapters have +; an unknown state, even when they're running +; Default: false +unknown-as-up = true + +; Show Public IP +;;;;;;;;;;;;;;;;;;;;;;;;;; +[module/public-ip] +type = custom/script +exec = curl -s ifconfig.me +interval = 600 + +; CPU Temp +;;;;;;;;;;;;;;;;;;;;;;;;;; +[module/temp-cpu] +type = custom/script +; Seconds to sleep between updates +; Default: 1 +interval = 5.0 +; Full path of temperature sysfs path +; Use `sensors` to find preferred temperature source, then run +; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done +; to find path to desired file +; Default reverts to thermal zone setting +exec = cat /sys/class/thermal/thermal_zone2/temp | awk '{print ( ( ( (9/5) * $1) / 1000) + 32) "°F" }' +format =