diff --git a/bspwm/bspwmrc b/bspwm/bspwmrc new file mode 100644 index 0000000..50712c7 --- /dev/null +++ b/bspwm/bspwmrc @@ -0,0 +1,24 @@ +#!/bin/sh + +# Removing all rules at startup to prevent duplicating rules. +bspc rule -r "*" + +# Set up the desktops (workspaces) for the monitor +bspc monitor -d I II III IV V + +bspc config border_width 5 +bspc config window_gap 9 + +bspc config split_ratio 0.52 +bspc config borderless_monocle true +bspc config gapless_monocle true +bspc config focused_border_color "#d59783" +bspc config focus_follows_pointer true + +# Rules +bspc rule -a code-oss desktop=^2 +bspc rule -a firefox desktop=^1 + +# Startup applications +$HOME/.config/polybar/launch.sh +exec firefox diff --git a/polybar/config b/polybar/config new file mode 100644 index 0000000..37cd6eb --- /dev/null +++ b/polybar/config @@ -0,0 +1,289 @@ +; color format is in ARGB +[colors] +background = #000000 +background-alt = #99000000 +foreground = ${xrdb:color7:#eee} +foreground-alt = #aaa +primary = #d59783 +secondary = #E8C4FF +tertiary = #A7DAE8 +alert = #bd2c40 + + + + +; The common style between bars +[bar-common-style] +width = 100% +height = 30 +wm-restack = bspwm +fixed-center = false + +line-size = 3 +line-color = #f00 + +padding = 1 + +module-margin = 1 + +font-0 = "Iosevka Nerd Font" +font-1 = "Fira Code" +font-2 = siji:pixelsize=10;1 + +tray-position = right +tray-padding = 2 +cursor-click = pointer + + + +[module-common-style] +format-padding = 1 +format-background = ${colors.background-alt} +format-prefix-foreground = ${colors.foreground-alt} + + + + +[bar/fds-bar] +background = ${colors.background} +foreground = ${colors.foreground} + +inherit = bar-common-style +enable-ipc = true +modules-left = bspwm +modules-right = pulseaudio memory cpu temperature eth date powermenu + + + + +[bar/fds-taskbar] +background = ${colors.background} +foreground = ${colors.foreground} + +inherit = bar-common-style +bottom = true +modules-right = filesystem + + + +[module/conv] +type = custom/text +content = "terminal" +click-left = "tdrop -ma -s dropdown alacritty" + + + +[module/xwindow] +type = internal/xwindow +label = " %title:0:50:...% " +label-layout = %layout% +format =