Commit Graph

1004 Commits

Author SHA1 Message Date
Donovan Glover
b0d63997db
fish: Alias mv to mv -i
This is for peace of mind so we avoid accidentally moving something
where something already exists.
2022-07-28 10:57:16 -04:00
Donovan Glover
6c84ba914c
bspwm: Set the keyboard to maximum brightness on init
This fixes the issue of having to manually increase brightness on boot.
2022-07-28 10:55:59 -04:00
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
80a2ec3fe3
fcitx: Use Super+[ to switch inputs
This fixes an issue where the previous keybinds would conflict with
other applications, and reinforces the idea that all system-wide
keybinds use Super.
2022-07-28 10:50:52 -04:00
Donovan Glover
6e963bbcf1
fcitx: Remove Group 2 from profile
This wasn't actually used for anything, so removing it simplifies things
a bit.
2022-07-28 10:46:49 -04:00
Donovan Glover
424844f6f7
fcitx: Use default theme
This makes it easier to use fcitx across any color scheme.
2022-07-28 10:45:57 -04:00
Donovan Glover
c2d8ec78cc
meta: Add fcitx
I've used fcitx for a while but never committed my actual config for it.
Note that this config is relatively old, and I'll be updating it with a
new commit to make seeing the changes easier relatively soon.
2022-07-28 10:40:59 -04:00
Donovan Glover
79374ba060
mpv: Find subtitles in subdirectories
This is just a convenience feature if, for example, the subtitles aren't
part of the video file itself.
2022-07-28 10:09:05 -04:00
Donovan Glover
aeb87d3026
bspwm: Use the previous color scheme if present
This makes it possible to keep a preferred color scheme across boots.
2022-07-28 05:19:42 -04:00
Donovan Glover
7178f19424
sxhkd: Show notifications when changing brightness
Now it's possible to see exactly how much brightness the display has.
2022-07-28 03:51:41 -04:00
Donovan Glover
b81a91e39f
meta: Remove gnome
Having gnome settings was cute, but realistically the desktop
environment should automatically choose the best settings for the target
computer. Manually change anti-aliasing goes against the idea of wanting
the stock GNOME experience.
2022-07-28 03:45:23 -04:00
Donovan Glover
d2eb6b702d
gnome: Remove extensions
This was cute, but it's easier to maintain GNOME by simply using stock
instead of using a bunch of extensions.
2022-07-28 03:40:28 -04:00
Donovan Glover
a7115582bd
gnome: Remove GTK and cursor theme settings
I don't use these anymore in my main environment and am probably not
interested enough in GNOME to customize it manually anymore. As of now,
I'd rather stay in my comfortable bspwm environment since it's there
that "everything just works".
2022-07-28 03:38:56 -04:00
Donovan Glover
273a803a2b
sxhkd: Use Super+Shift+P to screenshot selections
This is part of the process of changing all keybinds to use Super to
avoid conflicts with other programs.
2022-07-28 03:30:43 -04:00
Donovan Glover
b0e3fbc1e8
sway: Use single kitty instance
Note that maintaining both sway and bspwm is inconvenient, so I may
eventually cut one of them for ease of living.
2022-07-28 03:25:21 -04:00
Donovan Glover
e590a26569
mpv: Extend the default keybinds
At some point I removed the default keybinds. A lot of them are useful,
however, so keeping the existing ones makes sense.
2022-07-28 03:22:05 -04:00
Donovan Glover
c0141aa4e5
meta: Remove yt-dl
This is no longer needed since yt-dlp chooses the best formats
automatically, which I've been using for a while now.
2022-07-28 03:18:49 -04:00
Donovan Glover
6cef680d42
starship: Expand abbreviations
This makes things slightly more formal.
2022-07-28 03:14:31 -04:00
Donovan Glover
3a0c69be75
meta: Remove kdeglobals
Since I no longer use KDE applications anymore, and since I no longer
set XDG_CURRENT_DESKTOP equal to KDE, this doesn't do anything
noticeable to the working environment.
2022-07-28 03:13:54 -04:00
Donovan Glover
d4f214f5fb
meta: Set the browser at the window manager level
This fixes an issue where the specified browser wouldn't be used when
dealing with a non-shell environment.
2022-07-28 03:00:49 -04:00
Donovan Glover
5ed54c3ec9
fish: Add go support
Note that the GOPATH is also a hidden directory now.
2022-07-28 02:59:08 -04:00
Donovan Glover
3c93bc4bab
meta: Remove remaining fedora scripts
Like most things in life, it's time to move on from maintaining
Fedora-specific scripts. Although I like using Fedora when given a
random machine, my setup is much easier to reproduce on Arch Linux.

For most users, they may not even need a desktop operating system like
Fedora in the first place since mobile devices are typically more
secure, easier to carry around, and can do most if not everything that a
desktop can, especially in the year 2022.
2022-07-28 01:44:46 -04:00
Donovan Glover
adc372a0a2
xmodmap: Use print screen as a right super
I've always felt disadvantaged by not having a right super on laptop
keyboards. This fixes that.
2022-07-28 01:29:38 -04:00
Donovan Glover
3005a7ce51
archlinux: Remove install scripts
Although writing my own install scripts was a valuable learning
experience, Arch Linux now has an official archinstall utility, which
should be easier to use than having to edit a bash script.
2022-06-11 16:56:43 -04:00
Donovan Glover
f5fcf8962d
fedora: Remove rpm package
Although learning about package management for rpm-based distributions
was a fun experience, it's not realistic to maintain long-term. In this
case, it may be easier to simply install packages on a case-by-case
basis, making use of Ansible for anything else.
2022-06-11 16:09:45 -04:00
Donovan Glover
10b8f4f648
fedora: Remove vendor scripts
Instead of setting up a development environment directly on Fedora,
which comes at the cost of having to maintain both the Fedora-specific
implementation and the Arch implementation, it should be easier to
simply use Vagrant instead.
2022-06-11 15:37:25 -04:00
Donovan Glover
eca6f0b46c
editorconfig: Use standard formatting for go
go fmt uses tabs instead of spaces, so we might as well format our code
the same way.
2022-06-04 07:36:06 -04:00
Donovan Glover
4fdf375a17
git: Display unicode file names
This fixes an issue where Japanese and other non-English file names
would be escaped when using commands like git diff.

Reference: https://stackoverflow.com/questions/34549040/
2022-06-04 07:31:31 -04:00
Donovan Glover
8613af7d85
sxhkd: Change fn keys to super + F1-F12
This change has 3 main benefits:

1. We no longer have to worry about switching between the fn keys and
   F1-F12 keys, and can benefit from both keybinds at the same time.
2. Keys that don't return anything under xev (such as the chat icon and
   telephone icons) can now be customized.
3. We no longer have to worry about accidentally pressing the networking
   key that disables the internet connection.
2022-05-24 16:43:52 -04:00
Donovan Glover
c59984ac06
sxhkd: Add placeholders for fn keys
Note that instead of having to remember to switch between fn and non-fn
keys, especially when working with both at the same time, we can simply
map commands that would use those fn keys with super instead.

In this way, we no longer have to worry about the same keystroke performing
a different command. The current commit serves as an easy way to remember
what the existing fn keys were if needed.
2022-05-24 16:33:08 -04:00
Donovan Glover
9be6e9c11b
kitty: Make fcitx ui work under wayland
This fixes an issue where kitty wasn't able to show the ui of fcitx
under wayland. By forcing x11 specifically, kitty now has reasonably
good support for fcitx under wayland.
2022-04-12 14:33:13 -04:00
Donovan Glover
d654c999b8
waybar: Make text easier to read
This slightly increases the font weight of text without affecting the
font awesome icons, which is important since changing the font weight
of everything caused the firefox icon to become malformed.
2022-04-12 14:24:19 -04:00
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