diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..f8e527e --- /dev/null +++ b/.Xresources @@ -0,0 +1,37 @@ +!#include "/home/hate/.colors/nord" + +!! Set the background, foreground and cursor colors as below: +*.background: #282828 +*.foreground: white +*.cursorColor: white + +!/* !! gruvbox: */ +!/* *.color0: #1d2021 */ +!/* *.color1: #cc241d */ +!/* *.color2: #98971a */ +!/* *.color3: #d79921 */ +!/* *.color4: #458588 */ +!/* *.color5: #b16286 */ +!/* *.color6: #689d6a */ +!/* *.color7: #a89984 */ +!/* *.color8: #928374 */ +!/* *.color9: #fb4934 */ +!/* *.color10: #b8bb26 */ +!/* *.color11: #fabd2f */ +!/* *.color12: #83a598 */ +!/* *.color13: #d3869b */ +!/* *.color14: #8ec07c */ +!/* *.color15: #ebdbb2 */ + +!! Transparency (0-1): +st.alpha: 0.9 +!! Set a default font and font size as below: +st.font: Ubuntu Mono derivative Powerline:pixelsize=26:antialias=true:autohint=true; +st.boldFont: Ubuntu Mono derivative Powerline:pixelsize=26:bold:antialias=true:autohint=true; +st.bold_font: 1 +st.borderpx: 10 +! This option is can be preedit style. Available values: `root` `overthespot` ( Default taken `root`) +st.imstyle: root + +!!HiDpi +Xft.dpi: 200 diff --git a/.config/polybar/bottom-bar b/.config/polybar/bottom-bar new file mode 100644 index 0000000..6f68ad2 --- /dev/null +++ b/.config/polybar/bottom-bar @@ -0,0 +1,17 @@ +[bar/bottom] +width = 100% +height = 30 +fixed-center = true +bottom = true +background = ${colors.background} +foreground = ${colors.foreground} +line-size = 0 +border-size = 2 +border-color = ${colors.background} +padding-left = 0 +padding-right = 0 +module-margin-left = 0 +module-margin-right = 0 +font-0 = PowerlineSymbols:size=22;6 +font-1 = Ubuntu Mono derivative Powerline:size=18;3 +font-2 = FontAwesome:size=18;4 diff --git a/.config/polybar/config b/.config/polybar/config new file mode 100644 index 0000000..d620909 --- /dev/null +++ b/.config/polybar/config @@ -0,0 +1,566 @@ +; vim:ft=dosini +; _ _ _ _ +; |_)/ \|\_/|_) /\ |_) +; | \_/|_| |_)/--\| \ +; +[colors] +background = #00000000 +background-alt = #A3674F +foreground = #8E7F82 +foreground-alt = #98B0D1 +highlight = #cedbe3 +error = #757988 +red = #757988 +yellow = #7A88A3 +green = #91959F +darkblue = #8E7F82 +alert = #FF0000 +lightblue = #cedbe3 +orange = #98B0D1 +blue = #A3674F +black = #100c14 +grey = #90999e + +[bar/top] +monitor = ${env:MONITOR:eDP-1} +include-file = ~/.config/polybar/top-bar +modules-left = i3 arrow01 xwindow arrow0 +modules-center = term chrome editor fm music vpn +modules-right = arrow9 expressvpn-status arrow8 workspace arrow7 wlan arrow6 pkg arrow5 pavolume arrow4 battery arrow3 backlight arrow2 networkmanager arrow1 popup-calendar + +;tray-position = right +;tray-padding = 2 +;tray-transparent = true +;tray-background = #0063ff + +[bar/bottom] +monitor = ${env:MONITOR:eDP-1} +include-file = ~/.config/polybar/bottom-bar +modules-left = hostname arrowb01 +modules-center = cpu memory temperature filesystem +modules-right = arrowb1 openweather + +[module/arrowb01] +type = custom/text +content = "" +content-foreground = ${colors.blue} +content-background = #00000000 + +[module/arrowb1] +type = custom/text +content = "" +content-foreground = ${colors.green} +content-background = #00000000 + +[module/arrow01] +type = custom/text +content = "" +content-foreground = ${colors.grey} +content-background = ${colors.yellow} + + +[module/arrow0] +type = custom/text +content = "" +content-foreground = ${colors.yellow} +content-background = #00000000 + +[module/arrow1] +type = custom/text +content = "" +content-foreground = ${colors.lightblue} +content-background = ${colors.yellow} + +[module/arrow2] +type = custom/text +content = "" +content-foreground = ${colors.yellow} +content-background = ${colors.darkblue} + +[module/arrow3] +type = custom/text +content = "" +content-foreground = ${colors.darkblue} +content-background = ${colors.red} + +[module/arrow4] +type = custom/text +content = "" +content-foreground = ${colors.red} +content-background = ${colors.orange} + +[module/arrow5] +type = custom/text +content = "" +content-foreground = ${colors.orange} +content-background = ${colors.blue} + +[module/arrow6] +type = custom/text +content = "" +content-foreground = ${colors.blue} +content-background = ${colors.green} + +[module/arrow7] +type = custom/text +content = "" +content-foreground = ${colors.green} +content-background = ${colors.red} + +[module/arrow8] +type = custom/text +content = "" +content-foreground = ${colors.red} +content-background = ${colors.darkblue} + +[module/arrow9] +type = custom/text +content = "" +content-foreground = ${colors.darkblue} +content-background = #00000000 + +[module/expressvpn-status] +type = custom/script +exec = ~/.config/Scripts/expressvpn-status.sh +interval = 5 +;format-foreground = #E5E9F0 +;format-backgound = #5E81AC +label = " %output%" +label-foreground = #E5E9F0 +label-background = ${colors.darkblue} + +[module/pavolume] +type = custom/script +tail = true +label = " %output% " +exec = ~/.config/Scripts/pavolume.sh --listen +click-right = exec pavucontrol +click-left = ~/.config/Scripts/pavolume.sh --togmute +scroll-up = ~/.config/Scripts/pavolume.sh --up +scroll-down = ~/.config/Scripts/pavolume.sh --down +format-foreground = ${colors.black} +format-background = ${colors.orange} + +[module/filesystem] +type = internal/fs +mount-0 = / +interval = 10 +fixed-values = true +spacing = 4 +format-mounted = +format-unmounted = +label-mounted = "  %percentage_used%%" +label-mounted-foreground = ${colors.foreground} +label-mounted-background = ${colors.background} +label-unmounted = %mountpoint%: not mounted +label-unmounted-foreground = ${colors.foreground-alt} + +[module/backlight] +type = custom/script +interval = 0.2 +exec = ~/.config/Scripts/backlight.sh +scroll-up = exec light -A 5 +scroll-down = exec light -U 5 +format-prefix = "  " +format-prefix-foreground = #E5E9F0 +format-prefix-background = ${colors.darkblue} +label = "%output% " +label-foreground = #E5E9F0 +label-background = ${colors.darkblue} + +[module/popup-calendar] +type = custom/script +exec = ~/.config/Scripts/popup-calendar.sh +interval = 5 +click-left = ~/.config/Scripts/popup-calendar.sh --popup +format-prefix = "  " +format-prefix-foreground = ${colors.black} +format-prefix-background = ${colors.lightblue} +label = "%output% " +format-foreground = ${colors.black} +format-background = ${colors.lightblue} + +[module/vpncheck] +type = custom/script +exec = pgrep openvpn +interval = 5 +label = "VPN " +format-prefix = "  " +format-prefix-foreground = ${colors.black} +format-prefix-background = ${colors.orange} +label-foreground = ${colors.black} +label-background = ${colors.orange} + +[module/hostname] +type = custom/script +interval = 256 +format = "