From 45cee84ee778f9a66c8176e034dd2feb01356715 Mon Sep 17 00:00:00 2001 From: horhik Date: Mon, 27 Jul 2020 07:59:00 +0300 Subject: [PATCH] add all dotfiles --- .Xresources | 85 ++ .bashrc | 14 + .config/cava/config | 167 ++++ .config/compton/compton.conf | 116 +++ .config/compton/dotfiles/i3/config | 319 +++++++ .config/compton/dotfiles/i3/log.log | 2 + .config/dunst/dunstrc | 416 ++++++++++ .config/fish/conf.d/omf.fish | 7 + .config/fish/fish_variables | 36 + .config/fish/functions/fish_prompt.fish | 1 + .config/hub | 4 + .config/i3/config | 319 +++++++ .config/i3/dotfiles/i3/config | 319 +++++++ .config/i3/dotfiles/i3/log.log | 2 + .config/i3/log.log | 2 + .../autoload/lighline/colorscheme/onedark.vim | 58 ++ .config/nvim/init.vim | 118 +++ .config/omf/bundle | 18 + .config/omf/channel | 1 + .../omf/functions/__ssh_agent_is_started.fish | 14 + .config/omf/functions/__ssh_agent_start.fish | 5 + .config/omf/init.fish | 106 +++ .config/omf/theme | 1 + .config/picom/picom.conf | 481 +++++++++++ .config/picom/picom.conf_ | 117 +++ .config/polybar/bars.ini | 431 ++++++++++ .config/polybar/colors.ini | 75 ++ .config/polybar/config.ini | 460 ++++++++++ .config/polybar/dotfiles/i3/config | 319 +++++++ .config/polybar/dotfiles/i3/log.log | 2 + .config/polybar/launch.sh | 13 + .config/polybar/modules.ini | 783 ++++++++++++++++++ .../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 | 22 + .../battery-combined-udev.sh | 88 ++ .../battery-cyberpower/README.md | 29 + .../battery-cyberpower/battery-cyberpower.sh | 56 ++ .../easteregg-pornhub/README.md | 44 + .../easteregg-pornhub/screenshots/1.png | Bin 0 -> 1435 bytes .../inbox-imap-pythongpg/README.md | 29 + .../inbox-imap-pythongpg/inbox-imap-python.py | 14 + .../inbox-imap-pythongpg/screenshots/1.png | Bin 0 -> 542 bytes .../inbox-imap-shellnetrc/.netrc | 3 + .../inbox-imap-shellnetrc/README.md | 27 + .../inbox-imap-shellnetrc.sh | 12 + .../inbox-pop3-shellnetrc/.netrc | 3 + .../inbox-pop3-shellnetrc/README.md | 22 + .../inbox-pop3-shellnetrc.sh | 12 + .../info-airqualityindex/README.md | 30 + .../info-airqualityindex.sh | 41 + .../info-airqualityindex/screenshots/1.png | Bin 0 -> 1193 bytes .../polybar-scripts/info-dualshock4/README.md | 20 + .../info-dualshock4/info-dualshock4.sh | 5 + .../info-dualshock4/screenshots/1.png | Bin 0 -> 4104 bytes .../polybar-scripts/info-ethermine/README.md | 18 + .../info-ethermine/info-ethermine.py | 12 + .../polybar-scripts/info-eyestrain/README.md | 15 + .../info-eyestrain/info-eyestrain.sh | 10 + .../polybar-scripts/info-hackspeed/README.md | 33 + .../info-hackspeed/info-hackspeed.sh | 63 ++ .../info-hackspeed/screenshots/1.png | Bin 0 -> 539 bytes .../polybar-scripts/info-hexdate/README.md | 15 + .../info-hexdate/info-hexdate.sh | 11 + .../info-hexdate/screenshots/1.png | Bin 0 -> 1145 bytes .../info-hlwm-workspaces/README.md | 27 + .../info-hlwm-workspaces.sh | 46 + .../info-hlwm-workspaces/screenshots/1.png | Bin 0 -> 2181 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 .../polybar-scripts/info-publicip/README.md | 20 + .../info-publicip/info-publicip.sh | 3 + .../info-publicip/screenshots/1.png | Bin 0 -> 2340 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 .../info-taskspooler/README.md | 28 + .../info-taskspooler/info-taskspooler.sh | 27 + .../info-taskspooler/screenshots/1.png | Bin 0 -> 3377 bytes .../info-tmux-sessions/README.md | 16 + .../info-tmux-sessions/info-tmux-sessions.sh | 21 + .../info-tmux-sessions/screenshots/1.png | Bin 0 -> 7050 bytes .../info-tmux-sessions/screenshots/2.png | Bin 0 -> 2280 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-usbtoserial/95-usbtoserial.rules | 4 + .../info-usbtoserial/README.md | 20 + .../info-usbtoserial/info-usbtoserial.sh | 44 + .../polybar-scripts/info-wifionice/README.md | 20 + .../info-wifionice/info-wifionice.sh | 34 + .../info-wifionice/screenshots/1.png | Bin 0 -> 6963 bytes .../polybar-scripts/info-wmname/README.md | 21 + .../info-wmname/info-wmname.sh | 14 + .../polybar-scripts/info-xampp/README.md | 24 + .../polybar-scripts/info-xampp/info-xampp.sh | 21 + .../info-xampp/screenshots/1.png | Bin 0 -> 1048 bytes .../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 + .../isrunning-service/README.md | 18 + .../isrunning-service/isrunning-service.sh | 11 + .../network-networkmanager/90-polybar | 10 + .../network-networkmanager/README.md | 20 + .../network-networkmanager.sh | 82 ++ .../polybar-scripts/network-traffic/README.md | 25 + .../network-traffic/network-traffic.sh | 61 ++ .../polybar-scripts/news-archlinux/README.md | 18 + .../news-archlinux/news-archlinux.py | 7 + .../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 | 12 + .../notification-mattermost/README.md | 24 + .../notification-mattermost.sh | 15 + .../notification-reddit/README.md | 28 + .../notification-reddit.sh | 12 + .../notification-reddit/screenshots/1.png | Bin 0 -> 1553 bytes .../openweathermap-detailed/README.md | 46 + .../openweathermap-detailed.sh | 59 ++ .../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 | 58 ++ .../openweathermap-simple/screenshots/1.png | Bin 0 -> 1103 bytes .../polybar-scripts/player-cmus/README.md | 18 + .../player-cmus/player-cmus.sh | 38 + .../player-cmus/screenshots/1.png | Bin 0 -> 4535 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 | 164 ++++ .../player-mpris-tail/player-mpris-tail.py | 527 ++++++++++++ .../player-mpris-tail/screenshots/1.png | Bin 0 -> 9199 bytes .../player-mpris-tail/screenshots/2.png | Bin 0 -> 6192 bytes .../polybar-scripts/player-mpv-tail/README.md | 30 + .../player-mpv-tail/player-mpv-tail.py | 147 ++++ .../player-mpv-tail/screenshots/1.png | Bin 0 -> 5824 bytes .../polybar-scripts/popup-calendar/README.md | 41 + .../popup-calendar/popup-calendar.sh | 41 + .../popup-calendar/screenshots/1.png | Bin 0 -> 13447 bytes .../pulseaudio-simple/README.md | 18 + .../pulseaudio-simple/pulseaudio-simple.sh | 15 + .../polybar-scripts/pulseaudio-tail/README.md | 26 + .../pulseaudio-tail/pulseaudio-tail.sh | 66 ++ .../system-bluetooth-bluetoothctl/README.md | 28 + .../screenshots/1.png | Bin 0 -> 5932 bytes .../system-bluetooth-bluetoothctl.sh | 60 ++ .../system-cpu-frequency/README.md | 13 + .../system-cpu-frequency.sh | 10 + .../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-thinklight/README.md | 15 + .../system-thinklight/info-thinklight.sh | 7 + .../system-thinklight/screenshots/1.png | Bin 0 -> 3596 bytes .../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.rules | 4 + .../polybar-scripts/system-usb-udev/README.md | 35 + .../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-crypto/README.md | 21 + .../ticker-crypto/screenshots/1.png | Bin 0 -> 1396 bytes .../ticker-crypto/ticker-crypto.sh | 8 + .../polybar-scripts/ticker-forex/README.md | 19 + .../ticker-forex/ticker-forex.sh | 12 + .../updates-arch-aur/README.md | 20 + .../updates-arch-aur/updates-arch-aur.sh | 15 + .../updates-arch-combined/README.md | 26 + .../updates-arch-combined/screenshots/1.png | Bin 0 -> 3039 bytes .../updates-arch-combined.sh | 21 + .../polybar-scripts/updates-arch/README.md | 18 + .../updates-arch/updates-arch.sh | 11 + .../polybar-scripts/updates-fedora/README.md | 23 + .../updates-fedora/screenshots/1.png | Bin 0 -> 1969 bytes .../updates-fedora/updates-fedora.sh | 14 + .../polybar-scripts/updates-flatpak/README.md | 13 + .../updates-flatpak/updates-flatpak.sh | 13 + .../polybar-scripts/updates-void/README.md | 13 + .../updates-void/updates-void.sh | 9 + .../vpn-anyconnect-status/README.md | 28 + .../vpn-anyconnect-status/screenshots/1.png | Bin 0 -> 1996 bytes .../vpn-anyconnect-status/screenshots/2.png | Bin 0 -> 2337 bytes .../vpn-anyconnect-status.sh | 9 + .../vpn-nordvpn-status/README.md | 16 + .../vpn-nordvpn-status/screenshots/1.png | Bin 0 -> 757 bytes .../vpn-nordvpn-status/screenshots/2.png | Bin 0 -> 806 bytes .../vpn-nordvpn-status/vpn-nordvpn-status.sh | 9 + .../vpn-openvpn-isrunning/README.md | 15 + .../vpn-openvpn-isrunning/screenshots/1.png | Bin 0 -> 2280 bytes .../vpn-openvpn-isrunning.sh | 9 + .../vpn-openvpn-status/README.md | 28 + .../vpn-openvpn-status/screenshots/1.png | Bin 0 -> 1410 bytes .../vpn-openvpn-status/screenshots/2.png | Bin 0 -> 9915 bytes .../vpn-openvpn-status/vpn-openvpn-status.sh | 3 + .../vpn-wireguard-wg/README.md | 26 + .../vpn-wireguard-wg/screenshots/1.png | Bin 0 -> 1482 bytes .../vpn-wireguard-wg/screenshots/2.png | Bin 0 -> 1933 bytes .../vpn-wireguard-wg/vpn-wireguard-wg.sh | 37 + .config/polybar/scripts/check-network | 20 + .config/polybar/scripts/checkupdates | 117 +++ .config/polybar/scripts/color-switch.sh | 100 +++ .config/polybar/scripts/colors-dark.sh | 434 ++++++++++ .config/polybar/scripts/colors-light.sh | 434 ++++++++++ .config/polybar/scripts/launcher | 5 + .config/polybar/scripts/launcher-alt | 5 + .config/polybar/scripts/launcher-full | 5 + .config/polybar/scripts/lupdates | 3 + .config/polybar/scripts/menu | 63 ++ .config/polybar/scripts/menu_full | 64 ++ .config/polybar/scripts/powermenu | 11 + .config/polybar/scripts/powermenu-alt | 11 + .config/polybar/scripts/redshift/README.md | 22 + .config/polybar/scripts/redshift/env.sh | 2 + .config/polybar/scripts/redshift/redshift.sh | 48 ++ .config/polybar/scripts/style-switch.sh | 15 + .config/polybar/scripts/style.sh | 45 + .config/polybar/scripts/sysmenu | 69 ++ .config/polybar/scripts/updates.sh | 46 + .config/polybar/scripts/windows | 5 + .config/polybar/tester-file-1.ini | 334 ++++++++ .config/polybar/tester-file-2.ini | 334 ++++++++ .config/polybar/tester-file-3.ini | 334 ++++++++ .config/polybar/tester.sh | 14 + .config/polybar/user_modules.ini | 296 +++++++ .config/rofi/config.rasi | 7 + .config/rofi/config_temp.rasi | 146 ++++ .config/spotify-tui/.spotify_token_cache.json | 1 + .config/spotify-tui/client.yml | 5 + .config/xmobar/config3.hs | 35 + .config/xmobar/xmobarrc | 117 +++ .config/zathura/zathurarc | 1 + .notify-osd | 20 + .tmux.conf | 76 ++ .vimrc | 26 + .xinitrc | 5 + .../8.8.3/pkgdb/package.cache | Bin 0 -> 40 bytes .../8.8.3/pkgdb/package.cache.lock | 0 .xmonad/.stack-work/stack.sqlite3 | Bin 0 -> 45056 bytes .../stack.sqlite3.pantry-write-lock | 0 .xmonad/.vscode/tasks.json | 47 ++ .xmonad/DraculaTheme.hs | 21 + .xmonad/lib/XMonad/Stack/Brightness.hs | 65 ++ .../lib/XMonad/Util/Brightness/Brightness.hs | 65 ++ .xmonad/xmonad.hs | 417 ++++++++++ .xsession | 9 + .xterm/themes/base16-dracula-256.Xresources | 57 ++ .zshrc | 104 +++ 294 files changed, 13522 insertions(+) create mode 100644 .Xresources create mode 100644 .bashrc create mode 100644 .config/cava/config create mode 100644 .config/compton/compton.conf create mode 100644 .config/compton/dotfiles/i3/config create mode 100644 .config/compton/dotfiles/i3/log.log create mode 100644 .config/dunst/dunstrc create mode 100644 .config/fish/conf.d/omf.fish create mode 100644 .config/fish/fish_variables create mode 120000 .config/fish/functions/fish_prompt.fish create mode 100644 .config/hub create mode 100644 .config/i3/config create mode 100644 .config/i3/dotfiles/i3/config create mode 100644 .config/i3/dotfiles/i3/log.log create mode 100644 .config/i3/log.log create mode 100644 .config/nvim/autoload/lighline/colorscheme/onedark.vim create mode 100644 .config/nvim/init.vim create mode 100644 .config/omf/bundle create mode 100644 .config/omf/channel create mode 100644 .config/omf/functions/__ssh_agent_is_started.fish create mode 100644 .config/omf/functions/__ssh_agent_start.fish create mode 100644 .config/omf/init.fish create mode 100644 .config/omf/theme create mode 100644 .config/picom/picom.conf create mode 100644 .config/picom/picom.conf_ create mode 100644 .config/polybar/bars.ini create mode 100644 .config/polybar/colors.ini create mode 100644 .config/polybar/config.ini create mode 100644 .config/polybar/dotfiles/i3/config create mode 100644 .config/polybar/dotfiles/i3/log.log create mode 100755 .config/polybar/launch.sh create mode 100644 .config/polybar/modules.ini create mode 100644 .config/polybar/polybar-scripts/battery-combined-shell/README.md create mode 100644 .config/polybar/polybar-scripts/battery-combined-shell/battery-combined-shell.sh create mode 100644 .config/polybar/polybar-scripts/battery-combined-tlp/README.md create mode 100644 .config/polybar/polybar-scripts/battery-combined-tlp/battery-combined-tlp.sh create mode 100644 .config/polybar/polybar-scripts/battery-combined-tlp/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/battery-combined-udev/95-battery.rules create mode 100644 .config/polybar/polybar-scripts/battery-combined-udev/README.md create mode 100644 .config/polybar/polybar-scripts/battery-combined-udev/battery-combined-udev.sh create mode 100644 .config/polybar/polybar-scripts/battery-cyberpower/README.md create mode 100644 .config/polybar/polybar-scripts/battery-cyberpower/battery-cyberpower.sh create mode 100644 .config/polybar/polybar-scripts/easteregg-pornhub/README.md create mode 100644 .config/polybar/polybar-scripts/easteregg-pornhub/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/inbox-imap-pythongpg/README.md create mode 100644 .config/polybar/polybar-scripts/inbox-imap-pythongpg/inbox-imap-python.py create mode 100644 .config/polybar/polybar-scripts/inbox-imap-pythongpg/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/inbox-imap-shellnetrc/.netrc create mode 100644 .config/polybar/polybar-scripts/inbox-imap-shellnetrc/README.md create mode 100644 .config/polybar/polybar-scripts/inbox-imap-shellnetrc/inbox-imap-shellnetrc.sh create mode 100644 .config/polybar/polybar-scripts/inbox-pop3-shellnetrc/.netrc create mode 100644 .config/polybar/polybar-scripts/inbox-pop3-shellnetrc/README.md create mode 100644 .config/polybar/polybar-scripts/inbox-pop3-shellnetrc/inbox-pop3-shellnetrc.sh create mode 100644 .config/polybar/polybar-scripts/info-airqualityindex/README.md create mode 100644 .config/polybar/polybar-scripts/info-airqualityindex/info-airqualityindex.sh create mode 100644 .config/polybar/polybar-scripts/info-airqualityindex/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/info-dualshock4/README.md create mode 100644 .config/polybar/polybar-scripts/info-dualshock4/info-dualshock4.sh create mode 100644 .config/polybar/polybar-scripts/info-dualshock4/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/info-ethermine/README.md create mode 100644 .config/polybar/polybar-scripts/info-ethermine/info-ethermine.py create mode 100644 .config/polybar/polybar-scripts/info-eyestrain/README.md create mode 100755 .config/polybar/polybar-scripts/info-eyestrain/info-eyestrain.sh create mode 100644 .config/polybar/polybar-scripts/info-hackspeed/README.md create mode 100644 .config/polybar/polybar-scripts/info-hackspeed/info-hackspeed.sh create mode 100644 .config/polybar/polybar-scripts/info-hackspeed/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/info-hexdate/README.md create mode 100644 .config/polybar/polybar-scripts/info-hexdate/info-hexdate.sh create mode 100644 .config/polybar/polybar-scripts/info-hexdate/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/info-hlwm-workspaces/README.md create mode 100644 .config/polybar/polybar-scripts/info-hlwm-workspaces/info-hlwm-workspaces.sh create mode 100644 .config/polybar/polybar-scripts/info-hlwm-workspaces/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/info-kernel/README.md create mode 100644 .config/polybar/polybar-scripts/info-pingrtt/README.md create mode 100644 .config/polybar/polybar-scripts/info-pingrtt/info-pingrtt.sh create mode 100644 .config/polybar/polybar-scripts/info-pingrtt/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/info-pingrtt/screenshots/2.png create mode 100644 .config/polybar/polybar-scripts/info-pingrtt/screenshots/3.png create mode 100644 .config/polybar/polybar-scripts/info-projecthamster/README.md create mode 100644 .config/polybar/polybar-scripts/info-projecthamster/info-projecthamster.sh create mode 100644 .config/polybar/polybar-scripts/info-projecthamster/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/info-publicip/README.md create mode 100644 .config/polybar/polybar-scripts/info-publicip/info-publicip.sh create mode 100644 .config/polybar/polybar-scripts/info-publicip/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/info-redshift-temp/README.md create mode 100755 .config/polybar/polybar-scripts/info-redshift-temp/info-redshift-temp.sh create mode 100644 .config/polybar/polybar-scripts/info-redshift-temp/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/info-softwarecounter/README.md create mode 100644 .config/polybar/polybar-scripts/info-softwarecounter/info-softwarecounter.py create mode 100644 .config/polybar/polybar-scripts/info-softwarecounter/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/info-ssh-sessions/README.md create mode 100644 .config/polybar/polybar-scripts/info-ssh-sessions/info-ssh-sessions.sh create mode 100644 .config/polybar/polybar-scripts/info-ssh-sessions/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/info-taskspooler/README.md create mode 100755 .config/polybar/polybar-scripts/info-taskspooler/info-taskspooler.sh create mode 100644 .config/polybar/polybar-scripts/info-taskspooler/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/info-tmux-sessions/README.md create mode 100644 .config/polybar/polybar-scripts/info-tmux-sessions/info-tmux-sessions.sh create mode 100644 .config/polybar/polybar-scripts/info-tmux-sessions/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/info-tmux-sessions/screenshots/2.png create mode 100644 .config/polybar/polybar-scripts/info-todotxt/README.md create mode 100644 .config/polybar/polybar-scripts/info-todotxt/info-todotxt.sh create mode 100644 .config/polybar/polybar-scripts/info-todotxt/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/info-trash/README.md create mode 100644 .config/polybar/polybar-scripts/info-trash/info-trash.sh create mode 100644 .config/polybar/polybar-scripts/info-trash/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/info-usbtoserial/95-usbtoserial.rules create mode 100644 .config/polybar/polybar-scripts/info-usbtoserial/README.md create mode 100644 .config/polybar/polybar-scripts/info-usbtoserial/info-usbtoserial.sh create mode 100644 .config/polybar/polybar-scripts/info-wifionice/README.md create mode 100644 .config/polybar/polybar-scripts/info-wifionice/info-wifionice.sh create mode 100644 .config/polybar/polybar-scripts/info-wifionice/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/info-wmname/README.md create mode 100644 .config/polybar/polybar-scripts/info-wmname/info-wmname.sh create mode 100644 .config/polybar/polybar-scripts/info-xampp/README.md create mode 100644 .config/polybar/polybar-scripts/info-xampp/info-xampp.sh create mode 100644 .config/polybar/polybar-scripts/info-xampp/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/isrunning-claudius/README.md create mode 100644 .config/polybar/polybar-scripts/isrunning-claudius/isrunning-claudius.sh create mode 100644 .config/polybar/polybar-scripts/isrunning-compton/README.md create mode 100644 .config/polybar/polybar-scripts/isrunning-compton/isrunning-compton.sh create mode 100644 .config/polybar/polybar-scripts/isrunning-dropbox/README.md create mode 100644 .config/polybar/polybar-scripts/isrunning-dropbox/isrunning-dropbox.sh create mode 100644 .config/polybar/polybar-scripts/isrunning-offlineimap/README.md create mode 100644 .config/polybar/polybar-scripts/isrunning-offlineimap/isrunning-offlineimap.sh create mode 100644 .config/polybar/polybar-scripts/isrunning-service/README.md create mode 100644 .config/polybar/polybar-scripts/isrunning-service/isrunning-service.sh create mode 100644 .config/polybar/polybar-scripts/network-networkmanager/90-polybar create mode 100644 .config/polybar/polybar-scripts/network-networkmanager/README.md create mode 100644 .config/polybar/polybar-scripts/network-networkmanager/network-networkmanager.sh create mode 100644 .config/polybar/polybar-scripts/network-traffic/README.md create mode 100644 .config/polybar/polybar-scripts/network-traffic/network-traffic.sh create mode 100644 .config/polybar/polybar-scripts/news-archlinux/README.md create mode 100644 .config/polybar/polybar-scripts/news-archlinux/news-archlinux.py create mode 100644 .config/polybar/polybar-scripts/notification-chess/README.md create mode 100644 .config/polybar/polybar-scripts/notification-chess/notification-chess.sh create mode 100644 .config/polybar/polybar-scripts/notification-chess/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/notification-github/README.md create mode 100644 .config/polybar/polybar-scripts/notification-github/notification-github.sh create mode 100644 .config/polybar/polybar-scripts/notification-mattermost/README.md create mode 100644 .config/polybar/polybar-scripts/notification-mattermost/notification-mattermost.sh create mode 100644 .config/polybar/polybar-scripts/notification-reddit/README.md create mode 100644 .config/polybar/polybar-scripts/notification-reddit/notification-reddit.sh create mode 100644 .config/polybar/polybar-scripts/notification-reddit/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/openweathermap-detailed/README.md create mode 100644 .config/polybar/polybar-scripts/openweathermap-detailed/openweathermap-detailed.sh create mode 100644 .config/polybar/polybar-scripts/openweathermap-detailed/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/openweathermap-forecast/README.md create mode 100644 .config/polybar/polybar-scripts/openweathermap-forecast/openweathermap-forecast.sh create mode 100644 .config/polybar/polybar-scripts/openweathermap-fullfeatured/README.md create mode 100644 .config/polybar/polybar-scripts/openweathermap-fullfeatured/openweathermap-fullfeatured.sh create mode 100644 .config/polybar/polybar-scripts/openweathermap-fullfeatured/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/openweathermap-simple/README.md create mode 100644 .config/polybar/polybar-scripts/openweathermap-simple/openweathermap-simple.sh create mode 100644 .config/polybar/polybar-scripts/openweathermap-simple/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/player-cmus/README.md create mode 100644 .config/polybar/polybar-scripts/player-cmus/player-cmus.sh create mode 100644 .config/polybar/polybar-scripts/player-cmus/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/player-moc/README.md create mode 100644 .config/polybar/polybar-scripts/player-moc/player-moc.sh create mode 100644 .config/polybar/polybar-scripts/player-mpris-simple/README.md create mode 100644 .config/polybar/polybar-scripts/player-mpris-simple/player-mpris-simple.sh create mode 100644 .config/polybar/polybar-scripts/player-mpris-simple/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/player-mpris-tail/README.md create mode 100755 .config/polybar/polybar-scripts/player-mpris-tail/player-mpris-tail.py create mode 100644 .config/polybar/polybar-scripts/player-mpris-tail/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/player-mpris-tail/screenshots/2.png create mode 100644 .config/polybar/polybar-scripts/player-mpv-tail/README.md create mode 100755 .config/polybar/polybar-scripts/player-mpv-tail/player-mpv-tail.py create mode 100644 .config/polybar/polybar-scripts/player-mpv-tail/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/popup-calendar/README.md create mode 100644 .config/polybar/polybar-scripts/popup-calendar/popup-calendar.sh create mode 100644 .config/polybar/polybar-scripts/popup-calendar/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/pulseaudio-simple/README.md create mode 100644 .config/polybar/polybar-scripts/pulseaudio-simple/pulseaudio-simple.sh create mode 100644 .config/polybar/polybar-scripts/pulseaudio-tail/README.md create mode 100644 .config/polybar/polybar-scripts/pulseaudio-tail/pulseaudio-tail.sh create mode 100644 .config/polybar/polybar-scripts/system-bluetooth-bluetoothctl/README.md create mode 100644 .config/polybar/polybar-scripts/system-bluetooth-bluetoothctl/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/system-bluetooth-bluetoothctl/system-bluetooth-bluetoothctl.sh create mode 100644 .config/polybar/polybar-scripts/system-cpu-frequency/README.md create mode 100644 .config/polybar/polybar-scripts/system-cpu-frequency/system-cpu-frequency.sh create mode 100644 .config/polybar/polybar-scripts/system-cpu-loadavg/README.md create mode 100644 .config/polybar/polybar-scripts/system-cpu-loadavg/system-cpu-loadavg.sh create mode 100644 .config/polybar/polybar-scripts/system-cpu-temppercore/README.md create mode 100644 .config/polybar/polybar-scripts/system-cpu-temppercore/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/system-cpu-temppercore/system-cpu-temppercore.sh create mode 100644 .config/polybar/polybar-scripts/system-fan-speed/README.md create mode 100644 .config/polybar/polybar-scripts/system-fan-speed/system-fan-speed.sh create mode 100644 .config/polybar/polybar-scripts/system-gpu-intel/README.md create mode 100644 .config/polybar/polybar-scripts/system-gpu-intel/system-gpu-intel.sh create mode 100644 .config/polybar/polybar-scripts/system-nvidia-bbswitch/README.md create mode 100644 .config/polybar/polybar-scripts/system-nvidia-bbswitch/system-nvidia-bbswitch.sh create mode 100644 .config/polybar/polybar-scripts/system-nvidia-smi/README.md create mode 100644 .config/polybar/polybar-scripts/system-nvidia-smi/system-nvidia-smi.sh create mode 100644 .config/polybar/polybar-scripts/system-thinklight/README.md create mode 100644 .config/polybar/polybar-scripts/system-thinklight/info-thinklight.sh create mode 100644 .config/polybar/polybar-scripts/system-thinklight/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/system-uptime-pretty/README.md create mode 100644 .config/polybar/polybar-scripts/system-uptime-pretty/system-uptime-pretty.sh create mode 100644 .config/polybar/polybar-scripts/system-usb-mount/README.md create mode 100644 .config/polybar/polybar-scripts/system-usb-mount/system-usb-mount.sh create mode 100644 .config/polybar/polybar-scripts/system-usb-udev/95-usb.rules create mode 100644 .config/polybar/polybar-scripts/system-usb-udev/README.md create mode 100644 .config/polybar/polybar-scripts/system-usb-udev/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/system-usb-udev/screenshots/2.png create mode 100644 .config/polybar/polybar-scripts/system-usb-udev/system-usb-udev.sh create mode 100644 .config/polybar/polybar-scripts/ticker-crypto/README.md create mode 100644 .config/polybar/polybar-scripts/ticker-crypto/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/ticker-crypto/ticker-crypto.sh create mode 100644 .config/polybar/polybar-scripts/ticker-forex/README.md create mode 100644 .config/polybar/polybar-scripts/ticker-forex/ticker-forex.sh create mode 100644 .config/polybar/polybar-scripts/updates-arch-aur/README.md create mode 100644 .config/polybar/polybar-scripts/updates-arch-aur/updates-arch-aur.sh create mode 100644 .config/polybar/polybar-scripts/updates-arch-combined/README.md create mode 100644 .config/polybar/polybar-scripts/updates-arch-combined/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/updates-arch-combined/updates-arch-combined.sh create mode 100644 .config/polybar/polybar-scripts/updates-arch/README.md create mode 100644 .config/polybar/polybar-scripts/updates-arch/updates-arch.sh create mode 100644 .config/polybar/polybar-scripts/updates-fedora/README.md create mode 100644 .config/polybar/polybar-scripts/updates-fedora/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/updates-fedora/updates-fedora.sh create mode 100644 .config/polybar/polybar-scripts/updates-flatpak/README.md create mode 100755 .config/polybar/polybar-scripts/updates-flatpak/updates-flatpak.sh create mode 100644 .config/polybar/polybar-scripts/updates-void/README.md create mode 100755 .config/polybar/polybar-scripts/updates-void/updates-void.sh create mode 100644 .config/polybar/polybar-scripts/vpn-anyconnect-status/README.md create mode 100644 .config/polybar/polybar-scripts/vpn-anyconnect-status/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/vpn-anyconnect-status/screenshots/2.png create mode 100644 .config/polybar/polybar-scripts/vpn-anyconnect-status/vpn-anyconnect-status.sh create mode 100644 .config/polybar/polybar-scripts/vpn-nordvpn-status/README.md create mode 100644 .config/polybar/polybar-scripts/vpn-nordvpn-status/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/vpn-nordvpn-status/screenshots/2.png create mode 100755 .config/polybar/polybar-scripts/vpn-nordvpn-status/vpn-nordvpn-status.sh create mode 100644 .config/polybar/polybar-scripts/vpn-openvpn-isrunning/README.md create mode 100644 .config/polybar/polybar-scripts/vpn-openvpn-isrunning/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/vpn-openvpn-isrunning/vpn-openvpn-isrunning.sh create mode 100644 .config/polybar/polybar-scripts/vpn-openvpn-status/README.md create mode 100644 .config/polybar/polybar-scripts/vpn-openvpn-status/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/vpn-openvpn-status/screenshots/2.png create mode 100644 .config/polybar/polybar-scripts/vpn-openvpn-status/vpn-openvpn-status.sh create mode 100644 .config/polybar/polybar-scripts/vpn-wireguard-wg/README.md create mode 100644 .config/polybar/polybar-scripts/vpn-wireguard-wg/screenshots/1.png create mode 100644 .config/polybar/polybar-scripts/vpn-wireguard-wg/screenshots/2.png create mode 100644 .config/polybar/polybar-scripts/vpn-wireguard-wg/vpn-wireguard-wg.sh create mode 100755 .config/polybar/scripts/check-network create mode 100755 .config/polybar/scripts/checkupdates create mode 100755 .config/polybar/scripts/color-switch.sh create mode 100755 .config/polybar/scripts/colors-dark.sh create mode 100755 .config/polybar/scripts/colors-light.sh create mode 100755 .config/polybar/scripts/launcher create mode 100755 .config/polybar/scripts/launcher-alt create mode 100755 .config/polybar/scripts/launcher-full create mode 100755 .config/polybar/scripts/lupdates create mode 100755 .config/polybar/scripts/menu create mode 100755 .config/polybar/scripts/menu_full create mode 100755 .config/polybar/scripts/powermenu create mode 100755 .config/polybar/scripts/powermenu-alt create mode 100755 .config/polybar/scripts/redshift/README.md create mode 100755 .config/polybar/scripts/redshift/env.sh create mode 100755 .config/polybar/scripts/redshift/redshift.sh create mode 100755 .config/polybar/scripts/style-switch.sh create mode 100755 .config/polybar/scripts/style.sh create mode 100755 .config/polybar/scripts/sysmenu create mode 100755 .config/polybar/scripts/updates.sh create mode 100755 .config/polybar/scripts/windows create mode 100644 .config/polybar/tester-file-1.ini create mode 100644 .config/polybar/tester-file-2.ini create mode 100644 .config/polybar/tester-file-3.ini create mode 100755 .config/polybar/tester.sh create mode 100644 .config/polybar/user_modules.ini create mode 100644 .config/rofi/config.rasi create mode 100644 .config/rofi/config_temp.rasi create mode 100644 .config/spotify-tui/.spotify_token_cache.json create mode 100644 .config/spotify-tui/client.yml create mode 100755 .config/xmobar/config3.hs create mode 100644 .config/xmobar/xmobarrc create mode 100644 .config/zathura/zathurarc create mode 100644 .notify-osd create mode 100644 .tmux.conf create mode 100644 .vimrc create mode 100644 .xinitrc create mode 100644 .xmonad/.stack-work/install/x86_64-linux-tinfo6/35ad0a93e8b512f36bfd3103383dced24e2c18c0575c52e7824e1f3d78d373dd/8.8.3/pkgdb/package.cache create mode 100644 .xmonad/.stack-work/install/x86_64-linux-tinfo6/35ad0a93e8b512f36bfd3103383dced24e2c18c0575c52e7824e1f3d78d373dd/8.8.3/pkgdb/package.cache.lock create mode 100644 .xmonad/.stack-work/stack.sqlite3 create mode 100644 .xmonad/.stack-work/stack.sqlite3.pantry-write-lock create mode 100644 .xmonad/.vscode/tasks.json create mode 100644 .xmonad/DraculaTheme.hs create mode 100644 .xmonad/lib/XMonad/Stack/Brightness.hs create mode 100644 .xmonad/lib/XMonad/Util/Brightness/Brightness.hs create mode 100644 .xmonad/xmonad.hs create mode 100644 .xsession create mode 100644 .xterm/themes/base16-dracula-256.Xresources create mode 100644 .zshrc diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..01ec1b6 --- /dev/null +++ b/.Xresources @@ -0,0 +1,85 @@ +!#include "/home/horhik/.xterm/themes/base16-dracula-256.Xresources" + +! Base16 Dracula +! Scheme: Mike Barkmin (http://github.com/mikebarkmin) based on Dracula Theme (http://github.com/dracula) + +#define base00 #282936 +#define base01 #3a3c4e +#define base02 #4d4f68 +#define base03 #626483 +#define base04 #62d6e8 +#define base05 #e9e9f4 +#define base06 #f1f2f8 +#define base07 #f7f7fb +#define base08 #ea51b2 +#define base09 #b45bcf +#define base0A #00f769 +#define base0B #ebff87 +#define base0C #a1efe4 +#define base0D #62d6e8 +#define base0E #b45bcf +#define base0F #00f769 + + + +*.foreground: base05 +#ifdef background_opacity +*.background: [background_opacity]base00 +#else +*.background: base00 +#endif +*.cursorColor: base05 + +*.color0: base00 +*.color1: base08 +*.color2: base0B +*.color3: base0A +*.color4: base0D +*.color5: base0E +*.color6: base0C +*.color7: base05 + +*.color8: base03 +*.color9: base08 +*.color10: base0B +*.color11: base0A +*.color12: base0D +*.color13: base0E +*.color14: base0C +*.color15: base07 + +! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt), +! use 'shell' template to set these if necessary +*.color16: base09 +*.color17: base0F +*.color18: base01 +*.color19: base02 +*.color20: base04 +*.color21: base06 + + +xterm*faceName: Mononoki +xterm*faceSize: 14 + +! +!Theme Nine +!xterm*background: rgb:1a/1a/1a +!xterm*foreground: rgb:d6/d6/d6 +!xterm*color0: rgb:00/00/00 +!xterm*color1: rgb:9e/18/28 +!xterm*color2: rgb:00/88/00 +!xterm*color3: rgb:96/8a/38 +!xterm*color4: rgb:41/41/71 +!xterm*color5: rgb:96/3c/59 +!xterm*color6: rgb:41/81/79 +!xterm*color7: rgb:be/be/be +!xterm*color8: rgb:66/66/66 +!xterm*color9: rgb:cf/61/71 +!xterm*color10: rgb:7c/bc/8c +!xterm*color11: rgb:ff/f7/96 +!xterm*color12: rgb:41/86/be +!xterm*color13: rgb:cf/9e/be +!xterm*color14: rgb:71/be/be +!xterm*color15: rgb:ff/ff/ff +! +!xterm*cursorColor: #d6d6d6 diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..9c29b66 --- /dev/null +++ b/.bashrc @@ -0,0 +1,14 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +alias vim=nvim +alias notify-send=twmnc +export TERMINAL=alacritty +set TERMINAL alacritty +PS1='[\u@\h \W]\$ ' + diff --git a/.config/cava/config b/.config/cava/config new file mode 100644 index 0000000..c8544d1 --- /dev/null +++ b/.config/cava/config @@ -0,0 +1,167 @@ +## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting. + + +[general] + +# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0 +mode = waves + +# Accepts only non-negative values. +; framerate = 60 + +# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off +# new as of 0.6.0 autosens of low values (dynamic range) +# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0 +; autosens = 1 +; overshoot = 20 + +# Manual sensitivity in %. Autosens must be turned off for this to take effect. +# 200 means double height. Accepts only non-negative values. +; sensitivity = 100 + +# The number of bars (0-200). 0 sets it to auto (fill up console). +# Bars' width and space between bars in number of characters. +; bars = 0 +; bar_width = 2 +; bar_spacing = 1 + + +# Lower and higher cutoff frequencies for lowest and highest bars +# the bandwidth of the visualizer. +# Note: there is a minimum total bandwidth of 43Mhz x number of bars. +# Cava will automatically increase the higher cutoff if a too low band is specified. +; lower_cutoff_freq = 50 +; higher_cutoff_freq = 10000 + +# FFT buffer is set in the exponent of 2 and must be between 8 - 16, 8 = 256, 16 = 65536 +# this is the audio buffer used to create the spectrum +# increasing the will improve the accuracy of the visualization, +# but will also make it slower and increase CPU usage +# anything below 10 and above 13 is considered experimental. +; FFTbufferSize = 12; + + + +[input] + +# Audio capturing method. Possible methods are: 'pulse', 'alsa', 'fifo', 'sndio' or 'shmem' +# Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with. +# +# All input methods uses the same config variable 'source' +# to define where it should get the audio. +# +# For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink +# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them). +# +# For alsa 'source' will be the capture device. +# For fifo 'source' will be the path to fifo-file. +# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address +; method = pulse +; source = auto + +; method = alsa +; source = hw:Loopback,1 + +; method = fifo +; source = /tmp/mpd.fifo +; sample_rate = 44100 +; sample_bits = 16 + +; method = shmem +; source = /squeezelite-AA:BB:CC:DD:EE:FF + +; method = portaudio +; source = auto + + +[output] + +# Output method. Can be 'ncurses', 'noncurses' or 'raw'. +# 'noncurses' uses a custom framebuffer technique and draws only changes +# from frame to frame. As of version 0.7.0 'noncurses' is default. +# +# 'raw' is an 8 or 16 bit (configurable via the 'bit_format' option) data +# stream of the bar heights that can be used to send to other applications. +# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above. +method = ncurses + +# Visual channels. Can be 'stereo' or 'mono'. +# 'stereo' mirrors both channels with low frequencies in center. +# 'mono' outputs left to right lowest to highest frequencies. +# 'mono_option' set mono to either take input from 'left', 'right' or 'average'. +; channels = stereo +; mono_option = average + +# Raw output target. A fifo will be created if target does not exist. +; raw_target = /dev/stdout + +# Raw data format. Can be 'binary' or 'ascii'. +; data_format = binary + +# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530). +; bit_format = 16bit + +# Ascii max value. In 'ascii' mode range will run from 0 to value specified here +; ascii_max_range = 1000 + +# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters. +# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)). +; bar_delimiter = 59 +; frame_delimiter = 10 + + + +[color] + +# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow. +# Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires +# ncurses output method and a terminal that can change color definitions such as Gnome-terminal or rxvt. +# default is to keep current terminal color +; background = default +foreground = cyan + +# Gradient mode, only hex defined colors (and thereby ncurses mode) are supported, +# background must also be defined in hex or remain commented out. 1 = on, 0 = off. +# You can define as many as 8 different colors. They range from bottom to top of screen +; gradient = 1 +gradient_count = 8 +gradient_color_1 = '#59cc33' +gradient_color_2 = '#80cc33' +gradient_color_3 = '#a6cc33' +gradient_color_4 = '#cccc33' +gradient_color_5 = '#cca633' +gradient_color_6 = '#cc8033' +gradient_color_7 = '#cc5933' +gradient_color_8 = '#cc3333' + + + +[smoothing] + +# Percentage value for integral smoothing. Takes values from 0 - 100. +# Higher values means smoother, but less precise. 0 to disable. +; integral = 77 + +# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable. +monstercat = 2 +waves = 5 + +# Set gravity percentage for "drop off". Higher values means bars will drop faster. +# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off". +; gravity = 100 + + +# In bar height, bars that would have been lower that this will not be drawn. +; ignore = 0 + + +[eq] + +# This one is tricky. You can have as much keys as you want. +# Remember to uncomment more then one key! More keys = more precision. +# Look at readme.md on github for further explanations and examples. +; 1 = 1 # bass +; 2 = 1 +; 3 = 1 # midtone +; 4 = 1 +; 5 = 1 # treble diff --git a/.config/compton/compton.conf b/.config/compton/compton.conf new file mode 100644 index 0000000..688d71c --- /dev/null +++ b/.config/compton/compton.conf @@ -0,0 +1,116 @@ +# Shadow +shadow = true; +no-dnd-shadow = true; no-dock-shadow = true; +clear-shadow = true; +shadow-radius = 3; +shadow-offset-x = -2; +shadow-offset-y = 2; +shadow-opacity = 0.5; +# shadow-red = 0.0; +# shadow-green = 0.0; +# shadow-blue = 0.0; +shadow-exclude = [ + "name = 'Notification'", + "class_g = 'Conky'", + "class_g ?= 'Notify-osd'", + "class_g = 'Cairo-clock'", + "_GTK_FRAME_EXTENTS@:c", + "class_g = 'firefox-developer-edition'" +]; +# shadow-exclude = "n:e:Notification"; +# shadow-exclude-reg = "x10+0+0"; +# xinerama-shadow-crop = true; + +# Opacity +menu-opacity = 0.8; +inactive-opacity = 1; +active-opacity = 1; +frame-opacity = 0.7; +inactive-opacity-override = false; +alpha-step = 0.06; +# inactive-dim = 0.2; +# inactive-dim-fixed = true; + + +opacity-rule = [ +"80:class_g *?= 'URxvt'" , +"95:class_g *?= 'alacritty' && name *?='tmux'", +"90:class_g *?= 'alacritty'", +"90:class_g *?= 'xterm'", +"90:class_g *?= 'Alacritty'", +"50:class_g *?= 'variety'", +"95:class_g *?= 'code'", +"85:class_g *?= 'rofi'", +"98:class_g *?= 'Kotatogram'", +"0:class_g *?='Android Emulator'", +"50:class_g *?='pomo'", +"100:class_g *?= 'Webstorm'", +"95:class_g *?= 'Emacs'", +"60:class_g *?= 'zathura'", +"60:class_g *?= 'Zathura'", +]; + +# Blur +blur-background = true; +blur-method = "kawase"; +blur-strength = 8; +#blur-background-frame = true; +#dfasdfblur-kern = "3x3box"; +#blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; +#blur-background-fixed = true; +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'", + "_GTK_FRAME_EXTENTS@:c",, + #"class_g = 'alacritty'", + +] + +# Fading +fading = false; +# fade-delta = 30; +#fade-in-step = 0.03; +#fade-out-step = 0.03; +# no-fading-openclose = true; +# no-fading-destroyed-argb = true; +#fade-exclude = [ ]; + +# Other +mark-wmwin-focused = true; +mark-ovredir-focused = true; +# use-ewmh-active-win = true; +detect-rounded-corners = true; +detect-client-opacity = true; +refresh-rate = 0; +vsync = "none"; +dbe = false; +paint-on-overlay = true; +# sw-opti = true; +# unredir-if-possible = true; +# unredir-if-possible-delay = 5000; +# unredir-if-possible-exclude = [ ]; +focus-exclude = [ "class_g = 'Cairo-clock'", "class_g *?='firefox-developer-edition'" ]; +detect-transient = true; +detect-client-leader = true; +invert-color-include = [ ]; +# resize-damage = 1; + +# GLX backend +backend = "glx" +glx-no-stencil = true; +glx-copy-from-front = false; +# glx-use-copysubbuffermesa = true; +glx-no-rebind-pixmap = true; +glx-swap-method = "undefined"; +# glx-use-gpushader4 = true; +# xrender-sync = true; +# xrender-sync-fence = true; + +# Window type settings +wintypes: +{ + tooltip = { fade = false; shadow = true; opacity = 0.55; focus = true; }; +}; + + + diff --git a/.config/compton/dotfiles/i3/config b/.config/compton/dotfiles/i3/config new file mode 100644 index 0000000..b6e0254 --- /dev/null +++ b/.config/compton/dotfiles/i3/config @@ -0,0 +1,319 @@ +# 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). + + +#Look at existing keybindings names +# ```xmodmap -pke | grep %key%``` + + +# i3 config file (v4) +# +# Please see https://i3wm.org/docs/userguide.html for a complete reference! + +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:Roboto Mono 10, FontAwesome 10 + +# 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 + +# The combination of xss-lock, nm-applet and pactl is a popular choice, so +# they are included here as an example. Modify as you see fit. +# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the +# screen before suspend. Use loginctl lock-session to lock your screen. +exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork + +# NetworkManager is the most popular way to manage wireless networks on Linux, +# and nm-applet is a desktop environment-independent system tray GUI for it. +exec --no-startup-id nm-applet + +# Redshift Night Mode +# exec_always --no-startup-id redshift -P -O 4000 + +set $TERMINAL alacritty +exec_always export TERMINAL=alacritty +# Use pactl to adjust volume in PulseAudio. +set $refresh_i3status killall -SIGUSR1 i3status +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status +bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status + +#Screen brightnes +bindsym XF86MonBrightnessUp exec lux -a 5 +bindsym XF86MonBrightnessDown exec lux -s 5 + + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# start a terminal +bindsym $mod+Return exec alacritty + +# kill focused window +bindsym $mod+Shift+q kill + +# start dmenu (a program launcher) + +#bindsym $mod+d exec "rofi -modi run,drun -show drun -line-padding 4 -columns 2 -width 40 -padding 30 -hide-scrollbar -show-icons -drun-icon-theme Papirus" +set $TERMINAL alacritty +set $dmenu dmenu-terminal $TERMINAL +bindsym $mod+t exec $dmenu +bindsym $mod+d exec dmenu_run + +# 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+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 + +# split in horizontal orientation +bindsym $mod+semicolon 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+Shift+alt 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" + +# switch to workspace +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 +bindsym $mod+6 workspace number $ws6 +bindsym $mod+7 workspace number $ws7 +bindsym $mod+8 workspace number $ws8 +bindsym $mod+9 workspace number $ws9 +bindsym $mod+0 workspace number $ws10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 +bindsym $mod+Shift+6 move container to workspace number $ws6 +bindsym $mod+Shift+7 move container to workspace number $ws7 +bindsym $mod+Shift+8 move container to workspace number $ws8 +bindsym $mod+Shift+9 move container to workspace number $ws9 +bindsym $mod+Shift+0 move container to workspace number $ws10 + +# 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'" + +# 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" + + + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +#---BAR POLYBAR---# +exec_always --no-startup-id ~/.config/polybar/launch.sh + + +###############Stylizing################## +for_window [class="^.*"] border pixel 3 +# border_radius 3 +border_radius 0 + + +#client.focused #488444 #488444 #488444 #488444 #488444 +client.focused_inactive #282a36 #282a36 #282a36 #282a36 #282a36 +#client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a +client.focused #44475a #44475a #44475a #44475a #44475a +#client.unfocused #4c566a #4c566a #4c566a #4c566a #4c566a + + +###############STARTUP Utilites################## +exec /home/horhik/scripts/Startup/wifi.sh #WIFI +###---touchpad--## +exec --no-startup-id /home/horhik/Scripts/startup/touchpad.sh #WIFI +exec --ho-startup-id sh ssh-agent bash ; ssh-add ~/.ssh/arch + +#---Audio---# +exec_always --no-startup-id pacmd set-card-profile 1 output:analog-stereo +exec_always --no-startup-id asoundconf set-default-card CODEC +exec_always --no-startup-id asoundconf set-default-card CODEC +#exec pulseaudio +#---/Audio---# +exec_always --no-startup-id xrandr --output HDMI-1 --above eDP-1 +###############STARTUP Apps################## +#wallpapers +#transparetncy: +exec_always --no-startup-id compton --config ~/.config/compton/compton.conf +#microphone +exec 'pactl set-card-profile alsa_card.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00 output:iec958-stereo+input:analog-stereo' +#---GAPS---# +exec --no-startup-id i3-msg gaps inner all set 10 +exec_always --no-startup-id i3-msg smart_borders on + +set $mode_gaps Gaps: (h) plus, (j) enable, (k) reset, (l) minus +bindsym $mod+Shift+g mode "$mode_gaps" + +mode "$mode_gaps" { + bindsym j gaps inner current plus 5 + bindsym h gaps inner current set 10 + bindsym l gaps inner current set 0 + bindsym k gaps inner current minus 5 + bindsym k gaps inner current minus 5 + bindsym Return mode "default" + bindsym Escape mode "default" +} + +set $mode_apps Apps:(n)otion,(f)irefox,(t)ick-tick,(m)ail,(p)rotonmail +bindsym $mod+Shift+a mode "$mode_apps" + +set $firefox firefox-developer-edition +mode "$mode_apps" { + bindsym f exec $firefox + bindsym n exec $firefox --ssb https://notion.so & i3-msg mode 'default' + bindsym Shift+s exec $firefox --ssb https://music.yandex.com & i3-msg mode 'default' + bindsym t exec $firefox --ssb https://ticktick.com & i3-msg mode 'default' + bindsym m exec $firefox --ssb https://tutanota.io & i3-msg mode 'default' + bindsym p exec $firefox --ssb https://protonmail.com & i3-msg mode 'default' + bindsym q exec qdirstat + bindsym s exec flatpak run com.valvesoftware.Steam + #evince book reader + bindsym b exec evince + bindsym s exec $firefox https://soundcloud.com + #watch Toggl Timer + bindsym w exec surf https://toggl.com/app/timer + bindsym y exec $firefox music.yandex.ru/ + bindsym d exec surf https://www.collinsdictionary.com/ + #bindsym Return mode "default" + bindsym Escape mode "default" +} +#---shortcuts---# +bindsym $mod+Shift+s exec flameshot gui + +#---Language---# +exec_always setxkbmap -layout us,ru +exec_always xkb-switch -s us,ru + +bindsym $mod+space exec xkb-switch -n + +#--Floating togglable windows--# + + # Terminal + for_window [title="dropdown"] floating enable + for_window [title="dropdown"] resize set 825 600 + for_window [title="dropdown"] move scratchpad + for_window [title="dropdown"] floating enable + for_window [title="dropdown"] border pixel 3 + exec --no-startup-id alacritty -t dropdown -e tmux + bindsym $mod+u [title="dropdown"] scratchpad show; [title="dropdown"] move position center + + # Toggl timer + for_window [title="@cgDISVMFxT:T | Toggl"] floating enable + for_window [title="@cgDISVMFxT:T | Toggl"] resize set 800 70 + for_window [title="@cgDISVMFxT:T | Toggl"] move scratchpad + for_window [title="@cgDISVMFxT:T | Toggl"] floating enable + for_window [title="@cgDISVMFxT:T | Toggl"] border pixel 3 + bindsym $mod+Shift+t [title="@cgDISVMFxT:T | Toggl"] scratchpad show; [title="@cgDISVMFxT:T | Toggl"] move position center + exec --no-startup-id surf https://toggl.com/app/timer + +#Emoji +bindsym $mod+period exec rofimoji +# Usage + # Hit enter to insert the emoji directly + # Hit alt+c to copy it to the clipboard + # alt+t or alt+p can be used to select a specific input method + # alt+1 inserts the most recently used character (alt+2 for the second most recently one etc.) + + + + +exec variety +exec_always --no-startup-id variety --next + +exec "workspace 6;exec append_layout ~/Scripts/bin/freelances2.json; exec ~/Scripts/bin/freelances" + diff --git a/.config/compton/dotfiles/i3/log.log b/.config/compton/dotfiles/i3/log.log new file mode 100644 index 0000000..139597f --- /dev/null +++ b/.config/compton/dotfiles/i3/log.log @@ -0,0 +1,2 @@ + + diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc new file mode 100644 index 0000000..be755df --- /dev/null +++ b/.config/dunst/dunstrc @@ -0,0 +1,416 @@ +[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-30+20" + + # 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 = 30 + + # 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 = 20 + + # Padding between text and separator. + padding = 24 + + # Horizontal padding. + horizontal_padding = 8 + + # Defines width in pixels of frame around the notification window. + # Set to 0 to disable. + frame_width = 4 + + # Defines color of the frame around the notification window. + frame_color = "#44475a" + + # 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 + + # 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. + # A client can set the 'transient' hint to bypass this. See the rules + # section for how to disable this if necessary + idle_threshold = 120 + + ### Text ### + + font = Mononoki 12 + + # 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 = full + + # 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 make an ellipsis in long lines. + # Possible values are "start", "middle" and "end". + ellipsize = middle + + # Ignore newlines '\n' in notifications. + ignore_newline = no + + # Stack together notifications with the same content + stack_duplicates = true + + # Hide the count of stacked 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/Papirus-Dark/16x16:/usr/share/icons/Papirus/16x16:/home/horhik/Pictures/icons + ### 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 + + # Manage dunst's desire for talking + # Can be one of the following values: + # crit: Critical features. Dunst aborts + # warn: Only non-fatal warnings + # mesg: Important Messages + # info: all unimportant stuff + # debug: all less than unimportant stuff + verbosity = mesg + + # Define the corner radius of the notification window + # in pixel size. If the radius is 0, you have no rounded + # corners. + # The radius will be automatically lowered if it exceeds half of the + # notification height to avoid clipping text and/or icons. + corner_radius = 0 + + ### 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 + + ### mouse + + # Defines action of mouse event + # Possible values are: + # * none: Don't do anything. + # * do_action: If the notification has exactly one action, or one is marked as default, + # invoke it. If there are multiple and no default, open the context menu. + # * close_current: Close current notification. + # * close_all: Close all notifications. + mouse_left_click = close_current + mouse_middle_click = do_action + mouse_right_click = close_all + +# 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 = "#282a36" + foreground = "#f8f8f2" + frame_color = "#50fa7b" + timeout = 10 + # Icon for notifications with low urgency, uncomment to enable + #icon = /path/to/icon + +[urgency_normal] + background = "#282a36" + foreground = "#ffffff" + frame_color = "#8be9fd" + timeout = 10 + # Icon for notifications with normal urgency, uncomment to enable + #icon = /path/to/icon + +[urgency_critical] + background = "#44475a" + foreground = "#ff5555" + frame_color = "#ff5555" + timeout = 0 + # Icon for notifications with critical urgency, uncomment to enable + icon = ~/Pictures/icons/warning.svg + + +# 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 (discouraged, see desktop_entry) +# body +# category +# desktop_entry +# icon +# match_transient +# msg_urgency +# stack_tag +# summary +# +# and you can override the +# background +# foreground +# format +# frame_color +# fullscreen +# new_icon +# set_stack_tag +# set_transient +# timeout +# urgency +# +# Shell-like globbing will get expanded. +# +# Instead of the appname filter, it's recommended to use the desktop_entry filter. +# GLib based applications export their desktop-entry name. In comparison to the appname, +# the desktop-entry won't get localized. +# +# 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. + +# Disable the transient hint so that idle_threshold cannot be bypassed from the +# client +#[transient_disable] +# match_transient = yes +# set_transient = no +# +# Make the handling of transient notifications more strict by making them not +# be placed in history. +#[transient_history_ignore] +# match_transient = yes +# history_ignore = yes + +# fullscreen values +# show: show the notifications, regardless if there is a fullscreen window opened +# delay: displays the new notification, if there is no fullscreen window active +# If the notification is already drawn, it won't get undrawn. +# pushback: same as delay, but when switching into fullscreen, the notification will get +# withdrawn from screen again and will get delayed like a new notification +#[fullscreen_delay_everything] +# fullscreen = delay +#[fullscreen_show_critical] +# msg_urgency = critical +# fullscreen = show + +#[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 + +#[skip-display] +# # This notification will not be displayed, but will be included in the history +# summary = "foobar" +# skip_display = 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 +# +#[stack-volumes] +# appname = "some_volume_notifiers" +# set_stack_tag = "volume" +# +# vim: ft=cfg diff --git a/.config/fish/conf.d/omf.fish b/.config/fish/conf.d/omf.fish new file mode 100644 index 0000000..3e0f6d6 --- /dev/null +++ b/.config/fish/conf.d/omf.fish @@ -0,0 +1,7 @@ +# Path to Oh My Fish install. +set -q XDG_DATA_HOME + and set -gx OMF_PATH "$XDG_DATA_HOME/omf" + or set -gx OMF_PATH "$HOME/.local/share/omf" + +# Load Oh My Fish configuration. +source $OMF_PATH/init.fish diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables new file mode 100644 index 0000000..b35839f --- /dev/null +++ b/.config/fish/fish_variables @@ -0,0 +1,36 @@ +# This file contains fish universal variable definitions. +# VERSION: 3.0 +SETUVAR __fish_initialized:3100 +SETUVAR fish_color_autosuggestion:555\x1ebrblack +SETUVAR fish_color_cancel:\x2dr +SETUVAR fish_color_command:005fd7 +SETUVAR fish_color_comment:990000 +SETUVAR fish_color_cwd:green +SETUVAR fish_color_cwd_root:red +SETUVAR fish_color_end:009900 +SETUVAR fish_color_error:ff0000 +SETUVAR fish_color_escape:00a6b2 +SETUVAR fish_color_history_current:\x2d\x2dbold +SETUVAR fish_color_host:normal +SETUVAR fish_color_host_remote:yellow +SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue +SETUVAR fish_color_normal:normal +SETUVAR fish_color_operator:00a6b2 +SETUVAR fish_color_param:00afff +SETUVAR fish_color_quote:999900 +SETUVAR fish_color_redirection:00afff +SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack +SETUVAR fish_color_selection:green\x1e\x2db +SETUVAR fish_color_status:red +SETUVAR fish_color_user:brgreen +SETUVAR fish_color_valid_path:\x2d\x2dunderline +SETUVAR fish_cursor_default:line +SETUVAR fish_cursor_insert:line +SETUVAR fish_cursor_normal:block +SETUVAR fish_cursor_replace_one:underscore +SETUVAR fish_greeting:Welcome\x20to\x20fish\x2c\x20the\x20friendly\x20interactive\x20shell\x0aType\x20\x60help\x60\x20for\x20instructions\x20on\x20how\x20to\x20use\x20fish +SETUVAR fish_key_bindings:fish_vi_key_bindings +SETUVAR fish_pager_color_completion:\x1d +SETUVAR fish_pager_color_description:B3A06D\x1eyellow +SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline +SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan diff --git a/.config/fish/functions/fish_prompt.fish b/.config/fish/functions/fish_prompt.fish new file mode 120000 index 0000000..3fd0d45 --- /dev/null +++ b/.config/fish/functions/fish_prompt.fish @@ -0,0 +1 @@ +/home/horhik/.local/share/omf/themes/agnoster/fish_prompt.fish \ No newline at end of file diff --git a/.config/hub b/.config/hub new file mode 100644 index 0000000..6ff92f8 --- /dev/null +++ b/.config/hub @@ -0,0 +1,4 @@ +github.com: +- user: Horhik + oauth_token: 0a12aa606f320a3af03c5a388a9e59f0da13e6fc + protocol: https diff --git a/.config/i3/config b/.config/i3/config new file mode 100644 index 0000000..b6e0254 --- /dev/null +++ b/.config/i3/config @@ -0,0 +1,319 @@ +# 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). + + +#Look at existing keybindings names +# ```xmodmap -pke | grep %key%``` + + +# i3 config file (v4) +# +# Please see https://i3wm.org/docs/userguide.html for a complete reference! + +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:Roboto Mono 10, FontAwesome 10 + +# 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 + +# The combination of xss-lock, nm-applet and pactl is a popular choice, so +# they are included here as an example. Modify as you see fit. +# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the +# screen before suspend. Use loginctl lock-session to lock your screen. +exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork + +# NetworkManager is the most popular way to manage wireless networks on Linux, +# and nm-applet is a desktop environment-independent system tray GUI for it. +exec --no-startup-id nm-applet + +# Redshift Night Mode +# exec_always --no-startup-id redshift -P -O 4000 + +set $TERMINAL alacritty +exec_always export TERMINAL=alacritty +# Use pactl to adjust volume in PulseAudio. +set $refresh_i3status killall -SIGUSR1 i3status +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status +bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status + +#Screen brightnes +bindsym XF86MonBrightnessUp exec lux -a 5 +bindsym XF86MonBrightnessDown exec lux -s 5 + + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# start a terminal +bindsym $mod+Return exec alacritty + +# kill focused window +bindsym $mod+Shift+q kill + +# start dmenu (a program launcher) + +#bindsym $mod+d exec "rofi -modi run,drun -show drun -line-padding 4 -columns 2 -width 40 -padding 30 -hide-scrollbar -show-icons -drun-icon-theme Papirus" +set $TERMINAL alacritty +set $dmenu dmenu-terminal $TERMINAL +bindsym $mod+t exec $dmenu +bindsym $mod+d exec dmenu_run + +# 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+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 + +# split in horizontal orientation +bindsym $mod+semicolon 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+Shift+alt 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" + +# switch to workspace +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 +bindsym $mod+6 workspace number $ws6 +bindsym $mod+7 workspace number $ws7 +bindsym $mod+8 workspace number $ws8 +bindsym $mod+9 workspace number $ws9 +bindsym $mod+0 workspace number $ws10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 +bindsym $mod+Shift+6 move container to workspace number $ws6 +bindsym $mod+Shift+7 move container to workspace number $ws7 +bindsym $mod+Shift+8 move container to workspace number $ws8 +bindsym $mod+Shift+9 move container to workspace number $ws9 +bindsym $mod+Shift+0 move container to workspace number $ws10 + +# 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'" + +# 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" + + + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +#---BAR POLYBAR---# +exec_always --no-startup-id ~/.config/polybar/launch.sh + + +###############Stylizing################## +for_window [class="^.*"] border pixel 3 +# border_radius 3 +border_radius 0 + + +#client.focused #488444 #488444 #488444 #488444 #488444 +client.focused_inactive #282a36 #282a36 #282a36 #282a36 #282a36 +#client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a +client.focused #44475a #44475a #44475a #44475a #44475a +#client.unfocused #4c566a #4c566a #4c566a #4c566a #4c566a + + +###############STARTUP Utilites################## +exec /home/horhik/scripts/Startup/wifi.sh #WIFI +###---touchpad--## +exec --no-startup-id /home/horhik/Scripts/startup/touchpad.sh #WIFI +exec --ho-startup-id sh ssh-agent bash ; ssh-add ~/.ssh/arch + +#---Audio---# +exec_always --no-startup-id pacmd set-card-profile 1 output:analog-stereo +exec_always --no-startup-id asoundconf set-default-card CODEC +exec_always --no-startup-id asoundconf set-default-card CODEC +#exec pulseaudio +#---/Audio---# +exec_always --no-startup-id xrandr --output HDMI-1 --above eDP-1 +###############STARTUP Apps################## +#wallpapers +#transparetncy: +exec_always --no-startup-id compton --config ~/.config/compton/compton.conf +#microphone +exec 'pactl set-card-profile alsa_card.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00 output:iec958-stereo+input:analog-stereo' +#---GAPS---# +exec --no-startup-id i3-msg gaps inner all set 10 +exec_always --no-startup-id i3-msg smart_borders on + +set $mode_gaps Gaps: (h) plus, (j) enable, (k) reset, (l) minus +bindsym $mod+Shift+g mode "$mode_gaps" + +mode "$mode_gaps" { + bindsym j gaps inner current plus 5 + bindsym h gaps inner current set 10 + bindsym l gaps inner current set 0 + bindsym k gaps inner current minus 5 + bindsym k gaps inner current minus 5 + bindsym Return mode "default" + bindsym Escape mode "default" +} + +set $mode_apps Apps:(n)otion,(f)irefox,(t)ick-tick,(m)ail,(p)rotonmail +bindsym $mod+Shift+a mode "$mode_apps" + +set $firefox firefox-developer-edition +mode "$mode_apps" { + bindsym f exec $firefox + bindsym n exec $firefox --ssb https://notion.so & i3-msg mode 'default' + bindsym Shift+s exec $firefox --ssb https://music.yandex.com & i3-msg mode 'default' + bindsym t exec $firefox --ssb https://ticktick.com & i3-msg mode 'default' + bindsym m exec $firefox --ssb https://tutanota.io & i3-msg mode 'default' + bindsym p exec $firefox --ssb https://protonmail.com & i3-msg mode 'default' + bindsym q exec qdirstat + bindsym s exec flatpak run com.valvesoftware.Steam + #evince book reader + bindsym b exec evince + bindsym s exec $firefox https://soundcloud.com + #watch Toggl Timer + bindsym w exec surf https://toggl.com/app/timer + bindsym y exec $firefox music.yandex.ru/ + bindsym d exec surf https://www.collinsdictionary.com/ + #bindsym Return mode "default" + bindsym Escape mode "default" +} +#---shortcuts---# +bindsym $mod+Shift+s exec flameshot gui + +#---Language---# +exec_always setxkbmap -layout us,ru +exec_always xkb-switch -s us,ru + +bindsym $mod+space exec xkb-switch -n + +#--Floating togglable windows--# + + # Terminal + for_window [title="dropdown"] floating enable + for_window [title="dropdown"] resize set 825 600 + for_window [title="dropdown"] move scratchpad + for_window [title="dropdown"] floating enable + for_window [title="dropdown"] border pixel 3 + exec --no-startup-id alacritty -t dropdown -e tmux + bindsym $mod+u [title="dropdown"] scratchpad show; [title="dropdown"] move position center + + # Toggl timer + for_window [title="@cgDISVMFxT:T | Toggl"] floating enable + for_window [title="@cgDISVMFxT:T | Toggl"] resize set 800 70 + for_window [title="@cgDISVMFxT:T | Toggl"] move scratchpad + for_window [title="@cgDISVMFxT:T | Toggl"] floating enable + for_window [title="@cgDISVMFxT:T | Toggl"] border pixel 3 + bindsym $mod+Shift+t [title="@cgDISVMFxT:T | Toggl"] scratchpad show; [title="@cgDISVMFxT:T | Toggl"] move position center + exec --no-startup-id surf https://toggl.com/app/timer + +#Emoji +bindsym $mod+period exec rofimoji +# Usage + # Hit enter to insert the emoji directly + # Hit alt+c to copy it to the clipboard + # alt+t or alt+p can be used to select a specific input method + # alt+1 inserts the most recently used character (alt+2 for the second most recently one etc.) + + + + +exec variety +exec_always --no-startup-id variety --next + +exec "workspace 6;exec append_layout ~/Scripts/bin/freelances2.json; exec ~/Scripts/bin/freelances" + diff --git a/.config/i3/dotfiles/i3/config b/.config/i3/dotfiles/i3/config new file mode 100644 index 0000000..b6e0254 --- /dev/null +++ b/.config/i3/dotfiles/i3/config @@ -0,0 +1,319 @@ +# 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). + + +#Look at existing keybindings names +# ```xmodmap -pke | grep %key%``` + + +# i3 config file (v4) +# +# Please see https://i3wm.org/docs/userguide.html for a complete reference! + +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:Roboto Mono 10, FontAwesome 10 + +# 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 + +# The combination of xss-lock, nm-applet and pactl is a popular choice, so +# they are included here as an example. Modify as you see fit. +# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the +# screen before suspend. Use loginctl lock-session to lock your screen. +exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork + +# NetworkManager is the most popular way to manage wireless networks on Linux, +# and nm-applet is a desktop environment-independent system tray GUI for it. +exec --no-startup-id nm-applet + +# Redshift Night Mode +# exec_always --no-startup-id redshift -P -O 4000 + +set $TERMINAL alacritty +exec_always export TERMINAL=alacritty +# Use pactl to adjust volume in PulseAudio. +set $refresh_i3status killall -SIGUSR1 i3status +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status +bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status + +#Screen brightnes +bindsym XF86MonBrightnessUp exec lux -a 5 +bindsym XF86MonBrightnessDown exec lux -s 5 + + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# start a terminal +bindsym $mod+Return exec alacritty + +# kill focused window +bindsym $mod+Shift+q kill + +# start dmenu (a program launcher) + +#bindsym $mod+d exec "rofi -modi run,drun -show drun -line-padding 4 -columns 2 -width 40 -padding 30 -hide-scrollbar -show-icons -drun-icon-theme Papirus" +set $TERMINAL alacritty +set $dmenu dmenu-terminal $TERMINAL +bindsym $mod+t exec $dmenu +bindsym $mod+d exec dmenu_run + +# 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+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 + +# split in horizontal orientation +bindsym $mod+semicolon 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+Shift+alt 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" + +# switch to workspace +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 +bindsym $mod+6 workspace number $ws6 +bindsym $mod+7 workspace number $ws7 +bindsym $mod+8 workspace number $ws8 +bindsym $mod+9 workspace number $ws9 +bindsym $mod+0 workspace number $ws10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 +bindsym $mod+Shift+6 move container to workspace number $ws6 +bindsym $mod+Shift+7 move container to workspace number $ws7 +bindsym $mod+Shift+8 move container to workspace number $ws8 +bindsym $mod+Shift+9 move container to workspace number $ws9 +bindsym $mod+Shift+0 move container to workspace number $ws10 + +# 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'" + +# 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" + + + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +#---BAR POLYBAR---# +exec_always --no-startup-id ~/.config/polybar/launch.sh + + +###############Stylizing################## +for_window [class="^.*"] border pixel 3 +# border_radius 3 +border_radius 0 + + +#client.focused #488444 #488444 #488444 #488444 #488444 +client.focused_inactive #282a36 #282a36 #282a36 #282a36 #282a36 +#client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a +client.focused #44475a #44475a #44475a #44475a #44475a +#client.unfocused #4c566a #4c566a #4c566a #4c566a #4c566a + + +###############STARTUP Utilites################## +exec /home/horhik/scripts/Startup/wifi.sh #WIFI +###---touchpad--## +exec --no-startup-id /home/horhik/Scripts/startup/touchpad.sh #WIFI +exec --ho-startup-id sh ssh-agent bash ; ssh-add ~/.ssh/arch + +#---Audio---# +exec_always --no-startup-id pacmd set-card-profile 1 output:analog-stereo +exec_always --no-startup-id asoundconf set-default-card CODEC +exec_always --no-startup-id asoundconf set-default-card CODEC +#exec pulseaudio +#---/Audio---# +exec_always --no-startup-id xrandr --output HDMI-1 --above eDP-1 +###############STARTUP Apps################## +#wallpapers +#transparetncy: +exec_always --no-startup-id compton --config ~/.config/compton/compton.conf +#microphone +exec 'pactl set-card-profile alsa_card.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00 output:iec958-stereo+input:analog-stereo' +#---GAPS---# +exec --no-startup-id i3-msg gaps inner all set 10 +exec_always --no-startup-id i3-msg smart_borders on + +set $mode_gaps Gaps: (h) plus, (j) enable, (k) reset, (l) minus +bindsym $mod+Shift+g mode "$mode_gaps" + +mode "$mode_gaps" { + bindsym j gaps inner current plus 5 + bindsym h gaps inner current set 10 + bindsym l gaps inner current set 0 + bindsym k gaps inner current minus 5 + bindsym k gaps inner current minus 5 + bindsym Return mode "default" + bindsym Escape mode "default" +} + +set $mode_apps Apps:(n)otion,(f)irefox,(t)ick-tick,(m)ail,(p)rotonmail +bindsym $mod+Shift+a mode "$mode_apps" + +set $firefox firefox-developer-edition +mode "$mode_apps" { + bindsym f exec $firefox + bindsym n exec $firefox --ssb https://notion.so & i3-msg mode 'default' + bindsym Shift+s exec $firefox --ssb https://music.yandex.com & i3-msg mode 'default' + bindsym t exec $firefox --ssb https://ticktick.com & i3-msg mode 'default' + bindsym m exec $firefox --ssb https://tutanota.io & i3-msg mode 'default' + bindsym p exec $firefox --ssb https://protonmail.com & i3-msg mode 'default' + bindsym q exec qdirstat + bindsym s exec flatpak run com.valvesoftware.Steam + #evince book reader + bindsym b exec evince + bindsym s exec $firefox https://soundcloud.com + #watch Toggl Timer + bindsym w exec surf https://toggl.com/app/timer + bindsym y exec $firefox music.yandex.ru/ + bindsym d exec surf https://www.collinsdictionary.com/ + #bindsym Return mode "default" + bindsym Escape mode "default" +} +#---shortcuts---# +bindsym $mod+Shift+s exec flameshot gui + +#---Language---# +exec_always setxkbmap -layout us,ru +exec_always xkb-switch -s us,ru + +bindsym $mod+space exec xkb-switch -n + +#--Floating togglable windows--# + + # Terminal + for_window [title="dropdown"] floating enable + for_window [title="dropdown"] resize set 825 600 + for_window [title="dropdown"] move scratchpad + for_window [title="dropdown"] floating enable + for_window [title="dropdown"] border pixel 3 + exec --no-startup-id alacritty -t dropdown -e tmux + bindsym $mod+u [title="dropdown"] scratchpad show; [title="dropdown"] move position center + + # Toggl timer + for_window [title="@cgDISVMFxT:T | Toggl"] floating enable + for_window [title="@cgDISVMFxT:T | Toggl"] resize set 800 70 + for_window [title="@cgDISVMFxT:T | Toggl"] move scratchpad + for_window [title="@cgDISVMFxT:T | Toggl"] floating enable + for_window [title="@cgDISVMFxT:T | Toggl"] border pixel 3 + bindsym $mod+Shift+t [title="@cgDISVMFxT:T | Toggl"] scratchpad show; [title="@cgDISVMFxT:T | Toggl"] move position center + exec --no-startup-id surf https://toggl.com/app/timer + +#Emoji +bindsym $mod+period exec rofimoji +# Usage + # Hit enter to insert the emoji directly + # Hit alt+c to copy it to the clipboard + # alt+t or alt+p can be used to select a specific input method + # alt+1 inserts the most recently used character (alt+2 for the second most recently one etc.) + + + + +exec variety +exec_always --no-startup-id variety --next + +exec "workspace 6;exec append_layout ~/Scripts/bin/freelances2.json; exec ~/Scripts/bin/freelances" + diff --git a/.config/i3/dotfiles/i3/log.log b/.config/i3/dotfiles/i3/log.log new file mode 100644 index 0000000..139597f --- /dev/null +++ b/.config/i3/dotfiles/i3/log.log @@ -0,0 +1,2 @@ + + diff --git a/.config/i3/log.log b/.config/i3/log.log new file mode 100644 index 0000000..139597f --- /dev/null +++ b/.config/i3/log.log @@ -0,0 +1,2 @@ + + diff --git a/.config/nvim/autoload/lighline/colorscheme/onedark.vim b/.config/nvim/autoload/lighline/colorscheme/onedark.vim new file mode 100644 index 0000000..10f9a0b --- /dev/null +++ b/.config/nvim/autoload/lighline/colorscheme/onedark.vim @@ -0,0 +1,58 @@ +" [onedark.vim](https://github.com/joshdick/onedark.vim/) + +" This is a [lightline.vim](https://github.com/itchyny/lightline.vim) colorscheme for use with +" the [onedark.vim](https://github.com/joshdick/onedark.vim) colorscheme. + +let s:colors = onedark#GetColors() + +if get(g:, 'onedark_termcolors', 256) == 16 + let s:term_red = s:colors.red.cterm16 + let s:term_green = s:colors.green.cterm16 + let s:term_yellow = s:colors.yellow.cterm16 + let s:term_blue = s:colors.blue.cterm16 + let s:term_purple = s:colors.purple.cterm16 + let s:term_white = s:colors.white.cterm16 + let s:term_black = s:colors.black.cterm16 + let s:term_grey = s:colors.cursor_grey.cterm16 +else + let s:term_red = s:colors.red.cterm + let s:term_green = s:colors.green.cterm + let s:term_yellow = s:colors.yellow.cterm + let s:term_blue = s:colors.blue.cterm + let s:term_purple = s:colors.purple.cterm + let s:term_white = s:colors.white.cterm + let s:term_black = s:colors.black.cterm + let s:term_grey = s:colors.cursor_grey.cterm +endif + +let s:red = [ s:colors.red.gui, s:term_red ] +let s:green = [ s:colors.green.gui, s:term_green ] +let s:yellow = [ s:colors.yellow.gui, s:term_yellow ] +let s:blue = [ s:colors.blue.gui, s:term_blue ] +let s:purple = [ s:colors.purple.gui, s:term_purple ] +let s:white = [ s:colors.white.gui, s:term_white ] +let s:black = [ s:colors.black.gui, s:term_black ] +let s:grey = [ s:colors.visual_grey.gui, s:term_grey ] + +let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}} +let s:p.normal.left = [ [ s:black, s:green ], [ s:white, s:grey ] ] +let s:p.normal.right = [ [ s:black, s:green ], [ s:white, s:grey ] ] +let s:p.inactive.left = [ [ s:white, s:grey ], [ s:white, s:grey ] ] +let s:p.inactive.right = [ [ s:black, s:white ], [ s:black, s:white ] ] +let s:p.insert.left = [ [ s:black, s:blue ], [ s:white, s:grey ] ] +let s:p.insert.right = [ [ s:black, s:blue ], [ s:white, s:grey ] ] +let s:p.replace.left = [ [ s:black, s:red ], [ s:white, s:grey ] ] +let s:p.replace.right = [ [ s:black, s:red ], [ s:white, s:grey ] ] +let s:p.visual.left = [ [ s:black, s:purple ], [ s:white, s:grey ] ] +let s:p.visual.right = [ [ s:black, s:purple ], [ s:white, s:grey ] ] +let s:p.normal.middle = [ [ s:white, s:black ] ] +let s:p.inactive.middle = [ [ s:white, s:grey ] ] +let s:p.tabline.left = [ [ s:white, s:grey ] ] +let s:p.tabline.tabsel = [ [ s:black, s:white ] ] +let s:p.tabline.middle = [ [ s:white, s:black ] ] +let s:p.tabline.right = [ [ s:white, s:grey ] ] +let s:p.normal.error = [ [ s:black, s:red ] ] +let s:p.normal.warning = [ [ s:black, s:yellow ] ] + +let g:lightline#colorscheme#onedark#palette = lightline#colorscheme#flatten(s:p) + diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim new file mode 100644 index 0000000..5854ffe --- /dev/null +++ b/.config/nvim/init.vim @@ -0,0 +1,118 @@ +" +"░█░█░█▀█░█▀▄░█░█░▀█▀░█░█░░░░█▀▄░█▀▀░█░█ +"░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄░░░░█░█░█▀▀░▀▄▀ +"░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀░▀░░▀▀░░▀▀▀░░▀░ +" +" +syntax enable +syntax on +set nocompatible +set relativenumber +set nu rnu +set wildmenu +set mouse=a +set noshowmode +set tabstop=2 +set shiftwidth=2 +set expandtab +set guifont="Fira Mono for Powerline"\ 14 +set encoding=UTF-8 +set path+=** + + +"---Plugins---" +call plug#begin('~/.vim/plugged') +Plug 'fatih/vim-go', { 'tag': '*' } +Plug 'mboughaba/i3config.vim' +Plug 'neovimhaskell/haskell-vim' +Plug 'gchrisdone/hindent' +Plug 'gjaspervdj/stylish-haskell' +Plug 'jaspervdj/stylish-haskell' +Plug 'chrisdone/hindent' +Plug 'dense-analysis/ale' +Plug 'itchyny/lightline.vim' +Plug 'terryma/vim-multiple-cursors' +Plug 'tpope/vim-surround' +Plug 'preservim/nerdtree' +Plug 'phanviet/vim-monokai-pro' +Plug 'sonph/onehalf', {'rtp': 'vim/'} +Plug 'sheerun/vim-polyglot' +Plug 'ayu-theme/ayu-vim' " or other package manager +Plug 'sickill/vim-monokai' +Plug 'yarisgutierrez/ayu-lightline' +Plug 'vim-airline/vim-airline' +Plug 'vim-airline/vim-airline-themes' +Plug 'ryanoasis/vim-devicons' +Plug 'prettier/vim-prettier', { 'do': 'yarn install' } +Plug 'arcticicestudio/nord-vim' +Plug 'autozimu/LanguageClient-neovim' +Plug 'lervag/vimtex' +Plug 'ap/vim-css-color' +Plug 'joshdick/onedark.vim' +Plug 'dracula/vim' +call plug#end() + +aug i3config_ft_detection + au! + au BufNewFile,BufRead ~/.config/i3/config set filetype=i3config +aug end + +if !has('gui_running') + set t_Co=256 +endif +let g:molokai_original = 1 +" ---AirLine--- " +let g:airline_powerline_fonts = 1 +let g:airline#extensions#tabline#enabled = 1 +let g:airline#extensions#tabline#left_sep = ' ' +let g:airline#extensions#tabline#left_alt_sep = '|' + +"Use 24-bit (true-color) mode in Vim/Neovim when outside tmux. +"If you're using tmux version 2.2 or later, you can remove the outermost $TMUX check and use tmux's 24-bit color support +"(see < http://sunaku.github.io/tmux-24bit-color.html#usage > for more information.) +if (empty($TMUX)) + if (has("nvim")) + "For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 > + let $NVIM_TUI_ENABLE_TRUE_COLOR=1 + endif + "For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 > + "Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd > + " < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 > + if (has("termguicolors")) + set termguicolors + endif +endif + + + +set termguicolors " enable true colors support +"let ayucolor="mirage" " for mirage version of theme +let ayucolor="dark" " for dark version of theme +" colorscheme onedark +colorscheme dracula +let g:airline_theme='onedark' +let g:onedark_terminal_italics = 1 + + +"keybuildings" +map :NERDTreeToggle + + +let g:prettier#config#print_width = 'auto' +let g:prettier#config#tab_width = 'auto' +let g:prettier#config#use_tabs = 'auto' +let g:prettier#config#parser = '' +let g:prettier#config#config_precedence = 'file-override' +let g:prettier#config#prose_wrap = 'preserve' +let g:prettier#config#html_whitespace_sensitivity = 'css' +let g:prettier#config#require_pragma = 'false' + +" Prettier +let g:prettier#autoformat = 1 +let g:prettier#exec_cmd_path = "/usr/bin/prettier" +let g:prettier#config#trailing_comma = 'none' + + +"--Ale--" +let g:ale_fix_on_save = 1 +let b:ale_fixers = ['prettier', 'eslint'] diff --git a/.config/omf/bundle b/.config/omf/bundle new file mode 100644 index 0000000..fe3e15a --- /dev/null +++ b/.config/omf/bundle @@ -0,0 +1,18 @@ +package archlinux +package colored-man-pages +package colorman +package fuck +package vcs +theme agnoster +theme ays +theme batman +theme cbjohnson +theme chain +theme cyan +theme default +theme krisleech +theme lambda +theme neolambda +theme one +theme perryh +theme sashimi diff --git a/.config/omf/channel b/.config/omf/channel new file mode 100644 index 0000000..38f8e88 --- /dev/null +++ b/.config/omf/channel @@ -0,0 +1 @@ +dev diff --git a/.config/omf/functions/__ssh_agent_is_started.fish b/.config/omf/functions/__ssh_agent_is_started.fish new file mode 100644 index 0000000..db14558 --- /dev/null +++ b/.config/omf/functions/__ssh_agent_is_started.fish @@ -0,0 +1,14 @@ +function __ssh_agent_is_started -d "check if ssh agent is already started" + if begin; test -f $SSH_ENV; and test -z "$SSH_AGENT_PID"; end + source $SSH_ENV > /dev/null + end + + if test -z "$SSH_AGENT_PID" + return 1 + end + + ssh-add -l > /dev/null 2>&1 + if test $status -eq 2 + return 1 + end +end diff --git a/.config/omf/functions/__ssh_agent_start.fish b/.config/omf/functions/__ssh_agent_start.fish new file mode 100644 index 0000000..3766fe4 --- /dev/null +++ b/.config/omf/functions/__ssh_agent_start.fish @@ -0,0 +1,5 @@ +function __ssh_agent_start -d "start a new ssh agent" + ssh-agent -c | sed 's/^echo/#echo/' > $SSH_ENV + chmod 600 $SSH_ENV + source $SSH_ENV > /dev/null +end diff --git a/.config/omf/init.fish b/.config/omf/init.fish new file mode 100644 index 0000000..3bad4bb --- /dev/null +++ b/.config/omf/init.fish @@ -0,0 +1,106 @@ + +function fish_user_key_bindings + fish_vi_key_bindings +end + +#---startup---# +neofetch +ssh-add ~/.ssh/arch I + + +function __ssh_agent_start -d "start a new ssh agent" + ssh-agent -c | sed 's/^echo/#echo/' > $SSH_ENV + chmod 600 $SSH_ENV + source $SSH_ENV > /dev/null +end + +function __ssh_agent_is_started -d "check if ssh agent is already started" + if begin; test -f $SSH_ENV; and test -z "$SSH_AGENT_PID"; end + source $SSH_ENV > /dev/null + end + + if test -z "$SSH_AGENT_PID" + return 1 + end + + ssh-add -l > /dev/null 2>&1 + if test $status -eq 2 + return 1 + end +end + + +if test -z "$SSH_ENV" + set -xg SSH_ENV $HOME/.ssh/environment +end + +if not __ssh_agent_is_started + __ssh_agent_start +end + +# exec ssh-add ~/.ssh/arch + +#---vim---# +alias vim nvim +alias vi "/bin/vim" + +#---configs---# +alias i3cfg "vim ~/.config/i3/config" +alias pbcfg "vim ~/.config/polybar/config.ini" +alias compfg "vim ~/.config/compton/compton.conf" +alias alacfg "vim ~/.config/alacritty/alacritty.yml" +alias fishcfg "vim ~/.config/omf/init.fish" +alias fishf "vim ~/.config/omf/init.fish" +alias vicfg "vim ~/.config/nvim/init.vim" +alias zshcfg "vim ~/.zshrc" +alias dev-ankilan "tmux at -t ankilan" +alias firefox firefox-developer-edition +alias vim1 "alacritty -e nvim" +alias gc "git clone" +alias gp "ssh-add ~/.ssh/arch; git push" +alias clj "clojure" + +set TERMINAL st + + +set -U fish_cursor_normal block +set -U fish_cursor_insert line +set -U fish_cursor_replace_one underscore + +function fish_user_key_bindings + # Execute this once per mode that emacs bindings should be used in + fish_default_key_bindings -M insert + # Without an argument, fish_vi_key_bindings will default to + # resetting all bindings. + # The argument specifies the initial mode (insert, "default" or visual). + fish_vi_key_bindings insert +end + + + +function fish_mode_prompt +end + +function fish_right_prompt -d "Write out the right prompt" + switch $fish_bind_mode + case default + set_color --bold red + echo 'N' + case insert + set_color --bold green + echo 'I' + case replace_one + set_color --bold yellow + echo 'R' + case visual + set_color --bold brmagenta + echo 'V' + case '*' + set_color --bold red + echo '?' + end + set_color normal +end + + + diff --git a/.config/omf/theme b/.config/omf/theme new file mode 100644 index 0000000..e957063 --- /dev/null +++ b/.config/omf/theme @@ -0,0 +1 @@ +agnoster diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf new file mode 100644 index 0000000..d2547a4 --- /dev/null +++ b/.config/picom/picom.conf @@ -0,0 +1,481 @@ +################################# +# Shadows # +################################# + + +# Enabled client-side shadows on windows. Note desktop windows +# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, +# unless explicitly requested using the wintypes option. +# +# shadow = false +shadow = true; + +# The blur radius for shadows, in pixels. (defaults to 12) +# shadow-radius = 12 +shadow-radius = 14; + +# The opacity of shadows. (0.0 - 1.0, defaults to 0.75) +shadow-opacity = 0.75 + +# The left offset for shadows, in pixels. (defaults to -15) +# shadow-offset-x = -15 +shadow-offset-x = -15; + +# The top offset for shadows, in pixels. (defaults to -15) +# shadow-offset-y = -15 +shadow-offset-y = -10; + +# Avoid drawing shadows on dock/panel windows. This option is deprecated, +# you should use the *wintypes* option in your config file instead. +# +# no-dock-shadow = false + +# Don't draw shadows on drag-and-drop windows. This option is deprecated, +# you should use the *wintypes* option in your config file instead. +# +# no-dnd-shadow = false + +# Red color value of shadow (0.0 - 1.0, defaults to 0). +# shadow-red = 0 + +# Green color value of shadow (0.0 - 1.0, defaults to 0). +# shadow-green = 0 + +# Blue color value of shadow (0.0 - 1.0, defaults to 0). +# shadow-blue = 0 + +# Do not paint shadows on shaped windows. Note shaped windows +# here means windows setting its shape through X Shape extension. +# Those using ARGB background is beyond our control. +# Deprecated, use +# shadow-exclude = 'bounding_shaped' +# or +# shadow-exclude = 'bounding_shaped && !rounded_corners' +# instead. +# +# shadow-ignore-shaped = '' + +# Specify a list of conditions of windows that should have no shadow. +# +# examples: +# shadow-exclude = "n:e:Notification"; +# +# shadow-exclude = [] +shadow-exclude = [ + #"name = 'Notification'", + "name = 'Polybar tray window'", + "name = 'xmobar'", + "class_g = 'Conky'", + "class_g ?= 'Notify-osd'", + "class_g = 'Cairo-clock'", + "_GTK_FRAME_EXTENTS@:c" +]; + +# Specify a X geometry that describes the region in which shadow should not +# be painted in, such as a dock window region. Use +# shadow-exclude-reg = "x10+0+0" +# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on. +# +# shadow-exclude-reg = "" + +# Crop shadow of a window fully on a particular Xinerama screen to the screen. +# xinerama-shadow-crop = false + + +################################# +# Fading # +################################# + + +# Fade windows in/out when opening/closing and when opacity changes, +# unless no-fading-openclose is used. +# fading = false +fading = false + +# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) +# fade-in-step = 0.028 +fade-in-step = 0.03; + +# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) +# fade-out-step = 0.03 +fade-out-step = 0.03; + +# The time between steps in fade step, in milliseconds. (> 0, defaults to 10) +# fade-delta = 10 + +# Specify a list of conditions of windows that should not be faded. +# fade-exclude = [] + +# Do not fade on window open/close. +# no-fading-openclose = false + +# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc. +# no-fading-destroyed-argb = false + + +################################# +# Transparency / Opacity # +################################# + + +# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) +# inactive-opacity = 1 +inactive-opacity = 1; + +# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) +# frame-opacity = 1.0 +frame-opacity = 1; + +# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) +# menu-opacity = 1.0 + +# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. +# inactive-opacity-override = true +inactive-opacity-override = false; + +# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) +# active-opacity = 1.0 + +# Dim inactive windows. (0.0 - 1.0, defaults to 0.0) +inactive-dim = 0 + +# Specify a list of conditions of windows that should always be considered focused. +# focus-exclude = [] +focus-exclude = [ "class_g = 'Cairo-clock'" ]; + +# Use fixed inactive dim value, instead of adjusting according to window opacity. +# inactive-dim-fixed = 1.0 + +# Specify a list of opacity rules, in the format `PERCENT:PATTERN`, +# like `50:name *= "Firefox"`. picom-trans is recommended over this. +# Note we don't make any guarantee about possible conflicts with other +# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. +# example: +# opacity-rule = [ "80:class_g = 'URxvt'" ]; +# +opacity-rule = [ + "95:class_g = 'Alacritty'", + "95:class_g = 'Emacs'", + "95:class_g *= 'alacritty'", + "90:class_g *= 'emacs'", + "95:name *= 'alacritty'", + "90:name *= 'emacs'", + "85:name *= 'xmobar'" + ] + + +################################# +# Background-Blurring # +################################# +blur: +{ + method = "dual_kawase"; + size = 10; + deviation = 2.0; +}; + +# Parameters for background blurring, see the *BLUR* section for more information. +#blur-method = dual_kawase +#blur-size = 12 +# +#blur-deviation = true + +# Blur background of semi-transparent / ARGB windows. +# Bad in performance, with driver-dependent behavior. +# The name of the switch may change without prior notifications. +# +# blur-background = false + +# Blur background of windows when the window frame is not opaque. +# Implies: +# blur-background +# Bad in performance, with driver-dependent behavior. The name may change. +# +# blur-background-frame = false + + +# Use fixed blur strength rather than adjusting according to window opacity. +# blur-background-fixed = false + + +# Specify the blur convolution kernel, with the following format: +# example: +# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; +# +# blur-kern = '' +blur-kern = "3x3box"; + + +# Exclude conditions for background blur. +# blur-background-exclude = [] +blur-background-exclude = [ +# "window_type = 'dock'", + "window_type = 'desktop'", + "_GTK_FRAME_EXTENTS@:c" +]; + +################################# +# General Settings # +################################# + +# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers. +# daemon = false + +# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. +# `xrender` is the default one. +# +# backend = 'glx' +backend = "glx"; + +# Enable/disable VSync. +# vsync = false +vsync = false + +# Enable remote control via D-Bus. See the *D-BUS API* section below for more details. +# dbus = false + +# Try to detect WM windows (a non-override-redirect window with no +# child that has 'WM_STATE') and mark them as active. +# +# mark-wmwin-focused = false +mark-wmwin-focused = true; + +# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. +# mark-ovredir-focused = false +mark-ovredir-focused = true; + +# Try to detect windows with rounded corners and don't consider them +# shaped windows. The accuracy is not very high, unfortunately. +# +# detect-rounded-corners = false +detect-rounded-corners = true; +corner-radius = 5 + +rounded-corners-exclude = [ + "name = 'xmobar'", +] + +# Detect '_NET_WM_OPACITY' on client windows, useful for window managers +# not passing '_NET_WM_OPACITY' of client windows to frame windows. +# +# detect-client-opacity = false +detect-client-opacity = true; + +# Specify refresh rate of the screen. If not specified or 0, picom will +# try detecting this with X RandR extension. +# +# refresh-rate = 60 +refresh-rate = 0 + +# Limit picom to repaint at most once every 1 / 'refresh_rate' second to +# boost performance. This should not be used with +# vsync drm/opengl/opengl-oml +# as they essentially does sw-opti's job already, +# unless you wish to specify a lower refresh rate than the actual value. +# +# sw-opti = + +# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, +# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, +# provided that the WM supports it. +# +# use-ewmh-active-win = false + +# Unredirect all windows if a full-screen opaque window is detected, +# to maximize performance for full-screen windows. Known to cause flickering +# when redirecting/unredirecting windows. paint-on-overlay may make the flickering less obvious. +# +unredir-if-possible = false + +# Delay before unredirecting the window, in milliseconds. Defaults to 0. +# unredir-if-possible-delay = 0 + +# Conditions of windows that shouldn't be considered full-screen for unredirecting screen. +# unredir-if-possible-exclude = [] + +# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows +# in the same group focused at the same time. +# +# detect-transient = false +detect-transient = true + +# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same +# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if +# detect-transient is enabled, too. +# +# detect-client-leader = false +detect-client-leader = true + +# Resize damaged region by a specific number of pixels. +# A positive value enlarges it while a negative one shrinks it. +# If the value is positive, those additional pixels will not be actually painted +# to screen, only used in blur calculation, and such. (Due to technical limitations, +# with use-damage, those pixels will still be incorrectly painted to screen.) +# Primarily used to fix the line corruption issues of blur, +# in which case you should use the blur radius value here +# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`, +# with a 5x5 one you use `--resize-damage 2`, and so on). +# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly. +# +# resize-damage = 1 + +# Specify a list of conditions of windows that should be painted with inverted color. +# Resource-hogging, and is not well tested. +# +# invert-color-include = [] + +# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer. +# Might cause incorrect opacity when rendering transparent content (but never +# practically happened) and may not work with blur-background. +# My tests show a 15% performance boost. Recommended. +# +# glx-no-stencil = false + +# GLX backend: Avoid rebinding pixmap on window damage. +# Probably could improve performance on rapid window content changes, +# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.). +# Recommended if it works. +# +# glx-no-rebind-pixmap = false + +# Disable the use of damage information. +# This cause the whole screen to be redrawn everytime, instead of the part of the screen +# has actually changed. Potentially degrades the performance, but might fix some artifacts. +# The opposing option is use-damage +# +# no-use-damage = false +use-damage = true + +# Use X Sync fence to sync clients' draw calls, to make sure all draw +# calls are finished before picom starts drawing. Needed on nvidia-drivers +# with GLX backend for some users. +# +# xrender-sync-fence = false + +# GLX backend: Use specified GLSL fragment shader for rendering window contents. +# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` +# in the source tree for examples. +# +# glx-fshader-win = '' + +# Force all windows to be painted with blending. Useful if you +# have a glx-fshader-win that could turn opaque pixels transparent. +# +# force-win-blend = false + +# Do not use EWMH to detect fullscreen windows. +# Reverts to checking if a window is fullscreen based only on its size and coordinates. +# +# no-ewmh-fullscreen = false + +# Dimming bright windows so their brightness doesn't exceed this set value. +# Brightness of a window is estimated by averaging all pixels in the window, +# so this could comes with a performance hit. +# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0) +# +# max-brightness = 1.0 + +# Make transparent windows clip other windows like non-transparent windows do, +# instead of blending on top of them. +# +# transparent-clipping = false + +# Set the log level. Possible values are: +# "trace", "debug", "info", "warn", "error" +# in increasing level of importance. Case doesn't matter. +# If using the "TRACE" log level, it's better to log into a file +# using *--log-file*, since it can generate a huge stream of logs. +# +# log-level = "debug" +log-level = "warn"; + +# Set the log file. +# If *--log-file* is never specified, logs will be written to stderr. +# Otherwise, logs will to written to the given file, though some of the early +# logs might still be written to the stderr. +# When setting this option from the config file, it is recommended to use an absolute path. +# +#log-file = '/path/to/your/log/file' + +# Show all X errors (for debugging) +# show-all-xerrors = false + +# Write process ID to a file. +# write-pid-path = '/path/to/your/log/file' + +# Window type settings +# +# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard: +# "unknown", "desktop", "dock", "toolbar", "menu", "utility", +# "splash", "dialog", "normal", "dropdown_menu", "popup_menu", +# "tooltip", "notification", "combo", and "dnd". +# +# Following per window-type options are available: :: +# +# fade, shadow::: +# Controls window-type-specific shadow and fade settings. +# +# opacity::: +# Controls default opacity of the window type. +# +# focus::: +# Controls whether the window of this type is to be always considered focused. +# (By default, all window types except "normal" and "dialog" has this on.) +# +# full-shadow::: +# Controls whether shadow is drawn under the parts of the window that you +# normally won't be able to see. Useful when the window has parts of it +# transparent, and you want shadows in those areas. +# +# redir-ignore::: +# Controls whether this type of windows should cause screen to become +# redirected again after been unredirected. If you have unredir-if-possible +# set, and doesn't want certain window to cause unnecessary screen redirection, +# you can set this to `true`. +# + +wintypes: +{ + tooltip = { + # fade: Fade the particular type of windows. + fade = false; + # shadow: Give those windows shadow + shadow = true; + # opacity: Default opacity for the type of windows. + opacity = 0.85; + # focus: Whether to always consider windows of this type focused. + focus = true; + }; + + dock = { + full-shadow = true; + opacity = 0.85; + } + + dnd = { + shadow = false; + } + + popup_menu = { + full-shaodw = false; + opacity = 0.5; + } + + dropdown_menu = { + full-shaodw = false; + opacity = 0.3; + } + + notification = { + # fade: Fade the particular type of windows. + fade = true; + # shadow: Give those windows shadow + shadow = true; + # opacity: Default opacity for the type of windows. + opacity = 0.8; + # focus: Whether to always consider windows of this type focused. + focus = true; + }; +}; + + diff --git a/.config/picom/picom.conf_ b/.config/picom/picom.conf_ new file mode 100644 index 0000000..647fdbc --- /dev/null +++ b/.config/picom/picom.conf_ @@ -0,0 +1,117 @@ +# 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.5; +fade-out-step = 0.5; +fade-exclude = [ ]; + +backend = "glx"; +mark-wmwin-focused = true; +mark-ovredir-focused = true; +detect-client-opacity = true; +unredir-if-possible = true; +refresh-rate = 0; +vsync = "opengl"; +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'", +#"99:name *?= '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", +"80:class_g = 'termite'", +"80:name *?= 'Simplenote'", +#"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", +#"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'" +]; + +blur: { + method = "kawase"; + strength = 5; + background = false; + background-frame = false; + background-fixed = false; +} + +wintypes : +{ + tooltip : + { + fade = false; + shadow = false; + opacity = 0.7; + focus = true; + }; + fullscreen : + { + fade = false; + shadow = false; + opacity = 0.7; + focus = true; + }; +}; diff --git a/.config/polybar/bars.ini b/.config/polybar/bars.ini new file mode 100644 index 0000000..b9f055c --- /dev/null +++ b/.config/polybar/bars.ini @@ -0,0 +1,431 @@ +;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ +;; +;; ____ +;; / __ )____ ___________ +;; / __ / __ `/ ___/ ___/ +;; / /_/ / /_/ / / (__ ) +;; /_____/\__,_/_/ /____/ +;; +;; Created By Aditya Shakya @adi1090x +;; +;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ + +[module/volume] +type = internal/alsa + +format-volume = +format-volume-background = ${color.mf} +format-volume-foreground = ${color.fg} +format-volume-padding = 1 + +format-muted = +format-muted-background = ${color.mf} +format-muted-foreground = ${color.red} +format-muted-padding = 1 + +label-volume = %percentage%% + +label-muted = "Muted" + +bar-volume-width = 10 +bar-volume-gradient = false + +bar-volume-indicator = +bar-volume-indicator-foreground = ${color.fg} +bar-volume-indicator-font = 2 + +bar-volume-fill = ━ +bar-volume-foreground-0 = ${color.bn} +bar-volume-foreground-1 = ${color.bn} +bar-volume-foreground-2 = ${color.bn} +bar-volume-foreground-3 = ${color.bn} +bar-volume-foreground-4 = ${color.bm} +bar-volume-foreground-5 = ${color.bm} +bar-volume-foreground-6 = ${color.bm} +bar-volume-foreground-7 = ${color.bd} +bar-volume-foreground-8 = ${color.bd} +bar-volume-fill-font = 2 + +bar-volume-empty = ┉ +bar-volume-empty-foreground = ${color.fg} +bar-volume-empty-font = 2 + +[module/volume_i] +type = internal/alsa + +format-volume = +format-volume-background = ${color.blue} +format-volume-foreground = ${color.fg} +format-volume-padding = 1 + +format-muted-background = ${color.blue} +format-muted-foreground = ${color.red} +format-muted-padding = 1 + +label-muted = "" +label-muted-foreground = ${color.fg} + +ramp-volume-0 =  +ramp-volume-1 =  +ramp-volume-2 =  +ramp-volume-3 =  +ramp-volume-4 =  +ramp-headphones-0 =  +ramp-headphones-1 =  + +;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ + +[module/brightness] +type = internal/xbacklight + +card = intel_backlight + +format = +format-background = ${color.mf} +format-foreground = ${color.fg} +format-padding = 1 + +bar-width = 10 +bar-gradient = false + +bar-indicator = +bar-indicator-foreground = ${color.mf} +bar-indicator-font = 2 + +bar-fill = ━ +bar-foreground-0 = ${color.bn} +bar-foreground-1 = ${color.bn} +bar-foreground-2 = ${color.bn} +bar-foreground-3 = ${color.bm} +bar-foreground-4 = ${color.bm} +bar-foreground-5 = ${color.bd} +bar-foreground-6 = ${color.bd} +bar-foreground-7 = ${color.bd} +bar-foreground-8 = ${color.bd} +bar-fill-font = 2 + +bar-empty = ┉ +bar-empty-foreground = ${color.fg} +bar-empty-font = 2 + +[module/brightness_i] +type = internal/xbacklight + +card = intel_backlight + +format = +format-background = ${color.lime} +format-foreground = ${color.fg} +format-padding = 1 + +ramp-0 =  +ramp-1 =  +ramp-2 =  +ramp-3 =  +ramp-4 =  + +;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ + +[module/battery_bar] +type = internal/battery + +full-at = 99 + +battery = BAT1 +adapter = ACAD + +poll-interval = 2 +time-format = %H:%M + +format-charging = +format-charging-background = ${color.mf} +format-charging-foreground = ${color.fg} +format-charging-padding = 1 + +format-discharging = +format-discharging-background = ${color.mf} +format-discharging-foreground = ${color.fg} +format-discharging-padding = 1 + +label-full = Fully Charged +label-full-foreground = ${color.fg} +label-full-background = ${color.mf} +label-full-padding = 1 + +bar-capacity-width = 10 +bar-capacity-gradient = false + +bar-capacity-indicator = +bar-capacity-indicator-foreground = ${color.fg} +bar-capacity-indicator-font = 2 + +bar-capacity-fill = ━ +bar-capacity-foreground-0 = ${color.bd} +bar-capacity-foreground-1 = ${color.bd} +bar-capacity-foreground-2 = ${color.bd} +bar-capacity-foreground-3 = ${color.bm} +bar-capacity-foreground-4 = ${color.bm} +bar-capacity-foreground-5 = ${color.bm} +bar-capacity-foreground-6 = ${color.bm} +bar-capacity-foreground-7 = ${color.bn} +bar-capacity-foreground-8 = ${color.bn} +bar-capacity-fill-font = 2 + +bar-capacity-empty = ┉ +bar-capacity-empty-foreground = ${color.fg} +bar-capacity-empty-font = 2 + +[module/battery_bar_i] +type = internal/battery + +full-at = 99 +battery = BAT1 +adapter = ACAD + +poll-interval = 2 + +time-format = %H:%M + +format-charging = +format-charging-background = ${color.green} +format-charging-foreground = ${color.fg} +format-charging-padding = 1 + +format-discharging = +format-discharging-background = ${color.pink} +format-discharging-foreground = ${color.fg} +format-discharging-padding = 1 + +label-charging = %percentage%% +label-discharging = %percentage%% + +label-full =  +label-full-background = ${color.green} +label-full-foreground = ${color.fg} +label-full-padding = 1 + +ramp-capacity-0 =  +ramp-capacity-1 =  +ramp-capacity-2 =  +ramp-capacity-3 =  + +animation-charging-0 =  +animation-charging-1 =  +animation-charging-2 =  +animation-charging-3 =  + +animation-charging-framerate = 750 + +;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ + +[module/cpu_bar] +type = internal/cpu + +interval = 0.5 + +format =