Commit Graph

38 Commits

Author SHA1 Message Date
Donovan Glover
54edb4b045
polybar: Remove cpu and ram from bar
I am not performing tasks that require constant knowledge of the CPU and
RAM being used, and if I am, I can use a tool like htop instead, which
would avoid the distraction of the bar numbers constantly changing.
2022-07-28 10:53:17 -04:00
Donovan Glover
80bfb36919
polybar: Don't hardcode monitor to display on
Now polybar will show on all monitors by default, and we don't have to
update the script every time those monitors change, useful when changing
between computers that use HDMI and computers that use display port, for
example.
2022-04-11 10:12:59 -04:00
Donovan Glover
adad255285
polybar: Update cpu icon to new version
At some point the cpu icon stopped working, so this changes it to a new
version found in font awesome 6.
2022-04-11 09:22:25 -04:00
Donovan Glover
eb38cfcf1c
polybar: Add wifi module
This makes it easy to see the amount of data being uploaded or
downloaded at any given time.
2022-04-11 09:11:24 -04:00
Donovan Glover
b40873a351
polybar: Use a distinct icon when fully charged
Now it's easier to tell when a laptop is at 100%.
2022-04-09 10:27:18 -04:00
Donovan Glover
562d4fa225
polybar: Use pulseaudio instead of alsa
This fixes an issue where the volume would show incorrectly with
pipewire.
2022-03-20 17:41:37 -04:00
Donovan Glover
edc3525416
polybar: Decrease maximum length for window titles
This prevents the title from overflowing and causing layout shifts when
the other modules expand.
2022-03-15 11:15:22 -04:00
Donovan Glover
9f769aec48
polybar: Show when volume is muted
This makes it easier to tell when the volume is muted.
2022-03-08 11:17:33 -05:00
Donovan Glover
fb09146218
polybar: Update to font awesome 6 2022-03-08 09:00:39 -05:00
Donovan Glover
ce3fde5b1a
meta: Replicate sway workspace functionality in bspwm
I like how sway handles workspaces. This change makes it so bspwm uses
numbers as the workspaces and polybar only shows workspaces that are
being used in the bar.
2021-11-14 11:20:57 -05:00
Donovan Glover
2d46188b02
polybar: Add back battery module
The current machine I use has a battery, so this is needed.
2021-11-14 11:19:17 -05:00
Donovan Glover
e9e8edfad3
polybar: Improve battery functionality
Now the battery module is more pleasant to look at.
2021-11-14 11:15:33 -05:00
Donovan Glover
8a95b6fe00
polybar: Update monitor
Have to use eDP now, although waybar is very similar to polybar (and
without the need to specify this).
2021-06-21 18:17:23 -04:00
Donovan Glover
df1d328de9
Revert "Remove polybar"
I don't actually need to get rid of my old config files if I ever want
to have easy access to them in the future. Although I intend on using
Wayland, having a nice interface for traditional X applications may not
be a bad idea (some graphically intensive programs also run better there,
apparently).
2021-05-14 10:14:07 -04:00
Donovan Glover
657789690d
Remove polybar
Time to learn how to configure a new status bar!
2021-05-13 13:39:26 -04:00
Donovan Glover
5f0320f2bf
polybar: Switch label-mode with label-state
Now that the desktop labels cover less width and have lower padding,
it makes sense to place label-mode on the right side instead of the left.

This fixes an issue with padding I previously encountered with the old
desktop labels, and also prevents the desktop labels from being shifted
to the right when a label-mode is present.
2018-12-12 05:25:32 -05:00
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