Commit Graph

35 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 a3f327ae18
sway/config: Always use floating for GNOME Calculator 2020-05-31 14:29:10 +03:00
Alan Orth 31887ca09f
sway/config: Fix missing exec for audio mute 2020-05-11 22:01:53 +03:00
Alan Orth ae4e6100e0
sway/config: Use same config for all touchpads
When I moved my Apple Trackpad from USB to Bluetooth the previous
configuration didn't match anymore so we should actually just apply
it to all touchpads.
2020-04-27 15:39:26 +03:00
Alan Orth 8acd49fa24
sway/config: Add more DisplayPort outputs 2020-04-27 15:38:57 +03:00
Alan Orth 1bd54ee516
sway/config: set brightness logarithmically by factor 1.4
See: https://www.reddit.com/r/swaywm/comments/fk08lu/nicer_brightness_control/
2020-03-18 18:20:35 +02:00
Alan Orth 6e221be57c
Revert "Use kanshi for display management in sway"
This reverts commit f6adb60d49.

I think I'm experiencing issues when disconnecting from my docking
station because of this.
2020-03-08 14:44:48 +02:00
Alan Orth 246fb98c01
sway/config: Add Alt-Tab for app switching
This sort of addresses my muscle memory for switching between apps.
2020-02-15 22:48:45 +02:00
Alan Orth f6adb60d49
Use kanshi for display management in sway
As long as kanshi is running it should automatically manage displays
based on the definitions in its config.
2020-02-15 22:47:51 +02:00
Alan Orth ce825d26f2
sway/config: Use wob for sound and brightness overlays
wob is a Wayland overlay bar for things like sound and brightness
levels. It expects values to be between 0 and 100, which means we
need to use light instead of brightnessctl because the brightness
level is in lumens or something so it goes up to 1060 on my Think
Pad Carbon X1 Gen 6 and light represents it as a percentage. Also
we need to use pamixer instead of pactl because there is no simple
way to get the current volume with pactl.

See: https://github.com/francma/wob
2020-02-15 22:46:30 +02:00
Alan Orth b7d8529819
sway/config: Fix undefined dmenu_path 2020-02-12 22:03:58 +02:00
Alan Orth 68e7413c63
sway/config: Sync minor syntax fixes from upstream
See: https://github.com/swaywm/sway/blob/master/config.in
2020-02-10 13:59:16 +02:00
Alan Orth 9c369a66d3
sway/config: Set lockscreen backgroud picture
Andrew Shiva / Wikipedia / CC BY-SA 4.0

From: https://commons.wikimedia.org/wiki/File:Jerusalem-2013-Temple_Mount-Dome_of_the_Rock-Detail_01.jpg
2020-02-10 10:03:08 +02:00
Alan Orth f43f6d3e37
sway/config: Use 1280x720 for TV 2020-02-10 10:02:43 +02:00
Alan Orth fcbf8d0ed4
sway/config: Use blocks for output devices
Organize settings per output using blocks.
2020-02-09 15:49:40 +02:00
Alan Orth 81a64385d1
Add swaywm config 2020-02-04 11:37:08 +02:00