Commit Graph

22 Commits

Author SHA1 Message Date
Donovan Glover
1c9fca7dd4
polybar: Decrease bar height
Less bar height means more working screen space.
2018-12-08 01:32:10 -05:00
Donovan Glover
20fb948b5e
polybar: Fix usage of incorrect background color
color0 is usually the background color, but not always. This fixes an
issue where polybar would not display the right background color if
color0 was different than the background color set by the pywal theme.
2018-12-07 20:30:55 -05:00
Donovan Glover
63dccefed3
misc: Small fixes 2018-12-07 18:47:38 -05:00
Donovan Glover
454848572a
polybar: Fix padding
It turns out that the left padding from the bspwm labels are used in
addition to the left padding from polybar, so in order for padding to be
consistent across both the left and right sections, the section with the
bspwm module needs to have its padding subtracted by the amount used by
the bspwm labels.
2018-12-05 18:06:34 -05:00
Donovan Glover
72152ad7f6
polybar: Set foreground to background-alt by default
Since basically everything uses background-alt, it's easier to make
each module inherit this property instead.
2018-12-05 17:38:42 -05:00
Donovan Glover
62619de372
polybar: Don't distinguish between empty desktops
Time will tell whether or not I keep this, but one less color makes
it easier to seamlessly integrate the bar with different color schemes.

With this change, the interface is also arguably cleaner.
2018-12-05 17:34:09 -05:00
Donovan Glover
b14e971165
polybar: Decrease bspwm label padding 2018-12-05 15:37:37 -05:00
Donovan Glover
2439706a28
polybar: Show title of focused window at center
It turns out that showing the window title is very useful for actually
using the window manager, especially with no visual indicator through
window borders to determine which one is selected.
2018-12-05 15:35:01 -05:00
Donovan Glover
1e8652d638
polybar: Remove ws-icons
This can be handled by bspwm instead.
2018-12-05 14:51:59 -05:00
Donovan Glover
8b12687dd8
polybar: Remove border width and window gap by default
Realistically, you use a window manager to take up all the available
space on a screen. Borders and gaps are counter-intuitive in this
regard.

Since polybar has a module that shows the title of the focused window,
using a border width even in gapless mode is no longer necessary. This
also works conveniently well with bspwm's monocle desktop layout, which
will also inherit the no-border no-gaps methodology and take up all the
available screen space.
2018-12-05 11:31:38 -05:00
Donovan Glover
f1b4f82556
polybar: Remove the no bar option
It turns out that polybar is able to provide very useful information for
window management in bspwm, so much so that disabling the bar completely
wouldn't make sense.

Since there's already a way to hide the bar (with a sxhkd keybind), and
since a "no bar" option would break this functionality even though the
hidden bar keybind produces the same result, it makes sense to remove
this.
2018-12-05 11:24:55 -05:00
Donovan Glover
9f27d4e13a
meta: Remove launch dependency
Now that I know how to use terminal multiplexers, and now that I
understand more about how shells and terminals work, the launch
dependency is no longer necessary.

Additionally, *too many* abbreviations is difficult to use in the long
term, no matter how short the commands are. Since I don't need to launch
programs from the terminal as often anymore (now that I use rofi and
other programs), this change makes sense.
2018-12-01 18:18:44 -05:00
Donovan Glover
3f437451af
polybar: Decrease border size
Since all modes now share the same border width, it may be useful to
simplify setting the border size in a future commit.
2018-11-30 17:22:29 -05:00
Donovan Glover
361abf7c98
polybar: Add variable DPI support
This commit adds full variable DPI support to polybar. This means that
it is possible to use the same polybar setup on both a traditional and
HiDPI display.

Additionally, font size has been slightly adjusted since polybar does
not support decimal font sizes. Some other numbers have also been
changed.
2018-11-28 15:38:07 -05:00
Donovan Glover
ba2a16ecdc
polybar: Remove underline colors
Since I don't use underline colors anymore, I'm removing them. They
didn't really go well with the appearance I was trying to make.
2018-11-28 14:46:26 -05:00
Donovan Glover
58f7581be9
docs: Add READMEs for bspwm, polybar, and rtv 2018-11-18 15:20:14 -05:00
Donovan Glover
c4b7b69f66
stow: Split bspwm into separate packages
It turns out that placing similar config files (i.e. bspwm-related) in
the same directory is not the way to go about handling dotfiles since
each config file (or dotfile) *should* manipulate only a single program.

This was not the case back when I used urxvt (which would require the
old method of .Xresources), but now that I understand more about how
*modern* dotfiles work (with $XDG_CONFIG_HOME), separating dotfiles by
program became the obvious choice.
2018-11-17 14:58:13 -05:00
Donovan Glover
b58ae0bdd4
Combine bspwm-specific dotfiles
There are many dotfiles that we don't have to worry about when using a
desktop environment like Plasma or Xfce. These dotfiles are bspwm
specific and should all be stowed at the same time when stowing bspwm.
2018-09-01 02:29:22 -04:00
Donovan Glover
c582138b9f
Update polybar config
This commit adds a "secondary" bar type, which takes up the entire
available space horizontally. Alternatively, use the main bar if you
want to go for a floating appearance instead.
2018-08-31 14:21:11 -04:00
Donovan Glover
520bb800ce
Update config files for polybar, bspwm, and sxhkd
polybar:

- Properly referenced all the xrdb colors
- Decreased the height of the bar to 85 while floating
- Made the border color translucent
- Added line-size (gives line emphasis to modules)

bspwm:

- Decreased window_gap (aka increased the working space)
- Added presel_feedback_color (used when selecting where to open
  new windows)

sxhkd:

- Added super + shift + return to start a new tmux session
- Updated polybar show / hide with new top_padding value
- Added keybind for the private flag
2018-04-11 22:41:57 -04:00
Donovan Glover
cb2773f429
Make polybar float
This commit makes polybar float instead of just cover the top portion of
the screen. In the future, it may be useful to easily change between
these designs, likely using separate bars for each layout.

This commit also adds a way to highlight and / or underline the
different modules.
2018-03-06 23:43:36 -05:00
Donovan Glover
d90a303312
Move ranger, polybar, and w3m to stow 2018-02-27 15:08:59 -05:00