1
0
forked from extern/nix-config
Commit Graph

52 Commits

Author SHA1 Message Date
Donovan Glover
a4654beb2b
sxhkd: Remove super+tab
Pressing the actual number of the desktop is more productive than
tabbing between them since you associate the hand movement with that
workspace, making it easier to return to later.

Super+tab, in contrast, was one hand movement that resulted in many
different results, which wasn't so good for memorizing which desktop has
what.
2023-04-11 18:32:29 -04:00
Donovan Glover
6f75925146
meta: Revert recent dotfile removals
Although removing these dotfiles gave the repository a clean feeling, it
made it significantly harder to resume using a certain window manager or
other tool at any time.

Instead of removing dotfiles entirely, it's enough to simply not install
the programs you don't want to use, or even install them but not open
them.
2023-03-19 18:02:26 -04:00
Donovan Glover
0396617ea6
meta: Remove sxhkd
What a ride. Although I absolutely loved configuring my keybinds through
sxhkd, more so than i3 / sway and similar window managers, I didn't
realize that most of what I was doing under bspwm could also be
accomplished under GNOME through gsettings.
2023-01-07 04:11:26 -05:00
Donovan Glover
36470f2b24
sxhkd: Update wal keybinds
As far as I remember, the -e was necessary to avoid the automatic tint2
reload causing the bar to be unclickable under bspwm.
2023-01-07 03:30:42 -05:00
Donovan Glover
3d631a90df
sxhkd: Use rofi with ksuperkey
I eventually realized that GNOME accomplishes this and much more with
a lower probability of issues occurring.
2023-01-07 03:28:03 -05:00
Donovan Glover
f7a57d0875
sxhkd: Add keybinds to control kitty opacity 2023-01-07 03:25:35 -05:00
Donovan Glover
7833b3712f
sxhkd: Add separate kitty launch script
This made it possible to control the opacity of the terminal with sxhkd
keybinds.
2023-01-07 03:22:16 -05:00
Donovan Glover
ba5675586a
sxhkd: Replace polybar toggle with tint2 2023-01-07 03:17:06 -05:00
Donovan Glover
3c67353d23
sxhkd: Revise node keybinds 2023-01-07 00:51:33 -05:00
Donovan Glover
a99716560c
sxhkd: Simplify desktop focusing 2023-01-07 00:50:52 -05:00
Donovan Glover
7af4af4f49
sxhkd: Add dropdown todos
Since I now use GNOME, I'll never go through these TODOs, however
anyone is free to implement these ideas on their own time.
2023-01-05 02:18:41 -05:00
Donovan Glover
6e8d4a543e
sxhkd: Halve gaps differential
This change simply made it easier to fine-tune gaps in a more precise
way, although admittedly I am not interested in this as much as I used
to be.
2022-12-15 09:58:05 -05:00
Donovan Glover
208de5adea
sxhkd: Add keybind to reload libinput-gestures
At some point I added libinput-gestures to my setup to replicate the
touchpad gestures I loved so much on GNOME. Although this was cute, such
gestures lacked the animations from GNOME and would even stop working
entirely from time to time. It is for this reason that I created a keybind
specifically to reload libinput-gestures.
2022-12-15 09:52:45 -05:00
Donovan Glover
ba0ad5b142
sxhkd: Add ability to dynamically adjust gaps/borders
This lets us use bspwm and occasionally make it look completely
different without having to worry about manually typing things out in a
terminal.
2022-11-03 11:45:52 -04:00
Donovan Glover
d41321b427
sxhkd: Remove clipboard to browser
Although this was cute and allowed us to open links in any browser from
anywhere on the computer, in practice this "ability" wasn't that useful.
In the event that looking up words is needed, it's easier to open or
switch to qutebrowser and use its search feature instead of trying to
remember which keybinding is which.

One solution for the future would be to synchronize qutebrowser search
engines with a rofi/dmenu-like selection screen, which would solve the
problem of not remembering which keybind is which. Frequently used
search engines would be higher on the list and would require less or no
typing beyond <CR> after the initial prompt.
2022-11-03 11:37:39 -04:00
Donovan Glover
ded1649cea
meta: Use alttab
alttab <https://github.com/sagb/alttab> is a cool alternative to the
more traditional ways of managing windows in bspwm that lets us focus on
the currently open windows instead of which desktop they're on.
2022-10-25 14:05:07 -04:00
Donovan Glover
83ee31d1a5
sxhkd: Add desktop bouncing functionality
Note that I originally used this as a test to see how useful it would
be, however I quickly realized that having unpredictable desktop states
is not ideal, especially when not using a status bar like polybar.

The code was shared as a solution to a post on r/bspwm. Credits to the
original author, however I plan to ditch this solution for more
predictable desktop management.
2022-10-25 13:59:56 -04:00
Donovan Glover
5b9b59073d
sxhkd: Use pamixer instead of pactl
This prevents us from setting the volume above 100%.
2022-10-24 17:07:33 -04:00
Donovan Glover
188217ce46
sxhkd: Control mpv with mpris + playerctl
I personally love this setup for language learning and it emphasizes how
far one can go with customizing their setup when using a window manager
like bspwm + sxhkd. Although it's possible to achieve the same effect in
other desktop environments, sxhkdrc makes adding new keybinds extremely
simple and easy to maintain.
2022-09-28 11:29:06 -04:00
Donovan Glover
bd83212581
sxhkd: Add clipboard to browser
This makes it easy to search for text without having to worry about
browser extensions or even being in the browser itself.
2022-07-30 10:21:08 -04:00
Donovan Glover
5a3b02add8
sxhkd: Add option to save selection screenshots 2022-07-30 08:50:48 -04:00
Donovan Glover
3a189b31f6
sxhkd: Prioritize color scheme over background
In the future it may be nice to automatically add a selection of
backgrounds that can be rotated through, or support getting those
images from an external source.
2022-07-30 08:02:18 -04:00
Donovan Glover
3185a27739
sxhkd: Replace alt keybinds with super
This prevents us from having keybinds that conflict with other keybinds.
2022-07-29 04:30:49 -04:00
Donovan Glover
e2ffc9830f
sxhkd: Only switch between active desktops 2022-07-28 15:25:25 -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
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
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
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
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
cc7b166b85
sxhkd: Add notification when reloading sxhkd 2022-04-09 09:39:48 -04:00
Donovan Glover
301deee996
sxhkd: Show notification when changing volume 2022-03-20 17:40:44 -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
eb2d208aba
sxhkd: Add key to screenshot a selection 2022-01-01 20:28:51 -05:00
Donovan Glover
21169e1d1f
sxhkd: Add fn keys support
Now these keys will work identical to the way they work in sway.
2021-08-01 15:04:04 -04:00
Donovan Glover
a33c3b0f7b
Revert "Remove sxhkd"
Similar to the other revert commits, keeping my sxhkd config is useful
if I want to use bspwm in the future, since I won't have to re-create
it later.
2021-05-14 10:18:03 -04:00
Donovan Glover
bff988d47b
Remove sxhkd
Ditching bspwm+sxhkd admittedly makes my setup a bit more simple, which
I like. I also like how sway supports multiple monitors out of the box.
2021-05-13 12:27:12 -04:00
Donovan Glover
e93cd4006d
misc: Fix spacing 2018-12-17 23:07:29 -05:00
Donovan Glover
bb5537c30a
sxhkd: Add variable DPI support to dropdown.sh
This makes the dropdown terminal render properly in both 96 and 192 DPI,
as well as any multiples thereof.
2018-12-12 06:18:21 -05:00
Donovan Glover
bceec89b6a
sxhkd: Add variable DPI support to screenshot.sh
This makes the feh window render correctly in both 96 and 192 DPI,
as well as any multiples thereof.
2018-12-12 06:15:33 -05:00
Donovan Glover
622a01a711
meta: Remove rofi-pass
As much as rofi-pass may appear to be useful, it is simply easier to
just use the pass command directly, especially if you have a passphrase
set on the private encryption key you use to unlock passwords.
2018-12-01 19:50:12 -05:00
Donovan Glover
3406ed5a4d
meta: Remove rofi-calc and rofi's window mode
Although rofi-calc was certainly cool to use, it is not in the
official repositories. Instead of trying to rely on it as a
dependency, I've gone ahead and removed it instead.
2018-12-01 19:17:21 -05:00
Donovan Glover
5099a8838b
sxhkd: Use rofi launch script
This gives the task of setting environment variables to rofi's
launch.sh, instead of trying to do it in sxhkdrc.

Another benefit is that rofi can be launched properly from anywhere,
regardless of whether or not sxhkd is being used.
2018-12-01 18:55:46 -05:00
Donovan Glover
a894674c64
sxhkd: Add bspc hidden flag functionality
Note that window order is not based on the order in which windows are
hidden, but something else entirely. For this reason, it is recommended
to hide only one window at once.

A more robust solution would be to let the user choose from a list of
available hidden windows, potentially through rofi's dmenu capability.
2018-11-27 18:58:05 -05:00
Donovan Glover
0e0fe82b03
sxhkd: Remove redundant environment variable
Since QT_FONT_DPI is already set in bspwmrc, there is no need to define
it here with the same value.
2018-11-21 19:02:19 -05:00
Donovan Glover
d3537e656e
docs: Add READMEs for mpd, mpv, and sxhkd
Contrary to the similarity in naming, mpd and mpv are two completely
different programs that both serve completely different purposes.
2018-11-18 14:34:41 -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
1ef1910dc5
Update screenshot.sh 2018-08-31 14:26:37 -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