From 1a84bee6aa464432bdb52f99af29d6836a84ab11 Mon Sep 17 00:00:00 2001 From: Joachim Nielandt Date: Mon, 13 Jul 2020 14:31:48 +0200 Subject: [PATCH] Started move to chezmoi managed .dotfiles. --- dot_Xresources | 60 + dot_config/.keep | 0 dot_config/dunst/.keep | 0 dot_config/dunst/dunstrc | 331 +++ dot_config/i3/.keep | 0 dot_config/i3/config | 489 +++++ dot_config/i3/executable_i3exit.sh | 78 + dot_config/i3/executable_screenshot.sh | 9 + dot_config/libinput-gestures.conf | 28 + dot_config/oh-my-zsh/.keep | 0 dot_config/oh-my-zsh/custom/.keep | 0 dot_config/oh-my-zsh/custom/01_variables.zsh | 4 + .../oh-my-zsh/custom/08_shell_settings.zsh | 2 + dot_config/oh-my-zsh/custom/09_alias.zsh | 15 + dot_config/oh-my-zsh/custom/themes/.keep | 0 dot_config/polybar/config | 604 ++++++ dot_config/polybar/executable_launch-multi.sh | 29 + dot_config/polybar/executable_launch.sh | 12 + .../polybar/polybar-scripts/CONTRIBUTING.md | 14 + dot_config/polybar/polybar-scripts/LICENSE | 24 + dot_config/polybar/polybar-scripts/README.md | 79 + dot_config/polybar/polybar-scripts/build.sh | 26 + .../polybar/polybar-scripts/dot_travis.yml | 13 + .../battery-combined-shell/README.md | 15 + .../battery-combined-shell.sh | 61 + .../battery-combined-tlp/README.md | 31 + .../battery-combined-tlp.sh | 5 + .../battery-combined-tlp/screenshots/1.png | Bin 0 -> 841 bytes .../battery-combined-udev/95-battery.rules | 4 + .../battery-combined-udev/README.md | 24 + .../battery-combined-udev.sh | 88 + .../battery-cyberpower/README.md | 25 + .../battery-cyberpower/battery-cyberpower.sh | 56 + .../inbox-imap-python/README.md | 20 + .../inbox-imap-python/inbox-imap-python.py | 9 + .../inbox-imap-python/screenshots/1.png | Bin 0 -> 542 bytes .../inbox-imap-shellnetrc/README.md | 27 + .../inbox-imap-shellnetrc/dot_netrc | 3 + .../inbox-imap-shellnetrc.sh | 12 + .../inbox-pop3-shellnetrc/README.md | 22 + .../inbox-pop3-shellnetrc/dot_netrc | 3 + .../inbox-pop3-shellnetrc.sh | 12 + .../polybar-scripts/inbox-reddit/README.md | 23 + .../inbox-reddit/inbox-reddit.sh | 15 + .../inbox-reddit/screenshots/1.png | Bin 0 -> 1553 bytes .../polybar-scripts/info-hackspeed/README.md | 33 + .../executable_info-hackspeed.sh | 61 + .../info-hackspeed/screenshots/1.png | Bin 0 -> 539 bytes .../polybar-scripts/info-kernel/README.md | 13 + .../polybar-scripts/info-pingrtt/README.md | 17 + .../info-pingrtt/info-pingrtt.sh | 19 + .../info-pingrtt/screenshots/1.png | Bin 0 -> 794 bytes .../info-pingrtt/screenshots/2.png | Bin 0 -> 878 bytes .../info-pingrtt/screenshots/3.png | Bin 0 -> 989 bytes .../info-projecthamster/README.md | 15 + .../info-projecthamster.sh | 9 + .../info-projecthamster/screenshots/1.png | Bin 0 -> 2921 bytes .../info-redshift-temp/README.md | 15 + .../info-redshift-temp/info-redshift-temp.sh | 15 + .../info-redshift-temp/screenshots/1.png | Bin 0 -> 589 bytes .../info-softwarecounter/README.md | 25 + .../info-softwarecounter.py | 145 ++ .../info-softwarecounter/screenshots/1.png | Bin 0 -> 8501 bytes .../info-ssh-sessions/README.md | 20 + .../info-ssh-sessions/info-ssh-sessions.sh | 10 + .../info-ssh-sessions/screenshots/1.png | Bin 0 -> 3050 bytes .../polybar-scripts/info-todotxt/README.md | 15 + .../info-todotxt/info-todotxt.sh | 16 + .../info-todotxt/screenshots/1.png | Bin 0 -> 994 bytes .../polybar-scripts/info-trash/README.md | 16 + .../polybar-scripts/info-trash/info-trash.sh | 13 + .../info-trash/screenshots/1.png | Bin 0 -> 540 bytes .../info-twitch-countdown/README.md | 37 + .../info-twitch-countdown.sh | 68 + .../info-twitch-countdown/screenshots/1.png | Bin 0 -> 3988 bytes .../info-twitch-countdown/screenshots/2.png | Bin 0 -> 3492 bytes .../polybar-scripts/info-wifionice/README.md | 20 + .../info-wifionice/info-wifionice.sh | 30 + .../info-wifionice/screenshots/1.png | Bin 0 -> 6963 bytes .../polybar-scripts/info-wmname/README.md | 21 + .../info-wmname/info-wmname.sh | 15 + .../polybar-scripts/info-xampp/README.md | 24 + .../polybar-scripts/info-xampp/info-xampp.sh | 21 + .../info-xampp/screenshots/1.png | Bin 0 -> 1048 bytes .../isactive-bluetooth/README.md | 13 + .../isactive-bluetooth/isactive-bluetooth.sh | 7 + .../isrunning-claudius/README.md | 16 + .../isrunning-claudius/isrunning-claudius.sh | 18 + .../isrunning-compton/README.md | 14 + .../isrunning-compton/isrunning-compton.sh | 18 + .../isrunning-dropbox/README.md | 14 + .../isrunning-dropbox/isrunning-dropbox.sh | 18 + .../isrunning-offlineimap/README.md | 14 + .../isrunning-offlineimap.sh | 18 + .../polybar-scripts/news-archlinux/README.md | 18 + .../news-archlinux/news-archlinux.py | 12 + .../notification-chess/README.md | 23 + .../notification-chess/notification-chess.sh | 10 + .../notification-chess/screenshots/1.png | Bin 0 -> 661 bytes .../notification-github/README.md | 24 + .../notification-github.sh | 11 + .../notification-mattermost/README.md | 24 + .../notification-mattermost.sh | 15 + .../openvpn-isrunning/README.md | 15 + .../openvpn-isrunning/isrunning-openvpn.sh | 7 + .../openvpn-isrunning/screenshots/1.png | Bin 0 -> 2280 bytes .../polybar-scripts/openvpn-status/README.md | 28 + .../executable_openvpn-status.sh | 3 + .../openvpn-status/screenshots/1.png | Bin 0 -> 1410 bytes .../openvpn-status/screenshots/2.png | Bin 0 -> 9915 bytes .../openweathermap-detailed/README.md | 46 + .../openweathermap-detailed.sh | 60 + .../openweathermap-detailed/screenshots/1.png | Bin 0 -> 1679 bytes .../openweathermap-forecast/README.md | 44 + .../openweathermap-forecast.sh | 71 + .../openweathermap-fullfeatured/README.md | 46 + .../openweathermap-fullfeatured.sh | 96 + .../screenshots/1.png | Bin 0 -> 2662 bytes .../openweathermap-simple/README.md | 46 + .../openweathermap-simple.sh | 59 + .../openweathermap-simple/screenshots/1.png | Bin 0 -> 1103 bytes .../polybar-scripts/player-cmus/README.md | 19 + .../player-cmus/player-cmus.sh | 16 + .../player-cmus/screenshots/1.png | Bin 0 -> 414 bytes .../polybar-scripts/player-moc/README.md | 16 + .../polybar-scripts/player-moc/player-moc.sh | 13 + .../player-mpris-simple/README.md | 23 + .../player-mpris-simple.sh | 11 + .../player-mpris-simple/screenshots/1.png | Bin 0 -> 1875 bytes .../player-mpris-tail/README.md | 159 ++ .../executable_player-mpris-tail.py | 406 ++++ .../player-mpris-tail/screenshots/1.png | Bin 0 -> 9199 bytes .../player-mpris-tail/screenshots/2.png | Bin 0 -> 6192 bytes .../polybar-scripts/popup-calendar/README.md | 40 + .../popup-calendar/popup-calendar.sh | 27 + .../popup-calendar/screenshots/1.png | Bin 0 -> 13447 bytes .../polybar-scripts/pulseaudio-rofi/README.md | 38 + .../pulseaudio-rofi/pulseaudio-rofi.sh | 125 ++ .../pulseaudio-rofi/screenshots/1.png | Bin 0 -> 1108 bytes .../pulseaudio-rofi/screenshots/2.png | Bin 0 -> 44380 bytes .../pulseaudio-simple/README.md | 18 + .../pulseaudio-simple/pulseaudio-simple.sh | 15 + .../polybar-scripts/pulseaudio-tail/README.md | 26 + .../pulseaudio-tail/pulseaudio-tail.sh | 58 + .../system-cpu-frequency/README.md | 18 + .../system-cpu-loadavg.sh | 3 + .../system-cpu-loadavg/README.md | 13 + .../system-cpu-loadavg/system-cpu-loadavg.sh | 3 + .../system-cpu-temppercore/README.md | 20 + .../system-cpu-temppercore/screenshots/1.png | Bin 0 -> 1766 bytes .../system-cpu-temppercore.sh | 3 + .../system-fan-speed/README.md | 19 + .../system-fan-speed/system-fan-speed.sh | 10 + .../system-gpu-intel/README.md | 28 + .../system-gpu-intel/system-gpu-intel.sh | 10 + .../system-nvidia-bbswitch/README.md | 21 + .../system-nvidia-bbswitch.sh | 7 + .../system-nvidia-smi/README.md | 26 + .../system-nvidia-smi/system-nvidia-smi.sh | 3 + .../system-uptime-pretty/README.md | 15 + .../system-uptime-pretty.sh | 3 + .../system-usb-mount/README.md | 25 + .../system-usb-mount/system-usb-mount.sh | 53 + .../system-usb-udev/95-usb.rule | 4 + .../polybar-scripts/system-usb-udev/README.md | 37 + .../system-usb-udev/screenshots/1.png | Bin 0 -> 1434 bytes .../system-usb-udev/screenshots/2.png | Bin 0 -> 1063 bytes .../system-usb-udev/system-usb-udev.sh | 91 + .../polybar-scripts/ticker-bcheur/README.md | 19 + .../ticker-bcheur/ticker-bcheur.sh | 6 + .../polybar-scripts/ticker-btceur/README.md | 21 + .../ticker-btceur/screenshots/1.png | Bin 0 -> 1396 bytes .../ticker-btceur/ticker-btceur.sh | 6 + .../polybar-scripts/ticker-etheur/README.md | 19 + .../ticker-etheur/ticker-etheur.sh | 6 + .../updates-arch-aur/README.md | 20 + .../updates-arch-aur/updates-arch-aur.sh | 13 + .../updates-arch-combined/README.md | 26 + .../updates-arch-combined/screenshots/1.png | Bin 0 -> 3039 bytes .../updates-arch-combined.sh | 19 + .../polybar-scripts/updates-arch/README.md | 18 + .../updates-arch/executable_updates-arch.sh | 11 + .../polybar-scripts/skeleton/README.md | 26 + .../skeleton/screenshots/1.png | Bin 0 -> 1714 bytes dot_config/qutebrowser/.keep | 0 dot_config/qutebrowser/autoconfig.yml | 10 + dot_config/qutebrowser/config.py | 1827 +++++++++++++++++ dot_zshrc | 118 ++ 188 files changed, 7360 insertions(+) create mode 100644 dot_Xresources create mode 100644 dot_config/.keep create mode 100644 dot_config/dunst/.keep create mode 100644 dot_config/dunst/dunstrc create mode 100644 dot_config/i3/.keep create mode 100644 dot_config/i3/config create mode 100644 dot_config/i3/executable_i3exit.sh create mode 100644 dot_config/i3/executable_screenshot.sh create mode 100644 dot_config/libinput-gestures.conf create mode 100644 dot_config/oh-my-zsh/.keep create mode 100644 dot_config/oh-my-zsh/custom/.keep create mode 100644 dot_config/oh-my-zsh/custom/01_variables.zsh create mode 100644 dot_config/oh-my-zsh/custom/08_shell_settings.zsh create mode 100644 dot_config/oh-my-zsh/custom/09_alias.zsh create mode 100644 dot_config/oh-my-zsh/custom/themes/.keep create mode 100644 dot_config/polybar/config create mode 100644 dot_config/polybar/executable_launch-multi.sh create mode 100644 dot_config/polybar/executable_launch.sh create mode 100644 dot_config/polybar/polybar-scripts/CONTRIBUTING.md create mode 100644 dot_config/polybar/polybar-scripts/LICENSE create mode 100644 dot_config/polybar/polybar-scripts/README.md create mode 100644 dot_config/polybar/polybar-scripts/build.sh create mode 100644 dot_config/polybar/polybar-scripts/dot_travis.yml create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/battery-combined-shell/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/battery-combined-shell/battery-combined-shell.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/battery-combined-tlp/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/battery-combined-tlp/battery-combined-tlp.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/battery-combined-tlp/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/battery-combined-udev/95-battery.rules create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/battery-combined-udev/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/battery-combined-udev/battery-combined-udev.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/battery-cyberpower/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/battery-cyberpower/battery-cyberpower.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/inbox-imap-python/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/inbox-imap-python/inbox-imap-python.py create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/inbox-imap-python/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/inbox-imap-shellnetrc/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/inbox-imap-shellnetrc/dot_netrc create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/inbox-imap-shellnetrc/inbox-imap-shellnetrc.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/inbox-pop3-shellnetrc/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/inbox-pop3-shellnetrc/dot_netrc create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/inbox-pop3-shellnetrc/inbox-pop3-shellnetrc.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/inbox-reddit/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/inbox-reddit/inbox-reddit.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/inbox-reddit/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-hackspeed/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-hackspeed/executable_info-hackspeed.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-hackspeed/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-kernel/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-pingrtt/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-pingrtt/info-pingrtt.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-pingrtt/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-pingrtt/screenshots/2.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-pingrtt/screenshots/3.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-projecthamster/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-projecthamster/info-projecthamster.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-projecthamster/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-redshift-temp/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-redshift-temp/info-redshift-temp.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-redshift-temp/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-softwarecounter/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-softwarecounter/info-softwarecounter.py create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-softwarecounter/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-ssh-sessions/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-ssh-sessions/info-ssh-sessions.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-ssh-sessions/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-todotxt/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-todotxt/info-todotxt.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-todotxt/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-trash/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-trash/info-trash.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-trash/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-twitch-countdown/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-twitch-countdown/info-twitch-countdown.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-twitch-countdown/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-twitch-countdown/screenshots/2.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-wifionice/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-wifionice/info-wifionice.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-wifionice/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-wmname/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-wmname/info-wmname.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-xampp/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-xampp/info-xampp.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/info-xampp/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/isactive-bluetooth/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/isactive-bluetooth/isactive-bluetooth.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/isrunning-claudius/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/isrunning-claudius/isrunning-claudius.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/isrunning-compton/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/isrunning-compton/isrunning-compton.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/isrunning-dropbox/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/isrunning-dropbox/isrunning-dropbox.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/isrunning-offlineimap/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/isrunning-offlineimap/isrunning-offlineimap.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/news-archlinux/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/news-archlinux/news-archlinux.py create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/notification-chess/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/notification-chess/notification-chess.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/notification-chess/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/notification-github/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/notification-github/notification-github.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/notification-mattermost/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/notification-mattermost/notification-mattermost.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openvpn-isrunning/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openvpn-isrunning/isrunning-openvpn.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openvpn-isrunning/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openvpn-status/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openvpn-status/executable_openvpn-status.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openvpn-status/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openvpn-status/screenshots/2.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openweathermap-detailed/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openweathermap-detailed/openweathermap-detailed.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openweathermap-detailed/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openweathermap-forecast/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openweathermap-forecast/openweathermap-forecast.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openweathermap-fullfeatured/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openweathermap-fullfeatured/openweathermap-fullfeatured.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openweathermap-fullfeatured/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openweathermap-simple/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openweathermap-simple/openweathermap-simple.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/openweathermap-simple/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/player-cmus/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/player-cmus/player-cmus.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/player-cmus/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/player-moc/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/player-moc/player-moc.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/player-mpris-simple/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/player-mpris-simple/player-mpris-simple.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/player-mpris-simple/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/player-mpris-tail/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/player-mpris-tail/executable_player-mpris-tail.py create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/player-mpris-tail/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/player-mpris-tail/screenshots/2.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/popup-calendar/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/popup-calendar/popup-calendar.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/popup-calendar/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/pulseaudio-rofi/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/pulseaudio-rofi/pulseaudio-rofi.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/pulseaudio-rofi/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/pulseaudio-rofi/screenshots/2.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/pulseaudio-simple/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/pulseaudio-simple/pulseaudio-simple.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/pulseaudio-tail/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/pulseaudio-tail/pulseaudio-tail.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-cpu-frequency/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-cpu-frequency/system-cpu-loadavg.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-cpu-loadavg/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-cpu-loadavg/system-cpu-loadavg.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-cpu-temppercore/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-cpu-temppercore/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-cpu-temppercore/system-cpu-temppercore.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-fan-speed/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-fan-speed/system-fan-speed.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-gpu-intel/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-gpu-intel/system-gpu-intel.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-nvidia-bbswitch/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-nvidia-bbswitch/system-nvidia-bbswitch.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-nvidia-smi/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-nvidia-smi/system-nvidia-smi.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-uptime-pretty/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-uptime-pretty/system-uptime-pretty.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-usb-mount/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-usb-mount/system-usb-mount.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-usb-udev/95-usb.rule create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-usb-udev/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-usb-udev/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-usb-udev/screenshots/2.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/system-usb-udev/system-usb-udev.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/ticker-bcheur/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/ticker-bcheur/ticker-bcheur.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/ticker-btceur/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/ticker-btceur/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/ticker-btceur/ticker-btceur.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/ticker-etheur/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/ticker-etheur/ticker-etheur.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/updates-arch-aur/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/updates-arch-aur/updates-arch-aur.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/updates-arch-combined/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/updates-arch-combined/screenshots/1.png create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/updates-arch-combined/updates-arch-combined.sh create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/updates-arch/README.md create mode 100644 dot_config/polybar/polybar-scripts/polybar-scripts/updates-arch/executable_updates-arch.sh create mode 100644 dot_config/polybar/polybar-scripts/skeleton/README.md create mode 100644 dot_config/polybar/polybar-scripts/skeleton/screenshots/1.png create mode 100644 dot_config/qutebrowser/.keep create mode 100644 dot_config/qutebrowser/autoconfig.yml create mode 100644 dot_config/qutebrowser/config.py create mode 100644 dot_zshrc diff --git a/dot_Xresources b/dot_Xresources new file mode 100644 index 0000000..1a479ce --- /dev/null +++ b/dot_Xresources @@ -0,0 +1,60 @@ +! +! URxvt settings +! +URxvt.transparent: true +URxvt.shading:20 +! Included this so you know how to make your foreground not match the color of your background +URxvt.foreground: #eeeeee +URxvt*background: #1d2021 +URxvt*scrollBar: false +URxvt*scrollstyle: plain +URxvt.internalBorder: 8 +URxvt*saveLines: 65500 +! starts as a login shell, prepending - to argv[0] of the shell. +URxvt*loginShell: false +!URxvt*termName: screen-256color +URxvt.font: xft:Fura Code Nerd Font Mono:size=12 +URxvt.boldfont: xft:Fura Code Nerd Font Mono:bold:size=12 + +! Give us a nice cursor then +Xcursor.theme: Breeze +Xcursor.size: 16 + +! ----------------------------------------------------------------------------- +! 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 +*backgroundhard: #1d2021 +*background: #282828 +! soft contrast: *background: #32302f +*backgroundsoft: #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/dot_config/.keep b/dot_config/.keep new file mode 100644 index 0000000..e69de29 diff --git a/dot_config/dunst/.keep b/dot_config/dunst/.keep new file mode 100644 index 0000000..e69de29 diff --git a/dot_config/dunst/dunstrc b/dot_config/dunst/dunstrc new file mode 100644 index 0000000..42936e1 --- /dev/null +++ b/dot_config/dunst/dunstrc @@ -0,0 +1,331 @@ +[global] + ### Display ### + + # Which monitor should the notifications be displayed on. + monitor = 0 + + # Display notification on focused monitor. Possible modes are: + # mouse: follow mouse pointer + # keyboard: follow window with keyboard focus + # none: don't follow anything + # + # "keyboard" needs a window manager that exports the + # _NET_ACTIVE_WINDOW property. + # This should be the case for almost all modern window managers. + # + # If this option is set to mouse or keyboard, the monitor option + # will be ignored. + follow = mouse + + # The geometry of the window: + # [{width}]x{height}[+/-{x}+/-{y}] + # The geometry of the message window. + # The height is measured in number of notifications everything else + # in pixels. If the width is omitted but the height is given + # ("-geometry x2"), the message window expands over the whole screen + # (dmenu-like). If width is 0, the window expands to the longest + # message displayed. A positive x is measured from the left, a + # negative from the right side of the screen. Y is measured from + # the top and down respectively. + # The width can be negative. In this case the actual width is the + # screen width minus the width defined in within the geometry option. + geometry = "300x5-0+54" + + # Show how many messages are currently hidden (because of geometry). + indicate_hidden = yes + + # Shrink window if it's smaller than the width. Will be ignored if + # width is 0. + shrink = no + + # The transparency of the window. Range: [0; 100]. + # This option will only work if a compositing window manager is + # present (e.g. xcompmgr, compiz, etc.). + transparency = 0 + + # The height of the entire notification. If the height is smaller + # than the font height and padding combined, it will be raised + # to the font height and padding. + notification_height = 0 + + # Draw a line of "separator_height" pixel height between two + # notifications. + # Set to 0 to disable. + separator_height = 1 + + # Padding between text and separator. + padding = 8 + + # Horizontal padding. + horizontal_padding = 8 + + # Defines width in pixels of frame around the notification window. + # Set to 0 to disable. + frame_width = 1 + + # Defines color of the frame around the notification window. + #frame_color = "#aaaaaa" + frame_color = "#458588" + + # Define a color for the separator. + # possible values are: + # * auto: dunst tries to find a color fitting to the background; + # * foreground: use the same color as the foreground; + # * frame: use the same color as the frame; + # * anything else will be interpreted as a X color. + #separator_color = frame + separator_color = "#1d2021" + + # Sort messages by urgency. + sort = yes + + # Don't remove messages, if the user is idle (no mouse or keyboard input) + # for longer than idle_threshold seconds. + # Set to 0 to disable. + # Transient notifications ignore this setting. + idle_threshold = 120 + + ### Text ### + + #font = Monospace 8 + font = xft:FuraCode Nerd Font 8 + + # The spacing between lines. If the height is smaller than the + # font height, it will get raised to the font height. + line_height = 0 + + # Possible values are: + # full: Allow a small subset of html markup in notifications: + # bold + # italic + # strikethrough + # underline + # + # For a complete reference see + # . + # + # strip: This setting is provided for compatibility with some broken + # clients that send markup even though it's not enabled on the + # server. Dunst will try to strip the markup but the parsing is + # simplistic so using this option outside of matching rules for + # specific applications *IS GREATLY DISCOURAGED*. + # + # no: Disable markup parsing, incoming notifications will be treated as + # plain text. Dunst will not advertise that it has the body-markup + # capability if this is set as a global setting. + # + # It's important to note that markup inside the format option will be parsed + # regardless of what this is set to. + markup = no + + # The format of the message. Possible variables are: + # %a appname + # %s summary + # %b body + # %i iconname (including its path) + # %I iconname (without its path) + # %p progress value if set ([ 0%] to [100%]) or nothing + # %n progress value if set without any extra characters + # %% Literal % + # Markup is allowed + format = "%s\n%b" + + # Alignment of message text. + # Possible values are "left", "center" and "right". + alignment = left + + # Show age of message if message is older than show_age_threshold + # seconds. + # Set to -1 to disable. + show_age_threshold = 60 + + # Split notifications into multiple lines if they don't fit into + # geometry. + word_wrap = yes + + # When word_wrap is set to no, specify where to ellipsize long lines. + # Possible values are "start", "middle" and "end". + ellipsize = middle + + # Ignore newlines '\n' in notifications. + ignore_newline = no + + # Merge multiple notifications with the same content + stack_duplicates = true + + # Hide the count of merged notifications with the same content + hide_duplicate_count = false + + # Display indicators for URLs (U) and actions (A). + show_indicators = yes + + ### Icons ### + + # Align icons left/right/off + icon_position = left + + # Scale larger icons down to this size, set to 0 to disable + max_icon_size = 32 + + # Paths to default icons. + #icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ + icon_path = /usr/share/icons/Adwaita/16x16/status/:/usr/share/icons/Adwaita/16x16/devices/:/usr/share/icons/hicolor/22x22/apps/ + + ### History ### + + # Should a notification popped up from history be sticky or timeout + # as if it would normally do. + sticky_history = yes + + # Maximum amount of notifications kept in history + history_length = 20 + + ### Misc/Advanced ### + + # dmenu path. + dmenu = /usr/bin/dmenu -p dunst: + + # Browser for opening urls in context menu. + browser = /usr/bin/firefox -new-tab + + # Always run rule-defined scripts, even if the notification is suppressed + always_run_script = true + + # Define the title of the windows spawned by dunst + title = Dunst + + # Define the class of the windows spawned by dunst + class = Dunst + + # Print a notification on startup. + # This is mainly for error detection, since dbus (re-)starts dunst + # automatically after a crash. + startup_notification = false + + ### Legacy + + # Use the Xinerama extension instead of RandR for multi-monitor support. + # This setting is provided for compatibility with older nVidia drivers that + # do not support RandR and using it on systems that support RandR is highly + # discouraged. + # + # By enabling this setting dunst will not be able to detect when a monitor + # is connected or disconnected which might break follow mode if the screen + # layout changes. + force_xinerama = false + +# Experimental features that may or may not work correctly. Do not expect them +# to have a consistent behaviour across releases. +[experimental] + # Calculate the dpi to use on a per-monitor basis. + # If this setting is enabled the Xft.dpi value will be ignored and instead + # dunst will attempt to calculate an appropriate dpi value for each monitor + # using the resolution and physical size. This might be useful in setups + # where there are multiple screens with very different dpi values. + per_monitor_dpi = false + +[shortcuts] + + # Shortcuts are specified as [modifier+][modifier+]...key + # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2", + # "mod3" and "mod4" (windows-key). + # Xev might be helpful to find names for keys. + + # Close notification. + close = ctrl+space + + # Close all notifications. + close_all = ctrl+shift+space + + # Redisplay last message(s). + # On the US keyboard layout "grave" is normally above TAB and left + # of "1". Make sure this key actually exists on your keyboard layout, + # e.g. check output of 'xmodmap -pke' + history = ctrl+grave + + # Context menu. + context = ctrl+shift+period + +[urgency_low] + # IMPORTANT: colors have to be defined in quotation marks. + # Otherwise the "#" and following would be interpreted as a comment. + background = "#32302f" + foreground = "#ebdbb2" + timeout = 10 + # Icon for notifications with low urgency, uncomment to enable + #icon = /path/to/icon + +[urgency_normal] + background = "#32302f" + foreground = "#ebdbb2" + frame_color = "#b8bb26" + timeout = 10 + # Icon for notifications with normal urgency, uncomment to enable + #icon = /path/to/icon + +[urgency_critical] + background = "#32302f" + foreground = "#ebdbb2" + frame_color = "#fb4934" + timeout = 0 + # Icon for notifications with critical urgency, uncomment to enable + #icon = /path/to/icon + +# Every section that isn't one of the above is interpreted as a rules to +# override settings for certain messages. +# Messages can be matched by "appname", "summary", "body", "icon", "category", +# "msg_urgency" and you can override the "timeout", "urgency", "foreground", +# "background", "new_icon" and "format". +# Shell-like globbing will get expanded. +# +# SCRIPTING +# You can specify a script that gets run when the rule matches by +# setting the "script" option. +# The script will be called as follows: +# script appname summary body icon urgency +# where urgency can be "LOW", "NORMAL" or "CRITICAL". +# +# NOTE: if you don't want a notification to be displayed, set the format +# to "". +# NOTE: It might be helpful to run dunst -print in a terminal in order +# to find fitting options for rules. + +#[espeak] +# summary = "*" +# script = dunst_espeak.sh + +#[script-test] +# summary = "*script*" +# script = dunst_test.sh + +#[ignore] +# # This notification will not be displayed +# summary = "foobar" +# format = "" + +#[history-ignore] +# # This notification will not be saved in history +# summary = "foobar" +# history_ignore = yes + +#[signed_on] +# appname = Pidgin +# summary = "*signed on*" +# urgency = low +# +#[signed_off] +# appname = Pidgin +# summary = *signed off* +# urgency = low +# +#[says] +# appname = Pidgin +# summary = *says* +# urgency = critical +# +#[twitter] +# appname = Pidgin +# summary = *twitter.com* +# urgency = normal +# +# vim: ft=cfg diff --git a/dot_config/i3/.keep b/dot_config/i3/.keep new file mode 100644 index 0000000..e69de29 diff --git a/dot_config/i3/config b/dot_config/i3/config new file mode 100644 index 0000000..8d4cb8d --- /dev/null +++ b/dot_config/i3/config @@ -0,0 +1,489 @@ +# Please see https://i3wm.org/docs/userguide.html for a complete reference! + +# this sets the mod button -> windows key +set $mod Mod4 + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +# font pango:monospace 8 + +# overrides title bars -> makes sure i3-gaps can do its thing +for_window [class="^.*"] border pixel 2 + +# for jetbrains windows... focus on dialogs! +for_window [class="^jetbrains-.+"][window_type=dialog] focus + +# fix citrix windows +for_window [class="Wfica_Seamless"] floating enable + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +# Using the prefix of workspaces in order to be able to define ordering for special workspaces. +set $ws1 "1:1" +set $ws2 "2:2" +set $ws3 "3:3" +set $ws4 "4:4" +set $ws5 "5:5" +set $ws6 "6:6" +set $ws7 "7:7" +set $ws8 "8:8" +set $ws9 "9:9" +set $ws10 "10:10" +set $wsleft "11:" +set $wsright "12:" + +# automatically assign programs to workspace +# using workspace names here, otherwise doesn't work as expected +# assign [class="Chromium"] $ws1 +assign [class="Thunderbird"] $ws2 +assign [class="Slack"] $ws9 +assign [class="Mattermost"] $ws9 +assign [class="Hamsket"] $ws9 +assign [class="Wfica_Seamless"] $ws10 +#assign [class="jetbrains-idea"] 7 +#assign [class="jetbrains-webstorm"] 8 +#assign [class="jetbrains-datagrip"] 9 + +# i3-gaps +gaps inner 10 +gaps outer 5 + +# Disallow endless looping of focus: extreme right is extreme right, don't flip to extreme left whenever you want... +focus_wrapping no + +# 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 +# font xft:Fantasque Sans Mono 9 +font xft:FuraCode Nerd Font 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 + +# start a terminal +# bindsym $mod+Return exec i3-sensible-terminal +bindsym $mod+Shift+Return exec xfce4-terminal +bindsym $mod+Return exec urxvt + +# screenshotting +# Desktop screenshot +#bindsym --release Print exec "scrot ~/Bilder/Bildschirmfotos/$(date --iso-8601='seconds').png -m -e 'xclip -selection c -t image/png < $f'" +# Choose window +#bindsym --release Mod1+Sys_Req exec "import -window `xwininfo | awk '/.*Window id:.*/ {print $4}'` ~/Bilder/Bildschirmfotos/$(date --iso-8601='seconds').png" +# Selection screenshot +#bindsym --release Shift+Print exec "scrot ~/Bilder/Bildschirmfotos/$(date --iso-8601='seconds').png -s -e 'xclip -selection c -t image/png < $f'" +bindsym --release Print exec /home/jnieland/.config/i3/screenshot.sh + +# kill focused window +bindsym $mod+Shift+q kill + +# start dmenu (a program launcher) +# bindsym $mod+d exec dmenu_run +bindsym $mod+d exec ~/.config/rofi/runrofi.sh +# this uses the output of greenclip (see here https://wiki.archlinux.org/index.php/Greenclip) to show clipboard history in rofi +bindsym $mod+c exec rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' + +# do a nice menu with mode +# lock / logout / sleep / hibernate / restart / poweroff +set $mode_system  l e s鈴 h rﰇ וּsﮤ +mode "$mode_system" { + bindsym l exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh lock, mode "default" + bindsym e exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh logout, mode "default" + bindsym s exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh suspend, mode "default" + bindsym h exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh hibernate, mode "default" + bindsym r exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh reboot, mode "default" + bindsym Shift+s exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh shutdown, mode "default" + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} +bindsym $mod+Pause mode "$mode_system" +bindsym $mod+F12 mode "$mode_system" + +# do a nice menu for redshift values +set $mode_redshift Redshift <2,3,4,5,6,7,8>k +mode "$mode_redshift" { + bindsym 2 exec --no-startup-id redshift -P -O 2000 + bindsym 3 exec --no-startup-id redshift -P -O 3000 + bindsym 4 exec --no-startup-id redshift -P -O 4000 + bindsym 5 exec --no-startup-id redshift -P -O 5000 + bindsym 6 exec --no-startup-id redshift -P -O 6000 + bindsym 7 exec --no-startup-id redshift -P -O 7000 + bindsym 8 exec --no-startup-id redshift -P -O 8000 + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} +bindsym $mod+F9 mode "$mode_redshift" + +# do a nice menu for keyboard layouts +set $mode_xkbmap Layout (a) us, (b) us-intl (c) us-altgr (d) gb (e) gb-intl (f) dvorak +mode "$mode_xkbmap" { + bindsym a exec --no-startup-id setxkbmap us, mode "default" + bindsym b exec --no-startup-id setxkbmap us intl, mode "default" + bindsym c exec --no-startup-id setxkbmap us altgr-intl, mode "default" + bindsym d exec --no-startup-id setxkbmap gb, mode "default" + bindsym e exec --no-startup-id setxkbmap gb intl, mode "default" + bindsym f exec --no-startup-id setxkbmap dvorak, mode "default" + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} +bindsym $mod+Ctrl+k mode "$mode_xkbmap" + +# this is a menu dedicated to audio stuff +# some nice symbols to try here: 0|    論b籠i錄  +set $mode_audio    - + 0 y +mode "$mode_audio" { + # Pulse Audio controls + # Increase sound volume + bindsym plus exec --no-startup-id pactl set-sink-volume 0 +5% + # Decrease sound volume + bindsym minus exec --no-startup-id pactl set-sink-volume 0 -5% + # Mute sound + bindsym 0 exec --no-startup-id pactl set-sink-mute 0 toggle + + # Start mps-youtube + bindsym y exec --no-startup-id urxvt -e mpsyt, mode "default" + + # Media player controls + # Toggle pause/play + bindsym space exec playerctl play-pause + #bindsym XF86AudioPause exec playerctl pause + #bindsym XF86AudioNext exec playerctl next + #bindsym XF86AudioPrev exec playerctl previous + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} +bindsym $mod+F11 mode "$mode_audio" + +# do a nice menu for custom launches +set $mode_launch  adefault start-up bnoise-fix cdual dhorizontal etearing +mode "$mode_launch" { + # These are all the default programs launching at startup. + bindsym a exec hamsket, exec thunderbird, mode "default" + # This fixes audio noise + bindsym b exec sudo hda-verb /dev/snd/hwC*D0 0x1d SET_PIN_WIDGET_CONTROL 0x0, mode "default" + # This bypasses weird xrandr bug, resets to single display, then goes back to triple monitor setup (use autorandr profile here, needs to be set up in advance) + #bindsym c exec xrandr --output eDP1 --mode 2560x1440, exec autorandr triple, mode "default" + bindsym c exec autorandr dual2k, mode "default" + + bindsym d exec autorandr horizontal, mode "default" + bindsym e exec nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }" + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} +bindsym $mod+F10 mode "$mode_launch" + +# 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 + +# these are shortcuts for programs +bindsym $mod+Ctrl+t exec urxvt +bindsym $mod+Ctrl+e exec thunar + +# change focus +bindsym $mod+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l 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+h move left +bindsym $mod+Shift+j move down +bindsym $mod+Shift+k move up +bindsym $mod+Shift+l 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 + +# move workspace to left and right monitors +bindsym $mod+Shift+bracketleft move workspace to output left +bindsym $mod+Shift+bracketright move workspace to output right + +# explicit bindings for arandr's setups: might not need these anymore... using autorandr now +# bindsym $mod+Shift+Ctrl+1 exec /home/jnieland/.screenlayout/laptop-only.sh +# bindsym $mod+Shift+Ctrl+2 exec /home/jnieland/.screenlayout/work-desk.sh + + +# split in horizontal orientation +bindsym $mod+m split h + +# split in vertical orientation +bindsym $mod+n 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+i focus parent + +# do some gaps magic: win+shift+g +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" +} + + +# focus the child container +bindsym $mod+u focus child + + +# 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 +bindsym $mod+comma workspace $wsleft +bindsym $mod+period workspace $wsright + +# Scratchpad +bindsym $mod+Shift+BackSpace move scratchpad +bindsym $mod+BackSpace scratchpad show + +# generic switch +#bindcode 49+34 workspace $ws9 +#bindsym $mod+grave workspace $ws9 +#bindsym $mod+shift+grave workspace $ws9 +# check this out: https://unix.stackexchange.com/questions/338228/i3wm-more-than-10-workspaces-with-double-modifier-key#339985 +bindsym $mod+grave exec i3-input -F 'workspace %s' -P 'go to workspace: ' +bindsym $mod+shift+grave exec i3-input -F 'move container to workspace %s' -P 'move to workspace: ' + +# 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 +bindsym $mod+Shift+comma move container to workspace $wsleft +bindsym $mod+Shift+period move container to workspace $wsright + + +# reload the configuration file +bindsym $mod+Shift+c exec "i3-msg reload && notify-send ' i3' 'Reloaded config.' -u low" +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +#bindsym $mod+Shift+r exec "i3-msg 'restart' && sleep 3 && notify-send ' i3' 'Restarted.' -u low" +# 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'" + +# 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 h resize shrink width 10 px or 10 ppt + bindsym j resize grow height 10 px or 10 ppt + bindsym k resize shrink height 10 px or 10 ppt + bindsym l 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" + +# Edit config files +bindsym XF86Tools exec --no-startup-id urxvt -e vim /home/jnieland/.config/i3/config + +# Pulse Audio controls +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound + +bindsym $mod+XF86AudioPlay exec --no-startup-id urxvt -e mpsyt # start terminal youtube player +#bindsym $mod+F11 exec --no-startup-id urxvt -e mpsyt # start terminal youtube player + +# Media player controls +bindsym XF86AudioPlay exec playerctl play-pause +#bindsym XF86AudioPause exec playerctl pause +bindsym XF86AudioNext exec playerctl next +bindsym XF86AudioPrev exec playerctl previous + +# Screen brightness keys +# (This should work for both acpilight or xbacklight.) +bindsym XF86MonBrightnessUp exec xbacklight -inc 20 +bindsym XF86MonBrightnessDown exec xbacklight -dec 20 + +# start multi touch support +exec --no-startup-id libinput-gestures-setup start + +# start polybar +exec_always --no-startup-id ~/.config/polybar/launch-multi.sh + +# start the network manager applet +exec --no-startup-id nm-applet + +# start the xfce4-power-manager -> helping us do lid / laptop things +exec --no-startup-id xfce4-power-manager + +# load the wallpaper +exec_always --no-startup-id sh ~/.fehbg + +# start compton: compositor that allows, for example, transparency +exec --no-startup-id compton + +# start greenclip, this somehow fails to start at launch (sometimes?) +exec --no-startup-id systemctl --user start greenclip + + +# reload the walpaper / color configuratin using pywal +# exec --no-startup-id wal -R -q +# change the wallpaper exec_always feh --bg-scale ~/Documents/private/img/mars-wallpaper-23.jpg + +# GAPS i3-gaps specific things... +# smart gaps: only one window? no gaps! +smart_gaps on +# this removes borders when there's no gaps, nice! +# smart_borders on|no_gaps +smart_borders no_gaps + +# Current color set +set_from_resource $color0 i3wm.color0 #000000 +set_from_resource $color1 i3wm.color1 #000000 +set_from_resource $color2 i3wm.color2 #000000 +set_from_resource $color3 i3wm.color3 #000000 +set_from_resource $color4 i3wm.color4 #000000 +set_from_resource $color5 i3wm.color5 #000000 +set_from_resource $color6 i3wm.color6 #000000 +set_from_resource $color7 i3wm.color7 #000000 +set_from_resource $color8 i3wm.color8 #000000 +set_from_resource $color9 i3wm.color9 #000000 +set_from_resource $color10 i3wm.color10 #000000 +set_from_resource $color11 i3wm.color11 #000000 +set_from_resource $color12 i3wm.color12 #000000 +set_from_resource $color13 i3wm.color13 #000000 +set_from_resource $color14 i3wm.color14 #000000 +set_from_resource $color15 i3wm.color15 #000000 +set_from_resource $color66 i3wm.color66 #000000 + +set_from_resource $gruv_black i3wm.color0 #000000 +set_from_resource $gruv_darkgrey i3wm.color8 #000000 +set_from_resource $gruv_red i3wm.color9 #000000 +set_from_resource $gruv_darkred i3wm.color1 #000000 +set_from_resource $gruv_magenta i3wm.color13 #000000 +set_from_resource $gruv_darkmagenta i3wm.color5 #000000 +set_from_resource $gruv_cyan i3wm.color14 #000000 +set_from_resource $gruv_darkcyan i3wm.color6 #000000 +set_from_resource $gruv_yellow i3wm.color11 #000000 +set_from_resource $gruv_darkyellow i3wm.color3 #000000 +set_from_resource $gruv_lightgrey i3wm.color7 #000000 +set_from_resource $gruv_white i3wm.color15 #000000 +set_from_resource $gruv_foreground i3wm.foreground #000000 +set_from_resource $gruv_background i3wm.background #000000 +set_from_resource $gruv_green i3wm.color10 #000000 +set_from_resource $gruv_darkgreen i3wm.color2 #000000 + +# window color class [border|backgr.|text|indicator|child_border] +client.focused $gruv_green $gruv_background $gruv_foreground #FFFFFF $gruv_yellow +client.focused_inactive #333333 $gruv_background $gruv_foreground #484e50 $gruv_darkyellow +client.unfocused $gruv_background $gruv_background $ufg $indicator $gruv_lightgrey +client.urgent $bg $bg $fg $indicator $gruv_red +client.placeholder $bg $bg $fg $indicator $bg +client.background $gruv_background + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +# +# bar { +# status_command i3status +# +# colors { +# background $gruv_background +# statusline $gruv_darkred +# separator #666666 +# +# focused_workspace $gruv_yellow $gruv_green $gruv_foreground +# active_workspace #333333 $gruv_darkgreen $gruv_foreground +# inactive_workspace #333333 $gruv_darkgreen $gruv_foreground +# urgent_workspace $gruv_red $gruv_darkgreen $gruv_foreground +# binding_mode #2f343a #900000 #ffffff +# } +# } diff --git a/dot_config/i3/executable_i3exit.sh b/dot_config/i3/executable_i3exit.sh new file mode 100644 index 0000000..53a23a0 --- /dev/null +++ b/dot_config/i3/executable_i3exit.sh @@ -0,0 +1,78 @@ +#!/bin/bash +# this script can lock / restart / shutdown / ... + +col11="$(xrdb -query | grep '*color11' | cut -f 2)FF" +col10="$(xrdb -query | grep '*color10' | cut -f 2)FF" +# red +col9="$(xrdb -query | grep '*color9' | cut -f 2)FF" +col8="$(xrdb -query | grep '*color8' | cut -f 2)FF" +col7="$(xrdb -query | grep '*color7' | cut -f 2)FF" +col6="$(xrdb -query | grep '*color6' | cut -f 2)FF" +col5="$(xrdb -query | grep '*color5' | cut -f 2)FF" +col4="$(xrdb -query | grep '*color4' | cut -f 2)FF" +col3="$(xrdb -query | grep '*color3' | cut -f 2)FF" +col2="$(xrdb -query | grep '*color2' | cut -f 2)FF" +# darkred +col1="$(xrdb -query | grep '*color1' | cut -f 2)FF" +foreground="$(xrdb -query | grep -E '^.foreground:' | cut -f 2)FF" +background="$(xrdb -query | grep -E '^.background:' | cut -f 2)FF" + +echo "{$background}" + + +lock() { + # --screen 1 + # --keylayout 2 +i3lock -i /home/jnieland/pictures/great-wall-namib.jpg --blur 5 --clock --indicator \ + --insidevercolor=$background \ + --ringvercolor=$col4 \ + \ + --insidewrongcolor=$background \ + --ringwrongcolor=$col9 \ + \ + --insidecolor=$background \ + --ringcolor=$col2 \ + --linecolor=$background \ + --separatorcolor=$col11 \ + \ + --verifcolor=$col4 \ + --wrongcolor=$col4 \ + --timecolor=$col4 \ + --datecolor=$col4 \ + --layoutcolor=$col4 \ + --keyhlcolor=$col11 \ + --bshlcolor=$col9 \ + \ + --blur 5 \ + --clock \ + --indicator \ + --timestr="%H:%M:%S" \ + --datestr="%A, %m %Y" \ + +} + +case "$1" in + lock) + lock + ;; + logout) + i3-msg exit + ;; + suspend) + lock && systemctl suspend + ;; + hibernate) + lock && systemctl hibernate + ;; + reboot) + systemctl reboot + ;; + shutdown) + systemctl poweroff + ;; + *) + echo "Usage: $0 {lock|logout|suspend|hibernate|reboot|shutdown}" + exit 2 +esac + +exit 0 diff --git a/dot_config/i3/executable_screenshot.sh b/dot_config/i3/executable_screenshot.sh new file mode 100644 index 0000000..a482170 --- /dev/null +++ b/dot_config/i3/executable_screenshot.sh @@ -0,0 +1,9 @@ +#!/bin/bash +# the screenshot will be saved here +TARGETDIR=/home/jnieland/pictures/screenshots +# make a screenshot filename +TARGETFILE=screenshot.$(date '+%Y.%m.%d.%H.%M.%S').png +# start the process +notify-send ' Screenshot' 'Select area...' -u normal +scrot -s $TARGETDIR/$TARGETFILE -d 1 -e 'notify-send -i '$TARGETDIR/$TARGETFILE' "Screenshot" "Created file: "'$TARGETDIR/$TARGETFILE' && xclip -selection clipboard -target image/png -i '$TARGETDIR/$TARGETFILE + diff --git a/dot_config/libinput-gestures.conf b/dot_config/libinput-gestures.conf new file mode 100644 index 0000000..0e70b92 --- /dev/null +++ b/dot_config/libinput-gestures.conf @@ -0,0 +1,28 @@ +# Generated by Gestures 0.2.2 --> https://gitlab.com/cunidev/gestures +# Manual editing might result in data loss! + + +# Invalid lines + +# Swipe threshold (0-100) +swipe_threshold 0 + +# Unsupported lines + +# Gestures +gesture swipe right 4 _internal ws_up +gesture swipe left 4 _internal ws_down +gesture swipe right 3 xdotool key alt+Right +gesture swipe left 3 xdotool key alt+Left +#gesture pinch in 4 xdotool key super+s +#gesture pinch out 4 xdotool key super+e + +# Special stuff +gesture swipe left_down 4 xdotool key super+comma +gesture swipe right_down 4 xdotool key super+period +gesture swipe left_up 4 xdotool key super+Shift+comma +gesture swipe right_up 4 xdotool key super+Shift+period + +gesture pinch clockwise 2 notify-send 'Pinch 2 clockwise.' +gesture pinch anticlockwise 2 notify-send 'Pinch 2 anticlockwise.' + diff --git a/dot_config/oh-my-zsh/.keep b/dot_config/oh-my-zsh/.keep new file mode 100644 index 0000000..e69de29 diff --git a/dot_config/oh-my-zsh/custom/.keep b/dot_config/oh-my-zsh/custom/.keep new file mode 100644 index 0000000..e69de29 diff --git a/dot_config/oh-my-zsh/custom/01_variables.zsh b/dot_config/oh-my-zsh/custom/01_variables.zsh new file mode 100644 index 0000000..d597316 --- /dev/null +++ b/dot_config/oh-my-zsh/custom/01_variables.zsh @@ -0,0 +1,4 @@ +# make sure LS behaves as we want it to +if [[ $OSTYPE = (linux)* ]]; then + export LS_OPTIONS='--color=auto' +fi diff --git a/dot_config/oh-my-zsh/custom/08_shell_settings.zsh b/dot_config/oh-my-zsh/custom/08_shell_settings.zsh new file mode 100644 index 0000000..77ee174 --- /dev/null +++ b/dot_config/oh-my-zsh/custom/08_shell_settings.zsh @@ -0,0 +1,2 @@ +# this enables vi bindings in zsh +bindkey -v diff --git a/dot_config/oh-my-zsh/custom/09_alias.zsh b/dot_config/oh-my-zsh/custom/09_alias.zsh new file mode 100644 index 0000000..6013156 --- /dev/null +++ b/dot_config/oh-my-zsh/custom/09_alias.zsh @@ -0,0 +1,15 @@ +alias rm="rm -v" +alias vi="vim" +alias cp="cp -v" +alias mv="mv -v" +alias ls="ls $LS_OPTIONS -hFtr" +alias ll="ls $LS_OPTIONS -lAhFtr" +alias ccat="pygmentize -O style=monokai -f 256 -g" +alias dig="dig +nocmd any +multiline +noall +answer" +alias prettyjson='python -m json.tool' +# aliases to quickly switch between two keyboard layouts +alias aoeu="setxkbmap us" +alias asdf="setxkbmap dvorak" + +disable -r time # disable shell reserved word +alias time='time -p ' # -p for POSIX output diff --git a/dot_config/oh-my-zsh/custom/themes/.keep b/dot_config/oh-my-zsh/custom/themes/.keep new file mode 100644 index 0000000..e69de29 diff --git a/dot_config/polybar/config b/dot_config/polybar/config new file mode 100644 index 0000000..df0b018 --- /dev/null +++ b/dot_config/polybar/config @@ -0,0 +1,604 @@ +;===================================================== +; +; To learn more about how to configure Polybar +; go to https://github.com/jaagr/polybar +; +; The README contains alot of information +; +;===================================================== +[colors] +background = ${xrdb:color0:#222} +foreground = ${xrdb:color7:#222} +background-alt = ${xrdb:color10:#222} +foreground-alt = ${xrdb:color4:#222} +icon-color = ${xrdb:color4:#FF2} +primary = ${xrdb:color1:#222} +alert = ${xrdb:color10:#222} +secondary = ${xrdb:color10:#222} +; let's get some colors from xrdb (pywal) +col0 = ${xrdb:color0:#222} +col1 = ${xrdb:color1:#222} +col2 = ${xrdb:color2:#222} +col3 = ${xrdb:color3:#222} +col4 = ${xrdb:color4:#222} +col5 = ${xrdb:color5:#222} +col6 = ${xrdb:color6:#222} +col7 = ${xrdb:color7:#222} +col8 = ${xrdb:color8:#222} +col9 = ${xrdb:color9:#222} +col10 = ${xrdb:color10:#222} +col11 = ${xrdb:color11:#222} +col12 = ${xrdb:color12:#222} +col13 = ${xrdb:color13:#222} +gruvbg = ${xrdb:background:#222} +gruvbghard = ${xrdb:backgroundhard:#222} +gruvbgsoft = ${xrdb:backgroundsoft:#222} +gruvfg = ${xrdb:foreground:#222} +; control some of the later elements from here, nice and tidy +underline-cpu = ${xrdb:color2:#222} +underline-memory = ${xrdb:color3:#222} +underline-date = ${xrdb:color4:#222} +underline-battery = ${xrdb:color5:#222} +underline-temperature = ${xrdb:color6:#222} +underline-keyboard = ${xrdb:color7:#222} +underline-i3-focused = ${xrdb:color10:#222} +underline-i3-unfocused = ${xrdb:color8:#222} + +[bar/general] +width = 100% + +; spaces before/after each module +module-margin-left = 1 +module-margin-right = 1 + +height = 27 +fixed-center = true +line-size = 3 +line-color = #f00 + +; rounded corners of the bar +radius = 0.0 + +;this makes sure that i3 doesn't reposition everything when polybar becomes active... is shit +override-redirect = false +wm-restack = i3 +; all the bar colors +background = ${colors.background} +foreground = ${colors.foreground} +border-color = ${colors.background} + +; spaces on begin/end of bar +padding-left = 2 +padding-right = 2 + +; set the bar fonts +;font-0 = fixed:pixelsize=10;1 +;font-0 = "Wuncon Siji:pixelsize=15;1" +;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 +;font-2 = "Inconsolata\ For\ Powerline:pixelsize=10;1" +font-0 = FuraCode Nerd Font:pixelsize=11;1 + +; override pointers +cursor-click = pointer +cursor-scroll = pointer + +[bar/example] +inherit = bar/general +monitor = ${env:MONITOR:eDP-1} +;offset-x = 2% +;offset-y = 1% +;i'm faking the left and right margins with a fat border. i'm helpless +;border-size = 20 +;border-left-size = 16 +;border-right-size = 16 + +;unused modules - mpd xbacklight backlight-acpi alsa +modules-left = i3 +modules-center = temperature battery xkeyboard memory cpu filesystem updates-arch reboot-check xbacklight top-process +modules-right = net1 wifi0 vpn powermenu + +; TRAY MANAGEMENT +;tray-position = right +tray-position = ${env:TRAY_POSITION:none} +;tray-transparent = true +tray-detached = false +tray-maxsize = 16 +;tray-background = ${colors.background-alt} +;this makes sure that the tray doesn't run off to the right of the monitor - only enable this when the bar's width is a bit off +tray-offset-x = 0 +tray-offset-y = 27 +tray-padding = 2 +tray-scale = 1.0 + +scroll-up = i3wm-wsnext +scroll-down = i3wm-wsprev + +cursor-click = pointer +;cursor-scroll = ns-resize +cursor-scroll = pointer + +[bar/secondary] +inherit = bar/general +monitor = ${env:MONITOR:eDP-1} +;offset-x = 2% +;offset-y = 1% + +;unused modules - mpd xbacklight backlight-acpi alsa +modules-right = pulseaudio +modules-center = player-mpris-tail +modules-left = date info-hackspeed + +[module/player-mpris-tail] +type = custom/script +exec = ~/.config/polybar/polybar-scripts/polybar-scripts/player-mpris-tail/player-mpris-tail.py -f '{icon} {artist} - {title}' --icon-playing  --icon-paused  --icon-stopped  --icon-none ﱙ +tail = true +label = %output% + +[module/info-hackspeed] +type = custom/script +format-prefix = " " +format-prefix-foreground = ${colors.icon-color} +exec = ~/.config/polybar/polybar-scripts/polybar-scripts/info-hackspeed/info-hackspeed.sh +tail = true + +[module/top-process] +type = custom/script +format-prefix = " " +format-prefix-foreground = ${colors.icon-color} +format-underline = ${colors.alert} +interval = 5 +exec = ~/.dotfiles/scripts/top.process.sh +tail = true + +[module/xwindow] +type = internal/xwindow +label = %title:0:30:...% + +[module/xkeyboard] +type = internal/xkeyboard +blacklist-0 = num lock + +format-prefix = " " +format-prefix-foreground = ${colors.icon-color} +format-prefix-underline = ${colors.underline-keyboard} + +; layout, number, name +label-layout = %layout% +label-layout-underline = ${colors.underline-keyboard} + +label-indicator-padding = 2 +label-indicator-margin = 1 +label-indicator-background = ${colors.secondary} +label-indicator-underline = ${colors.underline-keyboard} + +cursor-click = pointer + + +[module/vpn] +type = custom/script +exec = nmcli | grep "VPN connection" | sed -e "s/VPN connection//g" +exec-if = pgrep -x openvpn +interval = 5 +format-underline = #268bd2 +format-prefix = " " +format-prefix-foreground = ${colors.col1} + + +[module/filesystem] +type = internal/fs +interval = 25 +mount-0 = / +mount-1 = /mnt/ext4 +label-mounted = %{F#0a81f5}%mountpoint%%{F-} %percentage_used%% +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.foreground-alt} + +[module/bspwm] +type = internal/bspwm + +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +label-occupied = %index% +label-occupied-padding = 2 + +label-urgent = %index%! +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +label-empty = %index% +label-empty-foreground = ${colors.foreground-alt} +label-empty-padding = 2 + +; Separator in between workspaces +; label-separator = | + + + +[module/i3] +type = internal/i3 +format = +index-sort = true +wrapping-scroll = false + +; Only show workspaces on the same output as the bar +pin-workspaces = true + +; This will split the workspace name on ':' +; Default: false +strip-wsnumbers = true + +; using siji icons... see view.sh for codes +; not using siji anymore, check out nerdfonts.com! +;   +ws-icon-0 = 1:1; +ws-icon-1 = 2:2; +ws-icon-2 = 3:3; +ws-icon-3 = 4:4; +ws-icon-4 = 5:5; +ws-icon-5 = 6:6; +ws-icon-6 = 7:7; +ws-icon-7 = 8:8; +ws-icon-8 = 9:9;﬐ +ws-icon-9 = 10:10; +ws-icon-10 = 11:; +ws-icon-11 = 12:; +ws-icon-default =  + +; Whenever the 'move' changes... like 'resize', ... +label-mode-padding = 2 +label-mode-foreground = ${colors.gruvfg} +;label-mode-background = ${colors.primary} +label-mode-background = ${colors.col4} +label-mode-underline = ${colors.col12} + +; focused = Active workspace on focused monitor +label-focused = %icon% %name% +;label-focused = %index% +;label-focused-background = ${module/bspwm.label-focused-background} +;label-focused-underline = ${module/bspwm.label-focused-underline} +;label-focused-padding = ${module/bspwm.label-focused-padding} +label-focused-background = ${colors.col2} +label-focused-foreground = ${colors.gruvbghard} +label-focused-underline = ${colors.underline-i3-focused} +label-focused-padding = 2 + +; unfocused = Inactive workspace on any monitor +;label-unfocused = %index% +label-unfocused = %icon% %name% +label-unfocused-underline = ${colors.underline-i3-unfocused} +;label-unfocused-padding = ${module/bspwm.label-occupied-padding} +label-unfocused-padding = 2 + +; visible = Active workspace on unfocused monitor +; label-visible = %index% +label-visible = %icon% %name% +;label-visible-background = ${self.label-focused-background} +;label-visible-underline = ${self.label-focused-underline} +;label-visible-padding = ${self.label-focused-padding} +label-visible-background = ${colors.col12} +label-visible-foreground = ${colors.gruvbghard} +label-visible-underline = #FFFFFF +label-visible-padding = 2 + +; urgent = Workspace with urgency hint set +label-urgent = %icon% %name% +; label-urgent-background = ${module/bspwm.label-urgent-background} +label-urgent-background = ${colors.col1} +label-urgent-foreground = ${colors.col9} +label-urgent-underline = ${colors.col9} +label-urgent-padding = 2 + +; Separator in between workspaces +; label-separator = | + + +[module/mpd] +type = internal/mpd +format-online = + +icon-prev = 玲 +icon-stop =  +icon-play =  +icon-pause =  +icon-next = 怜 + +label-song-maxlen = 25 +label-song-ellipsis = true + +[module/xbacklight] +type = internal/xbacklight + +format =