1
0
forked from extern/nix-config
Commit Graph

972 Commits

Author SHA1 Message Date
Donovan Glover
163e8eb722
waybar: Use the same font awesome icons as polybar
This fixes an issue where the icons in sway would slightly differ from
those in polybar.
2022-04-12 14:23:19 -04:00
Donovan Glover
991880dc59
waybar: Switch to monospaced font
This lets us have consistent spacing across the icons without having to
worry about adding spaces manually.
2022-04-12 13:44:58 -04:00
Donovan Glover
3504314379
waybar: Use the same icons in sway as bspwm
This makes our setup more consistent across the two environments, useful
when switching between them. Note that sway is not a replacement for
bspwm due to how it handles fcitx input with kitty and how it has
built-in vsync.
2022-04-12 13:43:26 -04:00
Donovan Glover
4156c1fb23
sxhkd: Copy selections to clipboard by default
Since selections are more likely to be temporary than full screen
screenshots, copying their contents to clipboard by default is useful,
although in the future it may be more practical to create an image and
copy to clipboard at the same time, similar to other screenshotting
tools like ShareX.
2022-04-12 10:40:04 -04:00
Donovan Glover
671ce294c9
kitty: Use practical layout hierarchy
This makes it easy to switch layouts in kitty and usually get what we
want rather quickly, without having to worry about the current layout
being used.
2022-04-12 10:32:21 -04:00
Donovan Glover
dc3c752337
kitty: Enable dynamic background opacity
At some point I disabled this setting, possibly because of a bug or
other issue at the time, most likely related to my use of w3m or a
similar image preview script.

Now that I take advantage of all of kitty's features in 2022, especially
since it has proper fcitx support, there shouldn't be a reason to not
enable dynamic background opacity, as it seems to work flawlessly.
2022-04-12 10:20:59 -04:00
Donovan Glover
60ce281c8c
fish: Add wal completions
I wrote a script that generated wal completions 4 years ago. Although
the patch was never merged, pywal is a great tool and I can still use
the completions personally, so I might as well add them here.
2022-04-12 10:16:37 -04:00
Donovan Glover
0e58d7478d
fish: Add git clone abbreviation 2022-04-12 10:03:24 -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
cc9b8aed08
wal: Update kitty colors on theme change
Now we no longer have to worry about kitty having an inconsistent color
scheme when changing the color scheme of the rest of the environment,
which means that we can fully use kitty's window management and change
themes with pywal at the same time.
2022-04-11 09:45:46 -04:00
Donovan Glover
f01915654c
fish: Add fzf key bindings
This lets us do cool things like alt+c to easily cd into a directory
with fuzzy search.
2022-04-11 09:41:08 -04:00
Donovan Glover
762ff7bd15
bspwm: Use a more interesting desktop layout
Since I usually have a browser and terminal emulator open most of the
time, I have placed them back as desktop 1 and 2 by default. I'm used to
the file browser being in 3, and 4 serves as media, which is important
for language immersion in particular.

The other 6 icons are numbers for individuals that know how to read
other languages.
2022-04-11 09:35:29 -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
54b116c55b
kitty: Enable remote control with listen support
This enables us to automatically change kitty colors when changing pywal
color schemes, which means that kitty window management, such as its tab
feature, will honor the new colors of pywal automatically, without
having to restart kitty.
2022-04-11 09:20:39 -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
37bdcdcf49
fish: Add abbreviation for df
Now we can get a useful version of df without having to remember the
options to use.
2022-04-11 09:07:02 -04:00
Donovan Glover
12542c66c8
sxhkd: Use a single instance for kitty
This makes kitty slightly faster when opening multiple windows, among
other things.
2022-04-11 09:04:32 -04:00
Donovan Glover
e2dc9ca3d1
misc: Fix link to yay 2022-04-11 08:56:28 -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
7378a39730
rofi: Add filebrowser mode
The filebrowser in rofi is actually pretty fast, so it can serve as a
quicker keyboard-friendly replacement to nautilus.
2022-04-09 10:25:16 -04:00
Donovan Glover
9674210774
fish: Ignore lost+found with exa
This makes browsing the root of ext4 partitions nicer.
2022-04-09 09:44:25 -04:00
Donovan Glover
dc483d0f30
misc: Fix typo
Might as well fix these as I notice them.
2022-04-09 09:42:36 -04:00
Donovan Glover
cc7b166b85
sxhkd: Add notification when reloading sxhkd 2022-04-09 09:39:48 -04:00
Donovan Glover
ac6d609bf2
waybar: Add memory module
Note that this may be considered bloat but it's good for now. When
focusing it's easy to press ctrl+o to hide waybar anyway.
2022-03-25 10:00:36 -04:00
Donovan Glover
b699e2b784
meta: Add keystrings
This makes it easier to edit in a tty if we need to do so.
2022-03-25 09:59:17 -04:00
Donovan Glover
b9e7e0a8b1
gtk: Use a more custom theme choice
Instead of the usual GTK themes, we're going with something completely
different. The font has also been changed to reflect the one I use the
most.
2022-03-24 16:38:53 -04:00
Donovan Glover
df0456279a
waybar: Increase tray spacing
Now the icons look nicer next to the numbered workspaces.
2022-03-24 16:26:00 -04:00
Donovan Glover
e4c9f2eefb
waybar: Move tray to left side
Since the tray can have more than one icon, having it on the left makes
it easier to see the time in the top right.
2022-03-24 16:25:09 -04:00
Donovan Glover
89b9d9f5c6
meta: Add swaylock
Note that for now we're using random pictures and blurring them,
although in the future I may make this more specific.
2022-03-24 10:32:08 -04:00
Donovan Glover
eeeaa82bc5
meta: Add swayidle
This lets us automatically start swaylock on lid close, useful when on
the go, although not a replacement for turning off a computer fully.
2022-03-24 09:00:49 -04:00
Donovan Glover
9ae4f4442e
sway: Style GTK applications under Wayland
This fixes an issue where our settings.ini wasn't being applied on
Wayland.
2022-03-23 21:09:01 -04:00
Donovan Glover
e80a69c10b
waybar: Add muted indicator for volume
Now it's easier to tell when the volume is muted.
2022-03-23 21:04:33 -04:00
Donovan Glover
dc8bb8a493
meta: Add mozc
Note that this configuration file is specifically for mozc under ibus,
although fcitx(5) should be preferred in most cases due to its
compatibility.
2022-03-23 20:59:41 -04:00
Donovan Glover
51f303d09e
archlinux: Remove old yarn prefix
At some point I added this, although now yarn stores all global packages
in .yarn by default, so this isn't necessary.
2022-03-23 20:54:59 -04:00
Donovan Glover
f8d10629e5
mpd: Use pipewire as the audio output
Now that pipewire is more mainstream, we don't have to worry about using
alsa or pulseaudio here which, from what I remember, took more effort
to set up.
2022-03-22 11:14:38 -04:00
Donovan Glover
d45807e590
waybar: Add padding-right to tray
This fixes an issue where the tray icon would previous be at the edge of
the screen. So far, the tray is only used for fcitx.
2022-03-22 11:07:52 -04:00
Donovan Glover
daec189305
sway: Use dunst as the notification daemon
Since dunst now supports both xorg and wayland, we can use it in sway
as well.
2022-03-22 10:16:09 -04:00
Donovan Glover
345f06095e
waybar: Increase padding between workspace buttons
There was actually an issue where waybar was using larger padding than
usual, which was fixed by setting the gsettings in our sway config. I
liked the padding changes introduced by the other theme, however, so
this change makes it permanent.
2022-03-22 10:15:11 -04:00
Donovan Glover
b0b528f76b
meta: Remove XDG_CURRENT_DESKTOP=KDE
This was cool when we had KDE-specific applications, but since I'm
prioritizing ranger and nautilus now, dolphin isn't needed. Since I'm
focusing heavily on terminal and web-based applications, there is less
need to customize KDE applications specifically.

Two other advantages to this is that I no longer have to manually update
the colors in kdeglobals, and most if not all of the environment can be
programmatically set up with minimal effort.
2022-03-22 09:34:19 -04:00
Donovan Glover
e958c6ab5d
bspwm: Use mpv with xsecurelock
This lets us play videos in the background while the screen is locked on
Xorg, taking advantage of all our mpv settings as well.
2022-03-21 11:41:16 -04:00
Donovan Glover
f2596ba263
sway: Hide the cursor when inactive
Now sway behaves similarly to unclutter on bspwm/xorg, and we don't have
to worry about moving the cursor out of the way since it automatically
disappears.
2022-03-21 11:39:26 -04:00
Donovan Glover
d391f5335b
meta: Use kitty instead of ueberzug
Since ueberzug only works in X, and since ranger previews currently
conflict with tmux due to a new python version on arch linux, ueberzug
has no real advantage besides making image previews work in alacritty,
which I ultimately decided against due to how it handles fcitx input on
Xorg.
2022-03-20 22:18:50 -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
301deee996
sxhkd: Show notification when changing volume 2022-03-20 17:40:44 -04:00
Donovan Glover
b57db95cfd
kitty: Don't use spacing between windows
This looked nice in rice screenshots but isn't practical since it limits
the amount of text available on the screen at any given moment.
2022-03-19 17:01:57 -04:00
Donovan Glover
5b33379e36
vim: Remove vim-closetag
This plugin appears to conflict with vim-autopairs, although I prefer
the flexibility that autopairs provides.
2022-03-19 09:46:58 -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
68075e746d
bspwm: Auto-mount partitions with udiskie
One of the conveniences of GNOME is auto-mounting. Although manually
mounting is a good learning exercise, we can improve productivity by
auto-mounting by default.
2022-03-15 08:51:47 -04:00
Donovan Glover
582e282778
sxhkd: Show notification instead of image on screenshot
This lets us take advantage of screenshots in full screen applications,
without the interruption that another window would provide.
2022-03-13 17:45:40 -04:00
Donovan Glover
ca32f737a6
bspwm: Start dunst on startup
We removed dunst at some point but now we're adding it back again.
2022-03-13 10:27:56 -04:00