Commit Graph

264 Commits

Author SHA1 Message Date
Alan Orth 2f56e4f90f
README.md: fix intro 2022-01-27 16:35:22 +03:00
Alan Orth dd382d2694
dotfiles/config/kanshi/config: restore knafeh 2022-01-27 16:34:46 +03:00
Alan Orth 429d9747dd
README.md: update 2022-01-27 16:30:45 +03:00
Alan Orth b6cdee3d35
config.yaml: Add knafeh
This machine is a ThinkPad Carbon X1 (6th Gen) with HDR screen.
2022-01-27 15:22:57 +03:00
Alan Orth 99239045f2
Add .gitignore
We ignore the dotdrop.sh file because that is managed by dotdrop it
self.
2022-01-27 15:22:15 +03:00
Alan Orth aa565f0d57
Add dotdrop config.yaml
This file is managed by dotdrop when you do `dotdrop import` etc.
2022-01-27 15:21:34 +03:00
Alan Orth 188f89e7dc
Migrate configs to dotdrop dotfiles 2022-01-27 15:21:11 +03:00
Alan Orth 109dcf2032
Add dotdrop
Easier to maintain and install dotfiles on multiple machines.

See: https://github.com/deadc0de6/dotdrop#getting-started
2022-01-27 15:15:03 +03:00
Alan Orth 154bffbc82
sway/config: don't create wob socket via exec
Instead, use a systemd socket unit (wob.socket) that triggers the
wob.service unit.
2022-01-23 17:40:46 +03:00
Alan Orth 0f454dd3a1
sway/status.py: fix undefined variable 2022-01-21 15:58:23 +03:00
Alan Orth 7e00ab4d31
Add wofi config
This is using Solarized colors and application icons.
2022-01-18 14:57:48 +03:00
Alan Orth 6d13dec3e3
Add some systemd user units
Mostly for systemd integration of sway stuff.

See: https://github.com/swaywm/sway/wiki/Systemd-integration
2022-01-18 14:44:01 +03:00
Alan Orth 6ce2c4c8fb
Add .pam_environment 2022-01-18 12:39:15 +03:00
Alan Orth e1d62bc284
sway/status.py: add note about python-psutil 2022-01-18 11:52:03 +03:00
Alan Orth 5a62e31ca0
foot/foot.ini: add dim0 color
Foot 1.10.0 added support for dim0-7 colors. Selenized only uses
dim0 apparently.

See: https://codeberg.org/dnkl/foot/src/branch/master/CHANGELOG.md#1-10-0
See: https://github.com/jan-warchol/selenized/blob/master/the-values.md
2021-11-30 08:26:53 +02:00
Alan Orth 5e9283cca9
sway/config: update wob socket usage
Latest usage on wob's documentation is slightly different than I
had been using.

See: https://github.com/francma/wob
2021-11-30 08:26:09 +02:00
Alan Orth e382954240
sway/config: explicitly label XWayland windows 2021-11-30 08:25:04 +02:00
Alan Orth 2b88aa7fa8
foot/foot.ini: Use Cascadia Mono font
This is the new font from Microsoft in VSCode. I got the font names
from `fc-list` and tested them by printing some bold, italic, and
bold italic text:

    $ ansi()          { echo -e "\e[${1}m${*:2}\e[0m"; }
    $ bold()          { ansi 1 "$@"; }
    $ italic()        { ansi 3 "$@"; }
    $ echo "Some $(bold bold text) next to some $(italic italic text) and some $(bold $(italic bold italic text))."

See: https://askubuntu.com/questions/528928/how-to-do-underline-bold-italic-strikethrough-color-background-and-size-i
2021-10-18 13:44:54 +03:00
Alan Orth 2686a897ea
sway/config: import some window settings
From this excellent Reddit thread:

https://www.reddit.com/r/swaywm/comments/q90v6l/sharing_some_for_window_rules/
2021-10-18 13:36:05 +03:00
Alan Orth cf59586f64
.config/alacritty/alacritty.yml: Update
Update font and sync with latest upstream changes.
2021-09-30 19:38:31 +03:00
Alan Orth 15dafd4bca
sway/config: Launch swayidle and kanshi from systemd
Launch swayidle and kanshi from systemd user session instead of via
sway's config. This way they bind to the sway-session target and s-
tart/stop automatically when sway is started/stopped. As a bonus,
they don't get launched again when you reload sway.

See: https://github.com/swaywm/sway/wiki/Systemd-integration
2021-09-30 18:57:16 +03:00
Alan Orth 765160ae5e
sway/config: Start with tabbed layout 2021-09-30 08:18:31 +03:00
Alan Orth fd26b3544a
Add kanshi config
Dynamically manages outputs based on profiles.
2021-09-23 09:22:52 +03:00
Alan Orth 924b3c3a06
sway/config: Add comment about dwt
This was added some time ago when I was troubleshooting touchpads.
2021-09-23 09:21:52 +03:00
Alan Orth cb50361cf2
sway/config: manage outputs with kanshi
This is dynamic.
2021-09-23 09:21:24 +03:00
Alan Orth 51d42223f5
sway/config: set Pass and Davmail popups to be floating 2021-08-30 08:59:42 +03:00
Alan Orth 36a50bc815
.zshrc: Fix for Firefox on Wayland
Don't try opening Firefox in XWayland when we already have one run-
ning on Wayland.
2021-06-29 12:51:07 +03:00
Alan Orth 067bbef8ef
.zshrc: Fix Ctrl-arrow keys for forward/backword navigation 2021-06-29 12:50:28 +03:00
Alan Orth 7859c22571
sway/status.py: Fix iwctl for SSIDs with spaces
We need to consider that some SSIDs will have spaces.
2021-05-27 11:17:05 +03:00
Alan Orth 7b6d96c1c4
Revert "sway/config: Disable swaylock"
This reverts commit a1f6918c52.

I just tried swaylock-git with sway-git and it seems to be working.
2021-05-02 23:13:13 +03:00
Alan Orth a1f6918c52
sway/config: Disable swaylock
See: https://github.com/swaywm/sway/issues/6131
2021-04-19 18:36:04 +03:00
Alan Orth 7cced2e0f5
Revert "sway/config: Use sway-launcher-desktop instead of wofi"
This reverts commit 0b612909ff.

Can't launch some apps with sway-launcher-desktop, not sure why.
2021-04-18 19:02:44 +03:00
Alan Orth 0b612909ff
sway/config: Use sway-launcher-desktop instead of wofi
Text UI is cool! And wofi has some bugs sometimes.
2021-04-17 18:20:54 +03:00
Alan Orth 8ffec792aa
sway/config: Fix comment 2021-04-17 08:48:26 +03:00
Alan Orth 65ba3dee09
sway/status.py: Update comment 2021-02-19 12:27:38 +02:00
Alan Orth 80cdae6ed1
foot/foot.ini: Add official foot Selenized Dark theme
Added by the foot developers yesterday:

6167bf2e61
2021-01-22 17:01:35 +02:00
Alan Orth 2d2db0036f
Add configuration for foot 2021-01-20 15:03:41 +02:00
Alan Orth 16fa2a1ef8
sway/config: Remove display enable/disable on lid
This is brilliant, except it causes the system to go to sleep also
after a period of inactivity. In many cases the machine would wake
up later with the internal display disabled, ugh. Now I just mana-
ge the displays using wdisplays.
2021-01-20 09:34:07 +02:00
Alan Orth b545f329af
sway/config: Key binding to fix tiling containers
I *never* activate tiling containers on purpose, and I don't know
how to get out of them other than closing all my windows and ope-
ning them again. Some kind redditers helped me figure out how to
undo this.
2021-01-20 09:30:51 +02:00
Alan Orth 725e642647
sway/config: Use foot as default terminal 2021-01-20 09:28:58 +02:00
Alan Orth 62b1337cc4
.zshrc: Remove macOS stuff 2021-01-20 09:28:07 +02:00
Alan Orth 485b7af00b
sway/config: Send sharing indicator to scratchpad
This is a neat trick to automatically send the annoying sharing
indicator in Firefox and Chrome to the scratch pad.

See: https://www.reddit.com/r/swaywm/comments/kee35j/permanently_floating_windows/
2020-12-22 12:58:39 +02:00
Alan Orth dddee5b721
sway/config: Allow the "About Firefox" window to float 2020-12-13 17:29:18 +02:00
Alan Orth d39c0c7892
sway/status.py: A few changes
- Switch to iwd for Wi-Fi
- Remove unused code
- Format with black
2020-12-13 17:10:25 +02:00
Alan Orth d0bf0819f7
.config/alacritty/alacritty.yml: Use Source Code Pro
I'm using Source Sans Pro for my Sway UI so it somehow feels right.
2020-12-13 17:07:33 +02:00
Alan Orth b11f450040
Add .psqlrc
From: https://github.com/eevee/rc/blob/master/.psqlrc
2020-12-13 12:42:30 +02:00
Alan Orth 9158ac85a1
.zshrc: Remove old environment variables 2020-11-30 23:07:18 +02:00
Alan Orth e685596749
sway/config: Use different Bulgarian keyboard
The "new" phonetic keyboard is not the one I'm used to.
2020-09-21 14:15:20 +03:00
Alan Orth a376d132b9
.config/alacritty/alacritty.yml: Use Selenized colorscheme 2020-07-11 10:38:33 +03:00
Alan Orth 5642c32de3
Import selenized.vim
From https://github.com/jan-warchol/selenized

Git hash 3a0b714c50b9963f2cdc95254b9424e51fd8966d from 2020-04-25
2020-07-10 13:54:41 +03:00