diff --git a/compton/.config/compton.conf b/compton/.config/compton.conf index 662a92b..2e6cb2b 100644 --- a/compton/.config/compton.conf +++ b/compton/.config/compton.conf @@ -3,9 +3,9 @@ shadow = false; no-dnd-shadow = true; no-dock-shadow = true; clear-shadow = true; -shadow-radius = 7; -shadow-offset-x = -7; -shadow-offset-y = -7; +shadow-radius = 3; +shadow-offset-x = -3; +shadow-offset-y = -3; # shadow-opacity = 0.7; # shadow-red = 0.0; # shadow-green = 0.0; @@ -22,13 +22,13 @@ shadow-exclude = [ # xinerama-shadow-crop = true; # Opacity -menu-opacity = 0.95; +menu-opacity = 1; inactive-opacity = 1; active-opacity = 1; frame-opacity = 1; inactive-opacity-override = false; alpha-step = 0.06; - inactive-dim = 0.0; +inactive-dim = 0.0; # inactive-dim-fixed = true; # blur-background = true; # blur-background-frame = true; diff --git a/i3-irunix/.config/i3/config b/i3-irunix/.config/i3/config index 13c75ce..485dd97 100644 --- a/i3-irunix/.config/i3/config +++ b/i3-irunix/.config/i3/config @@ -59,6 +59,7 @@ exec ~/opt/Telegram/Telegram -startintray & #- Compton exec --no-startup-id compton bindsym Ctrl+Shift+F12 exec ~/bin/compton-toggle + exec --no-startup-id $HOME/.config/polybar/launch.sh #=============# @@ -386,62 +387,63 @@ set $darkgray #707681 set $urgentcolor #ea4439 set $darkurgent #472b2a -#--[ i3 bar one ]-- -bar { - output DP-0.8 - status_command i3blocks - position top # - - bindsym button4 nop - bindsym button5 nop - workspace_buttons yes # - hidden_state show # - mode dock # - modifier Mod4 - tray_output DP-0.8 #none|primary| - - font pango:DejaVu Sans Mono 11 - tray_padding 2 - separator_symbol "|" - colors { - separator $darkgray - background $blackwidget - statusline $fgwhite - focused_workspace $maincolor $maincolor $blackdarkest - active_workspace $blackwidget $blackwidget $maincolor - inactive_workspace $blackwidget $blackwidget $darkgray - urgent_workspace $urgentcolor $blackwidget $urgentcolor - } -} + +##--[ i3 bar one ]-- +#bar { +# output DP-0.8 +# status_command i3blocks +# position top # +# +# bindsym button4 nop +# bindsym button5 nop +# workspace_buttons yes # +# hidden_state show # +# mode dock # +# modifier Mod4 +# tray_output DP-0.8 #none|primary| +# +# font pango:DejaVu Sans Mono 11 +# tray_padding 2 +# separator_symbol "|" +# colors { +# separator $darkgray +# background $blackwidget +# statusline $fgwhite +# focused_workspace $maincolor $maincolor $blackdarkest +# active_workspace $blackwidget $blackwidget $maincolor +# inactive_workspace $blackwidget $blackwidget $darkgray +# urgent_workspace $urgentcolor $blackwidget $urgentcolor +# } +#} #--[ i3 bar two ]-- -bar { - output DVI-D-0 - status_command i3blocks - position top # - - bindsym button4 nop - bindsym button5 nop - workspace_buttons yes # - hidden_state show # - mode dock # - modifier Mod4 - tray_output DP-0.8 #none|primary| - - font pango:DejaVu Sans Mono 9 - tray_padding 2 - separator_symbol "|" - colors { - separator $darkgray - background $blackwidget - statusline $fgwhite - focused_workspace $maincolor $maincolor $blackdarkest - active_workspace $blackwidget $blackwidget $maincolor - inactive_workspace $blackwidget $blackwidget $darkgray - urgent_workspace $urgentcolor $blackwidget $urgentcolor - } - -} +#bar { +# output DVI-D-0 +# status_command i3blocks +# position top # +# +# bindsym button4 nop +# bindsym button5 nop +# workspace_buttons yes # +# hidden_state show # +# mode dock # +# modifier Mod4 +# tray_output DP-0.8 #none|primary| +# +# font pango:DejaVu Sans Mono 9 +# tray_padding 2 +# separator_symbol "|" +# colors { +# separator $darkgray +# background $blackwidget +# statusline $fgwhite +# focused_workspace $maincolor $maincolor $blackdarkest +# active_workspace $blackwidget $blackwidget $maincolor +# inactive_workspace $blackwidget $blackwidget $darkgray +# urgent_workspace $urgentcolor $blackwidget $urgentcolor +# } +# +#} #--[ Look ]-- font pango: DejaVu Sans 10 diff --git a/newsboat/.config/newsboat/config b/newsboat/.config/newsboat/config index 51d0fa2..7c357f0 100644 --- a/newsboat/.config/newsboat/config +++ b/newsboat/.config/newsboat/config @@ -1,6 +1,6 @@ #--[ general ]-- max-items 100 -browser qutebrowser +browser "qutebrowser --target tab-silent" cleanup-on-quit yes cache-file "~/.config/newsboat/cache.db" feed-sort-order title-dec diff --git a/polybar-irunix/.config/polybar/config b/polybar-irunix/.config/polybar/config new file mode 100644 index 0000000..72b7871 --- /dev/null +++ b/polybar-irunix/.config/polybar/config @@ -0,0 +1,235 @@ +;===================================================== +; +; To learn more about how to configure Polybar +; go to https://github.com/jaagr/polybar +; +; The README contains alot of information +; +;===================================================== + +[colors] +;background = ${xrdb:color0:#222} +background = #191a1d +background-alt = #33373e +;foreground = ${xrdb:color7:#222} +foreground = #ece3d0 +foreground-alt = #707681 +primary = #eac58d +secondary = #446fa6 +alert = #ea4439 + +[bar/example] +;monitor = ${env:MONITOR:HDMI-1} +width = 100% +height = 24 +offset-x = 0% +offset-y = 0% +radius = 0.0 +fixed-center = true + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 2 +line-color = #ece3d0 + +border-bottom-size = 0 +border-color = ${colors.background-alt} + +padding-left = 0 +padding-right = 0 + +module-margin-left = 1 +module-margin-right = 1 + +font-0 = "DejaVu Sans Mono:pixelsize=10;1" +font-1 = "FontAwesome:size=10;1" +font-2 = "Symbola:size=10;1" +;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 +;font-2 = siji:pixelsize=10;1 + +modules-left = bspwm i3 +modules-center = mpd +modules-right = eth volume date + +tray-position = right +tray-padding = 2 +;tray-transparent = true +;tray-background = #0063ff + +;wm-restack = bspwm +;wm-restack = i3 + +;override-redirect = true + +;scroll-up = bspwm-desknext +;scroll-down = bspwm-deskprev + +;scroll-up = i3wm-wsnext +;scroll-down = i3wm-wsprev + + +[module/xwindow] +type = internal/xwindow +label = %title:0:30:…% +format-foreground = ${colors.foreground-alt} + + + +[module/xkeyboard] +type = internal/xkeyboard +blacklist-0 = num lock + +format-prefix = " " +format-prefix-foreground = ${colors.foreground-alt} +format-prefix-underline = ${colors.secondary} + +label-layout = %layout% +label-layout-underline = ${colors.secondary} + +label-indicator-padding = 2 +label-indicator-margin = 1 +label-indicator-background = ${colors.secondary} +label-indicator-underline = ${colors.secondary} + + +[module/bspwm] +type = internal/bspwm + +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 1 + +label-occupied = %index% +label-occupied-foreground = ${colors.foreground-alt} +label-occupied-padding = 1 + +label-urgent = %index%! +label-urgent-background = ${colors.alert} +label-urgent-padding = 1 + +label-empty = %index% +label-empty-foreground = ${colors.foreground-alt} +label-empty-padding = 1 + + +[module/i3] +type = internal/i3 +format = +index-sort = true +wrapping-scroll = false + +; Only show workspaces on the same output as the bar +;pin-workspaces = true + +label-mode-padding = 1 +label-mode-foreground = #000 +label-mode-background = ${colors.alert} + +; focused = Active workspace on focused monitor +label-focused = %index% +label-focused-background = ${module/bspwm.label-focused-background} +label-focused-underline = ${module/bspwm.label-focused-underline} +label-focused-padding = ${module/bspwm.label-focused-padding} + +; unfocused = Inactive workspace on any monitor +label-unfocused = %index% +label-unfocused-padding = ${module/bspwm.label-occupied-padding} +label-unfocused-foreground = ${module/bspwm.label-occupied-foreground} + +; visible = Active workspace on unfocused monitor +label-visible = %index% +label-visible-background = ${self.label-focused-background} +label-visible-underline = ${module/bspwm.label-focused-underline} +label-visible-padding = ${self.label-focused-padding} + +; urgent = Workspace with urgency hint set +label-urgent = %index% +label-urgent-background = ${module/bspwm.label-urgent-background} +label-urgent-padding = ${module/bspwm.label-urgent-padding} + + +[module/mpd] +type = internal/mpd +interval = 2 +format-online = +format-offline = + +label-song-maxlen = 60 +;label-song-ellipsis = false +format-online-prefix = " " +format-online-prefix-foreground = ${colors.foreground-alt} +label-song = %artist:0:20:…% - %title% +label-song-foreground = ${colors.foreground-alt} + + +[module/eth] +type = internal/network +interface = enp3s0 +interval = 3.0 +;udspeed-minwidth = 10 +;accumulate-stats = true +;format-connected-underline = +format-connected-prefix = " " +format-connected-prefix-foreground = ${colors.foreground-alt} +label-connected = up + +;format-connected = +;format-disconnected = +;format-disconnected-underline = ${self.format-connected-underline} +label-disconnected = :( +label-disconnected-foreground = ${colors.alert} + + +[module/date] +type = internal/date +interval = 3 + +date = "%a %d (%b)" +time = %H:%M +date-alt = "%Y-%m-%d" +time-alt = %H:%M:%S + +format-prefix = " " +format-prefix-foreground = ${colors.foreground-alt} +;format-underline = #0a6cf5 + +label = %date% %time% +;label-font +;label-foreground + + +[module/volume] +type = internal/volume + +master-soundcard = default +master-mixer = Master +;headphone-id = 9 +;mapped = true + +format-volume = + +format-volume-prefix = " " +format-volume-prefix-foreground = ${colors.foreground-alt} +label-volume = %percentage%% + + +format-muted-prefix = " " +format-muted-prefix-foreground = ${colors.foreground-alt} +label-muted-foreground = ${colors.foreground-alt} +label-muted = "mute" + + +[settings] +screenchange-reload = true +;compositing-background = xor +;compositing-background = screen +;compositing-foreground = source +;compositing-border = over + +[global/wm] +margin-top = 0 +margin-bottom = 0 + +; vim:ft=dosini diff --git a/polybar-irunix/.config/polybar/launch.sh b/polybar-irunix/.config/polybar/launch.sh new file mode 100755 index 0000000..41cdb01 --- /dev/null +++ b/polybar-irunix/.config/polybar/launch.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env sh + +# Terminate already running bar instances +killall -q polybar + +# Wait until the processes have been shut down +while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done + +# Launch bar1 and bar2 +polybar example & + + +echo "Polybars launched..." diff --git a/polybar-irunix/README.md b/polybar-irunix/README.md new file mode 100644 index 0000000..3e72fdc --- /dev/null +++ b/polybar-irunix/README.md @@ -0,0 +1 @@ +# polybar diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index a866af2..00fe750 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -9,46 +9,46 @@ [colors] ;background = ${xrdb:color0:#222} -background = #222 -background-alt = #444 +background = #191a1d +background-alt = #33373e ;foreground = ${xrdb:color7:#222} -foreground = #dfdfdf -foreground-alt = #555 -primary = #ffb52a -secondary = #000044 -alert = #004400 +foreground = #ece3d0 +foreground-alt = #707681 +primary = #fab81d +secondary = #446fa6 +alert = #ea4439 [bar/example] ;monitor = ${env:MONITOR:HDMI-1} width = 100% height = 27 -;offset-x = 1% -;offset-y = 1% +offset-x = 0% +offset-y = 0% radius = 0.0 -fixed-center = false +fixed-center = true background = ${colors.background} foreground = ${colors.foreground} line-size = 3 -line-color = #f00 +line-color = #ece3d0 -border-size = 4 +border-size = 0 border-color = #00000000 padding-left = 0 -padding-right = 2 +padding-right = 0 module-margin-left = 1 -module-margin-right = 2 +module-margin-right = 1 font-0 = DejaVu Sans Mono:pixelsize=10;1 ;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 ;font-2 = siji:pixelsize=10;1 modules-left = bspwm i3 -modules-center = mpd -modules-right = xbacklight volume wlan eth battery date +modules-center = xwindow +modules-right = mpd volume eth date tray-position = right tray-padding = 2 @@ -66,9 +66,11 @@ tray-padding = 2 ;scroll-up = i3wm-wsnext ;scroll-down = i3wm-wsprev + [module/xwindow] type = internal/xwindow -label = %title:0:30:...% +label = %title:0:30:…% + [module/xkeyboard] type = internal/xkeyboard @@ -85,6 +87,8 @@ label-indicator-padding = 2 label-indicator-margin = 1 label-indicator-background = ${colors.secondary} label-indicator-underline = ${colors.secondary} + + [module/bspwm] type = internal/bspwm @@ -104,6 +108,7 @@ label-empty = %index% label-empty-foreground = ${colors.foreground-alt} label-empty-padding = 2 + [module/i3] type = internal/i3 format = @@ -140,87 +145,19 @@ label-urgent-padding = ${module/bspwm.label-urgent-padding} [module/mpd] type = internal/mpd -format-online = - -icon-prev =  -icon-stop =  -icon-play =  -icon-pause =  -icon-next =  - +format-online = label-song-maxlen = 25 label-song-ellipsis = true -[module/xbacklight] -type = internal/xbacklight - -format =