diff --git a/.bashrc b/.bashrc index 9980d35..4322bcd 100644 --- a/.bashrc +++ b/.bashrc @@ -29,6 +29,9 @@ alias pf='pfetch' # env # # --- # +export HISTFILE=~/.history +export HISTSIZE=5000 + export VISUAL=nvim export EDITOR="$VISUAL" diff --git a/.config/cava/config b/.config/cava/config index d8d2c13..03c138c 100644 --- a/.config/cava/config +++ b/.config/cava/config @@ -8,7 +8,7 @@ ; mode = normal # Accepts only non-negative values. -; framerate = 30 +framerate = 40 # '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) @@ -22,7 +22,7 @@ # The number of bars (0-512). 0 sets it to auto (fill up console). # Bars' width and space between bars in number of characters. -; bars = 0 +; bars = 24 ; bar_width = 2 ; bar_spacing = 1 # bar_height is only used for output in "noritake" format diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index f8fc485..abbef91 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -24,7 +24,7 @@ # dynamic width from 0 to 300 # width = (0, 300) # constant width of 300 - width = (200, 600) + width = 500 # The maximum height of a single notification, excluding the frame. height = 300 @@ -33,7 +33,7 @@ origin = top-right # Offset from the origin - offset = 10x36 + offset = 18x50 # Scale factor. It is auto-detected if value is 0. scale = 1 diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 258c0b5..6549672 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -124,6 +124,7 @@ label-focused-foreground = ${colors.background} label-focused-background = ${colors.primary} label-occupied = " %name% " +label-occupied-background = ${colors.background-alt} label-empty = " %name% " label-urgent = " %name% " @@ -159,11 +160,11 @@ label = %title:0:60:...% [module/music] type = custom/script -exec = ~/.config/polybar/scripts/player-mpris-tail/player-mpris-tail.py -f '%{F#A7C080}{icon}%{F-} {artist} - {title}' --icon-playing  --icon-paused  --icon-none 󰎊 --icon-stopped  +exec = ~/.config/polybar/scripts/player-mpris-tail.py -f '%{F#A7C080}{icon}%{F-} {artist} - %{F#8ABEB7}{title}' --icon-playing  --icon-paused  --icon-none 󰎊 --icon-stopped  tail = true -click-middle = ~/.config/polybar/scripts/player-mpris-tail/player-mpris-tail.py previous & -click-right = ~/.config/polybar/scripts/player-mpris-tail/player-mpris-tail.py next & -click-left = ~/.config/polybar/scripts/player-mpris-tail/player-mpris-tail.py play-pause & +click-middle = ~/.config/polybar/scripts/player-mpris-tail.py previous & +click-right = ~/.config/polybar/scripts/player-mpris-tail.py next & +click-left = ~/.config/polybar/scripts/player-mpris-tail.py play-pause & icon-playing =  [module/filesystem] @@ -180,10 +181,10 @@ label-unmounted-foreground = ${colors.disabled} [module/redshift] type = custom/script format-prefix = " " -exec = source ~/.config/polybar/scripts/polybar-redshift/env.sh && ~/.config/polybar/scripts/polybar-redshift/redshift.sh temperature -click-left = source ~/.config/polybar/scripts/polybar-redshift/env.sh && ~/.config/polybar/polybar-redshift/scripts/redshift.sh toggle -scroll-up = source ~/.config/polybar/scripts/polybar-redshift/env.sh && ~/.config/polybar/scripts/polybar-redshift/redshift.sh increase -scroll-down = source ~/.config/polybar/scripts/polybar-redshift/env.sh && ~/.config/polybar/scripts/polybar-redshift/redshift.sh decrease +exec = source ~/.config/polybar/scripts/env.sh && ~/.config/polybar/scripts/redshift.sh temperature +click-left = source ~/.config/polybar/scripts/env.sh && ~/.config/polybar/scripts/redshift.sh toggle +scroll-up = source ~/.config/polybar/scripts/env.sh && ~/.config/polybar/scripts/redshift.sh increase +scroll-down = source ~/.config/polybar/scripts/env.sh && ~/.config/polybar/scripts/redshift.sh decrease interval=0.5 [module/pulseaudio] diff --git a/.config/polybar/scripts/battery-combined-shell/battery-combined-shell.sh b/.config/polybar/scripts/battery-combined-shell.sh similarity index 100% rename from .config/polybar/scripts/battery-combined-shell/battery-combined-shell.sh rename to .config/polybar/scripts/battery-combined-shell.sh diff --git a/.config/polybar/scripts/battery-combined-shell/README.md b/.config/polybar/scripts/battery-combined-shell/README.md deleted file mode 100644 index 37800d6..0000000 --- a/.config/polybar/scripts/battery-combined-shell/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# Script: battery-combined-shell - -A shell script that shows the battery status. - -It supports two rechargeable batteries and changing icons. It works even if only one battery is used. - - -## Module - -```ini -[module/battery-combined-shell] -type = custom/script -exec = ~/polybar-scripts/battery-combined-shell.sh -interval = 10 -``` diff --git a/.config/polybar/scripts/battery-combined-tlp/battery-combined-tlp.sh b/.config/polybar/scripts/battery-combined-tlp.sh similarity index 100% rename from .config/polybar/scripts/battery-combined-tlp/battery-combined-tlp.sh rename to .config/polybar/scripts/battery-combined-tlp.sh diff --git a/.config/polybar/scripts/battery-combined-tlp/README.md b/.config/polybar/scripts/battery-combined-tlp/README.md deleted file mode 100644 index 0a11598..0000000 --- a/.config/polybar/scripts/battery-combined-tlp/README.md +++ /dev/null @@ -1,31 +0,0 @@ -# Script: battery-combined-tlp - -A shell script that shows the battery status. - -It uses TLP and requires root privileges. Note that the icon doesn't change. - -![battery-combined-tlp](screenshots/1.png) - - -## Dependencies - -* `tlp` - - -## Configuration - -You have to add the `tlp-stat` command to the `/etc/sudoers` NOPASSWD of your user: - -```ini -user ALL=(ALL) NOPASSWD: /usr/bin/tlp-stat -``` - - -## Module - -```ini -[module/battery-combined-tlp] -type = custom/script -exec = ~/polybar-scripts/battery-combined-tlp.sh -interval = 10 -``` diff --git a/.config/polybar/scripts/battery-combined-tlp/screenshots/1.png b/.config/polybar/scripts/battery-combined-tlp/screenshots/1.png deleted file mode 100644 index 7474a29..0000000 Binary files a/.config/polybar/scripts/battery-combined-tlp/screenshots/1.png and /dev/null differ diff --git a/.config/polybar/scripts/battery-combined-udev/battery-combined-udev.sh b/.config/polybar/scripts/battery-combined-udev.sh similarity index 100% rename from .config/polybar/scripts/battery-combined-udev/battery-combined-udev.sh rename to .config/polybar/scripts/battery-combined-udev.sh diff --git a/.config/polybar/scripts/battery-combined-udev/95-battery.rules b/.config/polybar/scripts/battery-combined-udev/95-battery.rules deleted file mode 100644 index d5d31b0..0000000 --- a/.config/polybar/scripts/battery-combined-udev/95-battery.rules +++ /dev/null @@ -1,4 +0,0 @@ -SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="0", \ - RUN+="/home/user/.config/polybar/battery-combined-udev.sh --update" -SUBSYSTEM=="power_supply", ENV{POWER_SUPPLY_ONLINE}=="1", \ - RUN+="/home/user/.config/polybar/battery-combined-udev.sh --update" diff --git a/.config/polybar/scripts/battery-combined-udev/README.md b/.config/polybar/scripts/battery-combined-udev/README.md deleted file mode 100644 index 0fbc0ec..0000000 --- a/.config/polybar/scripts/battery-combined-udev/README.md +++ /dev/null @@ -1,22 +0,0 @@ -# Script: battery-combined-udev - -A shell script that shows the battery status. This is an extended version of [battery-combined-shell](../battery-combined-shell). - -It supports two rechargeable batteries and changing icons. It works even if only one battery is used. - -This script is able to display power supply changes in real time. For this udev is being used. - - -## Configuration - -Copy `95-battery.rules` to `/etc/udev/rules.d/95-battery.rules`. Make sure that the paths in the file have been modified properly. - - -## Module - -```ini -[module/battery-combined-udev] -type = custom/script -exec = ~/polybar-scripts/battery-combined-udev.sh -tail = true -``` diff --git a/.config/polybar/scripts/battery-cyberpower/battery-cyberpower.sh b/.config/polybar/scripts/battery-cyberpower.sh similarity index 100% rename from .config/polybar/scripts/battery-cyberpower/battery-cyberpower.sh rename to .config/polybar/scripts/battery-cyberpower.sh diff --git a/.config/polybar/scripts/battery-cyberpower/README.md b/.config/polybar/scripts/battery-cyberpower/README.md deleted file mode 100644 index d02b2e7..0000000 --- a/.config/polybar/scripts/battery-cyberpower/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# Script: battery-cyberpower - -A shell script that shows the battery status for CyberPower UPS devices. - -This script is able to display power supply changes in real time. - - -## Dependencies - -* `pwrstat` from CyberPower's website - - -## Configuration - -You have to add the `pwrstat` command to the `/etc/sudoers` NOPASSWD of your user: - -```ini -user ALL=(ALL) NOPASSWD: /usr/bin/pwrstat -``` - - -## Module - -```ini -[module/battery-cyberpower] -type = custom/script -exec = ~/polybar-scripts/battery-cyberpower.sh -tail = true -``` diff --git a/.config/polybar/scripts/dunst-snooze/dunst-snooze.sh b/.config/polybar/scripts/dunst-snooze.sh similarity index 100% rename from .config/polybar/scripts/dunst-snooze/dunst-snooze.sh rename to .config/polybar/scripts/dunst-snooze.sh diff --git a/.config/polybar/scripts/dunst-snooze/README.md b/.config/polybar/scripts/dunst-snooze/README.md deleted file mode 100644 index e2cc6bb..0000000 --- a/.config/polybar/scripts/dunst-snooze/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# Script: dunst-snooze - -A script to disable/enable Dunst notifications. When disabled, notifications will still be created and saved by dunst until you enable it again. - -![dunst-pause](screenshots/1.png) -![dunst-pause](screenshots/2.png) - - -## Module -```ini -[module/dunst-snooze] -type = custom/script -exec = ~/polybar-scripts/dunst-snooze.sh -interval = 10 -click-left = ~/polybar-scripts/dunst-snooze.sh --toggle & -``` diff --git a/.config/polybar/scripts/dunst-snooze/screenshots/1.png b/.config/polybar/scripts/dunst-snooze/screenshots/1.png deleted file mode 100644 index f776e9f..0000000 Binary files a/.config/polybar/scripts/dunst-snooze/screenshots/1.png and /dev/null differ diff --git a/.config/polybar/scripts/dunst-snooze/screenshots/2.png b/.config/polybar/scripts/dunst-snooze/screenshots/2.png deleted file mode 100644 index 995d25a..0000000 Binary files a/.config/polybar/scripts/dunst-snooze/screenshots/2.png and /dev/null differ diff --git a/.config/polybar/scripts/easteregg-pornhub/README.md b/.config/polybar/scripts/easteregg-pornhub/README.md deleted file mode 100644 index 05c0776..0000000 --- a/.config/polybar/scripts/easteregg-pornhub/README.md +++ /dev/null @@ -1,44 +0,0 @@ -# Script: easteregg-pornhub - -A script that shows a button and opens a random video at a large porn website. - -![easteregg-pornhub](screenshots/1.png) - - -## Configuration - -Set your browser at the `click-left` option in your module. - -You should also enable the overline and underline option in your polybar. - -```ini -[bar/barname] - -overline-size = 5 -underline-size = 4 -``` - - -## Module - -```ini -[module/easteregg-pornhub] -type = custom/script -exec = echo " hub " -interval = 3600 -click-left = "firefox --private-window https://pornhub.com/random" & - -format =