diff --git a/.config/i3/config b/.config/i3/config index a0e3e5e..60a8136 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -201,3 +201,12 @@ exec --no-startup-id picom --active-opacity .95 --inactive-opacity .70 # emoji picker bindsym $mod+y exec --no-startup-id "/home/talksik/code/rofi-emoji/emoji.sh" + +##### GAPS - must have i3 version > 4.22 +# Inner gaps for all windows: space between two adjacent windows (or split containers). +gaps inner 10px +# Outer gaps for all windows: space along the screen edges. +gaps outer 10px + +exec_always --no-startup-id $HOME/.config/polybar/launch.sh + diff --git a/.config/polybar/config b/.config/polybar/config new file mode 100644 index 0000000..840b5f2 --- /dev/null +++ b/.config/polybar/config @@ -0,0 +1,392 @@ + +[colors] +;background = ${xrdb:color0:#222} +background = #222 +background-alt = #444 +;foreground = ${xrdb:color7:#222} +foreground = #dfdfdf +foreground-alt = #555 +primary = #ffb52a +secondary = #e60053 +alert = #bd2c40 + +[bar/main] +monitor = DP-1 +width = 100% +height = 34 +offset-x = 9 +offset-y = 1% +radius = 2.0 +fixed-center = false + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #C795AE + +border-size = 0 +border-color = #00000000 + +padding-left = 0 +padding-right = 0 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = fixed:pixelsize=10;1 +font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = siji:pixelsize=10;1 + +modules-left = i3 +modules-center = mpd +modules-right = filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan eth battery temperature date powermenu + +tray-position = right +tray-padding = 2 +;tray-background = #0063ff + +;wm-restack = bspwm +;wm-restack = i3 + +;override-redirect = true + +scroll-up = i3wm-wsnext +scroll-down = i3wm-wsprev + + +[module/xwindow] +type = internal/xwindow +label = %title:0:30:...% + +[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/filesystem] +type = internal/fs +interval = 25 + +mount-0 = / + +label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.foreground-alt} + +[module/i3] +type = internal/i3 + +; Only show workspaces defined on the same output as the bar +; +; Useful if you want to show monitor specific workspaces +; on different bars +; +; Default: false +pin-workspaces = true + +; Show urgent workspaces regardless of whether the workspace is actually hidden +; by pin-workspaces. +; +; Default: false +; New in version 3.6.0 +show-urgent = true + +; This will split the workspace name on ':' +; Default: false +strip-wsnumbers = true + +; Sort the workspaces by index instead of the default +; sorting that groups the workspaces by output +; Default: false +index-sort = true + +; Create click handler used to focus workspace +; Default: true +enable-click = false + +; Create scroll handlers used to cycle workspaces +; Default: true +enable-scroll = false + +; Wrap around when reaching the first/last workspace +; Default: true +wrapping-scroll = false + +; Set the scroll cycle direction +; Default: true +reverse-scroll = false + +; Use fuzzy (partial) matching for wc-icon. +; Example: code;♚ will apply the icon to all workspaces +; containing 'code' in the name +; Changed in version 3.7.0: Selects longest string match instead of the first match. +; Default: false +fuzzy-match = true + +[module/mpd] +type = internal/mpd +format-online = + +icon-prev =  +icon-stop =  +icon-play =  +icon-pause =  +icon-next =  + +label-song-maxlen = 25 +label-song-ellipsis = true + +[module/xbacklight] +type = internal/xbacklight + +format =