1
0
forked from extern/nix-config
Commit Graph

21 Commits

Author SHA1 Message Date
Donovan Glover
4f280b0780
Remove Plasma with bspwm support
Use bspwm with XDG_CURRENT_DESKTOP=KDE instead.
2018-10-15 20:24:35 -04:00
Donovan Glover
e5d9de3946
Add GTK config
With these settings, the cursor looks exceptionally well even with
HiDPI. Adapta is used over other GTK themes since Adapta has very good
padding defaults. Adapta also won't cause problems with input fields,
compared to several other GTK themes.
2018-10-15 20:09:17 -04:00
Donovan Glover
8fea3e5fc8
Add full HiDPI support for Qt applications in bspwm
After comparing environment variables between KDE Plasma and bspwm, I
finally figured out that QT_SCREEN_SCALE_FACTORS was needed as well for
full HiDPI support. With this setting and QT_FONT_DPI applied, KDE / Qt
applications now look exactly as they would in Plasma.

To avoid any differences that may arise, I also exported XDG_DATA_DIRS
and some other variables set by Plasma.
2018-10-15 11:34:12 -04:00
Donovan Glover
961bc90798
Add Plasma with bspwm script
This is the last commit I will make regarding Plasma with bspwm
support. This script is required to start Plasma with bspwm, although
it is much better to run KDE applications from bspwm instead.
2018-10-15 10:04:01 -04:00
Donovan Glover
a0c030fe7c
Make post-wal commands conditional
This commit makes the post-wal script a bit more aware of its
environment. This is only to support Plasma with bspwm, which
needs the bspwm settings but not the dunst settings.

Since bspwm with KDE settings performs exceptionally well, I may drop
Plasma with bspwm support altogether and revert this commit at a later
date. The overhead of wmctrl and grep may not be worth it.

Additionally, the filename should probably be changed to a more
generic one in order to support more software as needed.
2018-10-15 09:48:47 -04:00
Donovan Glover
5d82d4ac5a
Update Plasma with bspwm config
Since Plasma does not respect feh, it makes no sense to set a
background for it.

Note that these settings apply to Plasma with bspwm, *not* bspwm with
KDE settings. You should not have to use Plasma with bspwm, since bspwm
with KDE settings should do everything you want and much more.

In the future, I may remove Plasma with bspwm support altogether.
2018-10-15 09:15:06 -04:00
Donovan Glover
4d8e9b1b88
Add wal autostart script
Since wal is used to manage the color scheme, it needs to be started
when running KDE Plasma. This script does just that.

Note that the desktop background is not changed (-n) since Plasma uses
its own background manager and does not respect feh.
2018-10-15 09:04:53 -04:00
Donovan Glover
f6ebc31fe9
Add urxvtd service
Instead of starting urxvtd with urxvtcd, start it automatically with
systemd. This lets us run urxvtc directly in other desktop environments
without having to rely on urxvtcd.
2018-10-15 08:56:37 -04:00
Donovan Glover
bb711596c1
Add ssh-agent service
Instead of trying to do something fancy with shell init scripts, we let
systemd handle ssh-agent instead.
2018-10-15 08:55:20 -04:00
Donovan Glover
40b172a459
Update zathura
Here is my attempt at adding pywal support.
2018-10-14 23:31:01 -04:00
Donovan Glover
61b683c985
Export SSH_AUTH_SOCK
This lets us manage ssh-agent with systemd.
2018-10-14 22:50:33 -04:00
Donovan Glover
ca6935d08b
Update various dots
Lots of minor improvements here.
2018-10-14 22:48:00 -04:00
Donovan Glover
f26f5acedc
Add rofi
Rofi is "a window switcher, application launcher, and dmenu
replacement". It lets you search for and access certain
information at any given time, making it very useful.
2018-10-13 00:41:24 -04:00
Donovan Glover
9b9a7b1768
Switch from base16 to pywal
pywal (also known as wal) lets us change color schemes with a cache
directory instead of editing config files directly. This helps us
separate the dotfiles from the color schemes.

This commit removes explicit color settings from my dotfiles, which are
now managed by pywal. Dunst has been added to show any notifications
that I may want to use in the future. The colors.Xresources file is used
to prevent urxvt from using a depth of 32.

My custom colors.vim file has been removed in favor of wal.vim, which
solves some problems I had to manually resolve myself and should make
things easier to maintain in the long term.

Note that pywal also supports base16 color schemes, as well as any other
color scheme you can think of.
2018-10-12 23:13:15 -04:00
Donovan Glover
695a5cf2db
Update bspwm config
Lots of changes here. SXHKD_SHELL is used to specify bash as the shell
to use for sxhkd. This is required since we use bash-specific syntax in
our sxhkdrc. Many commands that once ran through .xinitrc are now
executed by bspwmrc instead, and additional rules have been added to
support KDE applications.
2018-10-07 18:44:28 -04:00
Donovan Glover
b7815b4e51
Update sxhkd config
I now use urxvt once more.
2018-10-07 18:37:50 -04:00
Donovan Glover
bf0a007487
Update misc dotfiles
Image previews in ranger are back, this time using urxvt instead of w3m.
Also fixed the screenshot utility and cleaned up some other things.
2018-10-07 18:15:44 -04:00
Donovan Glover
5a9086fc13
Update compton config
Some of these options may not be needed anymore. For example, the
default shadow settings work just fine.
2018-10-06 18:16:08 -04:00
Donovan Glover
5128120f9e
Update polybar config
Here I finally figure out how icons work in Arch Linux (and probably
other distributions as well). Other changes include a smaller font size,
more gaps, and less line size.
2018-10-06 17:44:33 -04:00
Donovan Glover
4e65100b5e
Update fish config
Setting XDG_CURRENT_DESKTOP and QT_FONT_DPI lets us run KDE applications
in bspwm with near-identical settings without starting plasmashell.
2018-10-03 15:34:11 -04:00
Donovan Glover
f332ba6c10
Move dotfiles up to root directory
Instead of stowing dotfiles individually by software, and instead of
stowing dotfiles based on working environment, I now just stow all
dotfiles at once, so the extra hierarchy isn't needed.
2018-10-03 13:15:23 -04:00