From 437de191af2032c1b6db193f99361707f4d8295e Mon Sep 17 00:00:00 2001 From: Harri Lahtinen Date: Thu, 18 Jul 2019 16:35:16 +0300 Subject: [PATCH] wpg templates etc. --- .config/compton.conf | 4 +- .config/polybar/config | 20 +- .../wpg/templates/config_polybar_config.base | 523 ++++++++++++++++++ .../config_rofi_colors-rofi-dark.rasi.base | 161 ++++++ .config/wpg/templates/config_rofi_config.base | 23 + 5 files changed, 719 insertions(+), 12 deletions(-) create mode 100644 .config/wpg/templates/config_polybar_config.base create mode 100644 .config/wpg/templates/config_rofi_colors-rofi-dark.rasi.base create mode 100644 .config/wpg/templates/config_rofi_config.base diff --git a/.config/compton.conf b/.config/compton.conf index 996b960..b0fa1c7 100644 --- a/.config/compton.conf +++ b/.config/compton.conf @@ -114,8 +114,8 @@ blur-strength = 15; opacity-rule = [ "85:class_g = 'St' && focused", - "60:class_g = 'St' && !focused", - "70:name *?= 'rofi'" + "60:class_g = 'St' && !focused" +# "70:name *?= 'rofi'" ]; # Dim inactive windows. (0.0 - 1.0) diff --git a/.config/polybar/config b/.config/polybar/config index 1c7ab3d..d19157c 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -8,18 +8,18 @@ background = #00000000 ;background = ${xrdb:color12:#AD9161} ;background = #8a8061 -background-alt = #061E28 +background-alt = #03080B ;foreground = ${xrdb:color7} -foreground = #6C6044 -foreground-alt = #6C6044 -highlight = #bdaf97 +foreground = #91B5B9 +foreground-alt = #91B5B9 +highlight = #c6eff1 ;error = ${xrdb:color9:#DD712E} -error = #1B4446 -red = #1B4446 -yellow = #2B6963 -green = #4F5044 -blue = #264D4C -alert = #1B4446 +error = #1399A8 +red = #1399A8 +yellow = #24D7E2 +green = #5DE7ED +blue = #30AEBE +alert = #1399A8 [bar/top] monitor = ${env:MONITOR:eDP-1} diff --git a/.config/wpg/templates/config_polybar_config.base b/.config/wpg/templates/config_polybar_config.base new file mode 100644 index 0000000..4748e4e --- /dev/null +++ b/.config/wpg/templates/config_polybar_config.base @@ -0,0 +1,523 @@ +; vim:ft=dosini +; _ _ _ _ +; |_)/ \|\_/|_) /\ |_) +; | \_/|_| |_)/--\| \ +; +[colors] +;Transparent background +background = #00000000 +;background = ${{xrdb:color12:#AD9161}} +;background = #8a8061 +background-alt = {color0} +;foreground = ${{xrdb:color7}} +foreground = {color6} +foreground-alt = {color14} +highlight = {color7} +;error = ${{xrdb:color9:#DD712E}} +error = {color2} +red = {color10} +yellow = {color12} +green = {color5} +blue = {color11} +alert = {color10} + +[bar/top] +monitor = ${{env:MONITOR:eDP-1}} +include-file = ~/.config/polybar/top-bar +modules-left = i3 +modules-center = term chrome editor fm music vpn +modules-right = wlan pkg pulseaudio battery backlight networkmanager 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 vpncheck +modules-center = cpu memory temperature +modules-right = openweather + +[module/pulseaudio-rofi-output] +type = custom/script +exec = ~/.config/Scripts/pulseaudio-rofi.sh --output_volume_listener +tail = true +click-right = ~/.config/Scripts/pulseaudio-rofi.sh --output +click-left = ~/.config/Scripts/pulseaudio-rofi.sh --mute +scroll-up = ~/.config/Scripts/pulseaudio-rofi.sh --volume_up +scroll-down = ~/.config/Scripts/pulseaudio-rofi.sh --volume_down + +[module/pulseaudio] +type = internal/pulseaudio +sink = bluez_sink.E8_07_BF_33_4D_F2.headset_head_unit +use-ui-max = true +interval = 5 +format-volume = +label-volume = %percentage%% +label-volume-foreground = ${{root.foreground}} +format-muted = +format-muted-foreground = ${{colors.highlight}} +label-muted =  muted +ramp-volume-0 =  +ramp-volume-1 =  +ramp-volume-foreground = ${{colors.foreground}} +ramp-headphones-0 =  +ramp-headphones-1 =  + +[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 = ${{colors.foreground}} +label = %output% +label-foreground = ${{colors.foreground}} +format-padding = 1 + +;[module/backlight] +;type = internal/xbacklight +;output = eDP-1 +;enable-scroll = true +;format =