Commit graph

568 commits

Author SHA1 Message Date
ItsDrike eda84b5ab8
Show all hyprland IPC events in temp test script 2023-01-25 02:14:44 +01:00
ItsDrike e1de14e80b
Also show tray icons with inactive statsu 2023-01-25 02:14:17 +01:00
ItsDrike 10f0e3eb91
Add commented quick controls to test/show battety status 2023-01-25 02:13:50 +01:00
ItsDrike 56140d624f
Fix memory module using MB, instead of GB 2023-01-25 02:12:11 +01:00
ItsDrike 05dcf54c6a
Add logout option to menuquit 2023-01-25 02:10:02 +01:00
ItsDrike 17af415787
Add systemd user service to autostart wl-gammarelay 2023-01-25 02:01:48 +01:00
ItsDrike 2f68ed84aa
Increase shadow range 2023-01-25 01:45:34 +01:00
ItsDrike 14f652a409
Add script to change window color on fake fullscreen 2023-01-25 01:43:21 +01:00
ItsDrike edece87bbc
Add shortcut for fakefullscreen 2023-01-25 01:42:59 +01:00
ItsDrike e4b7eac1e3
Add some delay before starting eww bar 2023-01-25 01:41:24 +01:00
ItsDrike c1c1d43f90
Add keybind to open discord 2023-01-25 01:41:24 +01:00
ItsDrike 456833fbe3
Add some more keybinds for resize group 2023-01-25 01:41:24 +01:00
ItsDrike 17c29fcb48
Remove useless blank line 2023-01-25 01:41:24 +01:00
ItsDrike e4dabd5a41
Remove conflict on spotify keybind and toggle split 2023-01-25 01:41:24 +01:00
ItsDrike bf23640fe7
Move special workspace section above 2023-01-25 01:41:07 +01:00
ItsDrike b99fe275bd
Add keybinds for moving windows around 2023-01-25 01:34:13 +01:00
ItsDrike a5432fa1ab
Switch to pcmanfm-qt 2023-01-25 01:33:05 +01:00
ItsDrike 6d8590b0dc
Add quit menu instead of yes/no prompt on hyprland exit 2023-01-25 01:31:37 +01:00
ItsDrike 7a81a38d10
Add rules to auto-float some pcmanfm-qt windows 2023-01-25 01:19:08 +01:00
ItsDrike 16d845f25b
Don't start discord minimized 2023-01-25 01:17:48 +01:00
ItsDrike 43fc732460
Automatically start polkit agent 2023-01-25 01:17:23 +01:00
ItsDrike 3d1a47acc7
Remove portal restart script 2023-01-25 01:17:03 +01:00
ItsDrike e1e149f288
Run chromium on wayland 2023-01-16 23:05:19 +01:00
ItsDrike 8fa29912a9
Add git total-files and tracked-files 2023-01-13 01:29:28 +01:00
ItsDrike b017d2b67e
Make total-lines recurse over the whole tree, not work dir 2023-01-13 01:29:13 +01:00
ItsDrike 1f8bebd13b
Move to systemd-lock-handler instead of swayidle for locking
Swayidle will likely end up dropping logind support, and they themselves
describe it as unstable. For this reason, move to the suggested
alternative: systemd-lock-handler, and just have swayidle run the
command to trigger the logind session lock event, picked up by
systemd-lock-handler.

See <https://github.com/swaywm/swayidle/issues/117> for reference.
2022-11-20 03:15:58 +01:00
ItsDrike 843904b67d
Improve battery save script 2022-11-20 03:15:58 +01:00
ItsDrike c0e2c397c0
Comment out multi-monitor 2022-11-20 03:15:58 +01:00
ItsDrike f18b01f9ad
Move spotify window rule (ocd) 2022-11-20 03:15:58 +01:00
ItsDrike 9ce557ba05
Make parallel follow XDG base dir 2022-11-20 03:15:58 +01:00
ItsDrike 24fe73a076
Add shortcut for spotify 2022-11-20 03:15:58 +01:00
ItsDrike 6749d1003f
Add quick note creating script 2022-11-20 03:15:58 +01:00
ItsDrike 52213e5eed
Update eww config 2022-11-20 03:15:58 +01:00
ItsDrike efe9388a41
Update lvim settings 2022-11-20 03:15:58 +01:00
ItsDrike 216beedac2
Update btop config 2022-11-20 03:15:58 +01:00
ItsDrike c8fa3d646b
Move between all workspaces, not just those on same monitor 2022-11-20 03:15:58 +01:00
ItsDrike 3a46009989
Use relative movement between monitors 2022-11-20 03:15:58 +01:00
ItsDrike 6ae5ef0f66
Also keybinds for both maximize and fullscreen 2022-11-20 03:15:57 +01:00
ItsDrike 0de04c9a62
Add idleinhibit window rules 2022-11-20 03:15:57 +01:00
ItsDrike 7bf40cbf70
Add custom script for screenshot taking 2022-11-20 03:15:57 +01:00
ItsDrike 07479d0426
Fix swappy save format (%D -> %d) 2022-11-20 03:15:57 +01:00
ItsDrike cbdab09b52
Disable cursor inactive timeout 2022-11-20 03:15:57 +01:00
ItsDrike a498f4264a
Set floatterm open mapping to <C-t> 2022-11-20 03:15:57 +01:00
ItsDrike 78c6f0d26c
Fix typo 2022-11-20 03:15:57 +01:00
ItsDrike d329f9a4dc
Use brackets, not braces for cycling monitors 2022-11-20 03:15:57 +01:00
ItsDrike 4fccf5d569
Add spotify wm rules 2022-11-20 03:15:57 +01:00
ItsDrike 4dc598c07e
Run eww bars on both monitors 2022-11-20 03:15:57 +01:00
ItsDrike c6ab0033b4
Use custom script for workspace change 2022-11-20 03:15:57 +01:00
ItsDrike ca8c1ee6fb
Convert bar0 and bar1 for second monitor support 2022-11-20 03:15:57 +01:00
ItsDrike 49afc714f6
Add script to toggle some hyprland options for power saving 2022-11-20 03:15:57 +01:00
ItsDrike f8d51d5f26
Add script for monitor-unbound workspace swapping 2022-11-20 03:15:57 +01:00
ItsDrike 39f8fa2012
Rework hyprland config 2022-11-20 03:15:57 +01:00
ItsDrike 9ec3b2ec06
Add black line-length default config 2022-11-20 03:15:57 +01:00
ItsDrike 084460f7fa
Add .zshenv symlink to home 2022-11-20 03:15:57 +01:00
ItsDrike 057a854cbd
Add placeholder gnupg dir 2022-11-20 03:15:57 +01:00
ItsDrike 504462b592
Use hyprland log in cache properly 2022-11-20 03:15:57 +01:00
ItsDrike a89c25abb2
Remove extra aliases 2022-11-20 03:15:57 +01:00
ItsDrike 10c8a93266
Add screenshots dir to user-dirs 2022-11-20 03:15:57 +01:00
ItsDrike 35e386abc6
Also remap regular discord (not webcord) 2022-11-20 03:15:57 +01:00
ItsDrike 2bf1f949e4
Several changes to lvim config 2022-11-20 03:15:56 +01:00
ItsDrike 50efe01b09
Add btop config 2022-11-20 03:15:56 +01:00
ItsDrike 98f8dc30fc
Make ~/Videos the videos folder 2022-11-20 03:15:56 +01:00
ItsDrike cffb0c2690
Disable notifications on lock screen (swayidle) 2022-11-20 03:15:56 +01:00
ItsDrike 8b8d24c4b1
Add shortcut for toggling dunst idle mode 2022-11-20 03:15:56 +01:00
ItsDrike 1e534616c7
Add shortcut for toggling swayidle 2022-11-20 03:15:56 +01:00
ItsDrike d68bdb594b
Remove temporary testing script 2022-11-20 03:15:56 +01:00
ItsDrike 44b010a541
Update multiple scripts 2022-11-20 03:15:56 +01:00
ItsDrike ce7b6837f6
Update pcmanfm window size 2022-11-20 03:15:56 +01:00
ItsDrike 27b9e0ea42
Update sudo askpass to menupass 2022-11-20 03:15:56 +01:00
ItsDrike 5a086c6ec7
Update aliases 2022-11-20 03:15:56 +01:00
ItsDrike 8bfcc5b9ea
Disable TMOUT 2022-11-20 03:15:56 +01:00
ItsDrike d4d5e24f40
Remove deprecated tmp folder definition from npmrc 2022-11-20 03:15:56 +01:00
ItsDrike 01acb9087e
Several hyprland config changes 2022-11-20 03:15:56 +01:00
ItsDrike 3b655f6b6b
Move npm settings to proper location 2022-11-20 03:15:56 +01:00
ItsDrike a3e01caebf
Initial commit 2022-11-20 03:14:18 +01:00
ItsDrike b912871070
Remove everything and restart blank
This commit removes all files currently present in the repo, to prepare
for a start from a nothing. This is done due to my recent migration from
X11 to Wayland, which has rendered most of these config files no longer
releveant.

I've currently been tracking my dotfiles in a separate repository, in
hopes to get it to a state where it would be mergable here, but that
turned out to be much more difficult than I anticipated, and I think it
will be much easier to simply move over the history from this temporary
repository I've been using onto this one. That however requires a start
from a clean point, which this commit creates.
2022-11-20 03:07:41 +01:00
ItsDrike e5747102fb
Add gtk file chooser 2022-09-14 11:26:49 +02:00
ItsDrike a5383a949d
Add some more XDG environmental variables 2022-09-14 11:25:23 +02:00
ItsDrike 9fe61716e6
Add poetry settings 2022-09-14 11:24:50 +02:00
ItsDrike 4576649a72
Fix indentation for comment 2022-08-23 10:55:19 +02:00
ItsDrike 53e96c5854
Automatically create ZSH_CACHE folder 2022-08-23 10:55:04 +02:00
ItsDrike 72d363ab1b
Export set variables in zshrc 2022-08-23 10:54:48 +02:00
ItsDrike 38e1dae0c2
Improve comment 2022-08-23 10:54:03 +02:00
ItsDrike fcdd9df1a6
Store timestamps in command history 2022-08-23 10:53:33 +02:00
ItsDrike f4d3da10ee
Add clipmenu to user systemd autostart 2022-08-20 11:36:42 +02:00
ItsDrike 6290f43d93
Export RUSTUP_HOME 2022-08-18 13:25:34 +02:00
ItsDrike ee35ca5d07
Export cargo home 2022-08-18 13:25:02 +02:00
ItsDrike 6074a994ef
Add quotes for pyenv_root 2022-08-18 13:24:52 +02:00
ItsDrike f62bb6d3be
export $FILEMANAGER 2022-08-18 13:24:33 +02:00
ItsDrike 52a85089a1
Exclude polybar from rounded corners in picom 2022-08-03 12:23:26 +02:00
ItsDrike 895837e780
Add pcmanfm settings 2022-07-30 01:34:08 +02:00
ItsDrike fac83b629c
Update alacritty config 2022-07-29 23:53:09 +02:00
ItsDrike d4845fec48
Fix xmonad config after compatibility breaking 0.17 came out 2022-07-11 03:14:52 +02:00
ItsDrike dba3e7727a
Produce notification when changing brightness 2022-06-22 09:33:32 +02:00
ItsDrike b2dd459baa
Update dunst keybindings 2022-06-22 09:33:18 +02:00
ItsDrike 52dbe8175d
Update dunst config 2022-06-22 09:29:07 +02:00
ItsDrike 3f1d2d31b0
Rewrite brightness script 2022-06-19 15:35:15 +02:00
ItsDrike 5c2f1eed17
Add discord settings 2022-06-17 23:18:57 +02:00
ItsDrike aacb10fdf9
Add global alias for env var prefix 2022-06-02 16:55:30 +02:00
ItsDrike 7e087b1c07
Fix wrongly defined zsh substitution 2022-06-02 16:55:08 +02:00
ItsDrike 26ae50db18
Add diff program env variable 2022-05-30 01:26:52 +02:00
ItsDrike 480baf8da7
Automatically define pyenv python aliases 2022-05-29 01:15:40 +02:00
ItsDrike edd68a210f
Add pyenv shell support 2022-05-29 01:15:19 +02:00
ItsDrike 62221a0b2e
Add rotation shortcut for mpv 2022-05-29 01:13:12 +02:00
ItsDrike 9e49654e5d
Add diff commit (dcm) git alias 2022-05-29 01:11:15 +02:00
ItsDrike 1ca0abc29c
Add pyenv 2022-03-30 11:12:09 +02:00
ItsDrike 99f2dae3a5
Add git cleanup alias 2022-03-25 21:43:17 +01:00
ItsDrike 511b24e589
Add git aliases for line information 2022-03-25 21:42:53 +01:00
ItsDrike c37a49d24d
Improve docstring 2022-03-16 10:45:40 +01:00
ItsDrike c676e648c4
Handle release notifications properly 2022-03-16 10:45:29 +01:00
ItsDrike d7acf9dbb0
Add todo dmenu script 2022-03-09 22:43:44 +01:00
ItsDrike db457909c3
Add shortcut for clipmenu 2022-03-09 22:09:09 +01:00
ItsDrike 1c2b7cac0d
Import DISPLAY to systemd for user services 2022-03-09 22:02:12 +01:00
ItsDrike 8a87f85b97
Rebind middle click for contex, not close_all 2022-02-24 17:24:59 +01:00
ItsDrike 167138bf97
Update gh-notification script 2022-02-23 16:15:21 +01:00
ItsDrike 172282d194
Update dunst config 2022-02-23 16:15:02 +01:00
ItsDrike 0993faedf7
Add script for getting github notifications on desktop 2022-02-14 23:15:51 +01:00
ItsDrike eb784ab056
Add bareinit git alias 2022-02-11 18:28:25 +01:00
ItsDrike e87a2eb781
Bump font awesome version to 6
- Arch package 'ttf-font-awesome' has been updated to use version 6 of
  fontawesome. To keep up with it, also bump the version of the font in
  xmonad so that users won't be forced to install it manually.
2022-02-10 11:11:31 +01:00
ItsDrike 0a063bd6cf
Specify default key and keyserver for gpg 2022-02-10 03:41:41 +01:00
ItsDrike ba9b0f0a3f
Update git signing key 2022-02-10 03:34:47 +01:00
ItsDrike 96a7166919
Add global gitignore file 2022-01-25 19:57:19 +01:00
ItsDrike 0fa5db7477
Add alias for quickly stashing staged files 2022-01-25 19:57:02 +01:00
ItsDrike b2a32d8202
Add git alias to clone as bare repo
- This puts all of the git bare files into .bare and adds a .git file
  which specifies it's location. This makes for a nice and clean way to
  handle working with bare repositories
- Bare repositories are very useful since they allow for neat workflow
  by using git worktrees that can basically create folders for
  individual branches. This means we can easily check out given brach
  just by entering that folder and we don't need to worry about
  conflicting files which we'd have to stash and then apply the stash
  once we're done done.
2022-01-10 17:44:45 +01:00
ItsDrike ab1f173a2d
Add topgrade 2022-01-04 01:04:16 +01:00
ItsDrike 75fbd46888
Fix gchb alias 2022-01-04 01:03:18 +01:00
ItsDrike f1f8946139
Add alias to search pacnew files 2022-01-04 01:03:05 +01:00
ItsDrike 7245d14694
Rewrite cheat.sh fzf helper script 2021-12-24 06:35:25 +01:00
ItsDrike f779fdd273
Improve fzf comment for cheat.sh script 2021-12-24 04:54:01 +01:00
ItsDrike ddefca9a3d
Pass non-matched fzf queries with enter too 2021-12-24 04:53:35 +01:00
ItsDrike 0d0e9031d0
Fail on invalid selection 2021-12-24 04:52:38 +01:00
ItsDrike 1c73a80dfc
Fix cheat.sh non-default query ability 2021-12-24 04:46:48 +01:00
ItsDrike d04842084a
Rewrite cheat.sh script 2021-12-24 04:30:58 +01:00
ItsDrike 18ba4c4906
Fix keybinds 2021-12-24 02:42:04 +01:00
ItsDrike c1af932797
Remove unnecessary env variables 2021-12-18 18:10:18 +01:00
ItsDrike abac53fa9f
Update comments 2021-12-18 18:10:04 +01:00
ItsDrike 826cef4e6e
POSIX compliance, shellcheck 2021-12-18 18:09:25 +01:00
ItsDrike d843e90462
Use spaces instead of tabs 2021-12-18 18:07:47 +01:00
ItsDrike b07404d669
Use POSIX-compatible sh, not zsh 2021-12-18 12:04:41 +01:00
ItsDrike 09ce7d00a9
Convert tabs to spaces 2021-12-18 12:04:28 +01:00
ItsDrike 752fd36c62
Fix pip aliases for cpython/pypy
- We can't simply define `pip3.6`,... because the aliases support both
  cpython and pypy version, which means these needs to differ. For that
  reason, I decided to use `ppip3` for pypy and `pip3` for cpython.
  However there's also an option to use the full version like this:
  `pypy3pip` or `py3.7pip`.
2021-12-18 11:49:37 +01:00
ItsDrike 5432334da6
Simplify python alias creation 2021-12-18 05:48:36 +01:00
ItsDrike 02237fd0b1
Don't re-run work_directory function
- Re-reunning work_directory every time we redraw the prompt isn't
  necessary, since the function is here to generate the zsh supported
  syntax for the prompt that will get expanded into a work directory
  automatically.
- The function is only here to determine whether we're in TTY and use
  ASCII compatible symbols if we are, however it is enough to only check
  this once initially, since we can't leave TTY in favor of a graphical
  instance without reloading the rc file and neither can we leave.
- However, this function also checks for `USE_SHORTENED_WORKDIR`
  variable and decides which prompt to show based on it. This means that
  it someone was setting this variable in their profile file it would
  now no longer be respected, however this was never the intention of
  that variable, if a change is desired, the variable should simply be
  edited in the prompt file directly.
- Removing continual calls to this function each time prompt is redrawn
  is worth the very minor inconvenience of no longer supporting
  shortened workdirs from externally set variable due to the speed
  benefit it gives us, though not that noticeable, it is pretty
  significant. Not to mention that this wasn't intended/recommended
  usage anyway.
2021-12-18 04:46:02 +01:00
ItsDrike d048c2a262
Also add ppy alias for default pyhton version 2021-12-18 03:21:23 +01:00
ItsDrike 754bbcbbd6
Also add ppy and ipy aliases
- py alias should always preferably use ipython, however if it isn't
  available, it does fall back to the pure python interpreter.
- This is useful for running scripts since we would prefer ipython error
  output, but also for debugging, etc.
- However since py will use ipython, we didn't have any good way to get
  back to pure python unless it's typed in it's full form, which is too
  long. Because of this, this adds `ppy` alias, which always points to
  the pure python interpreter, no matter if ipython is available or not.
- This also adds a more explicit `ipy` alias, to clearly mark that we
  want ipython.
2021-12-18 03:19:59 +01:00
ItsDrike 6f613a1ea5
Fix python aliases 2021-12-18 03:10:16 +01:00
ItsDrike c606650c7d
Add vimtutor alias for nvim 2021-12-18 03:02:39 +01:00
ItsDrike ac4b447bb5
Add aliases to quickly configure nvim 2021-12-18 03:02:26 +01:00
ItsDrike a0dfc5fd09
Add aliases for different python versions 2021-12-18 03:02:02 +01:00
ItsDrike 4dd86fe4cd
Move to jetbrains mono font for alacritty 2021-12-18 00:17:13 +01:00