Commit graph

870 commits

Author SHA1 Message Date
Vincent Bernat
ade2fd64c7 polybar: consider battery full at 98% 2021-07-08 22:29:37 +02:00
Vincent Bernat
f731de2528 input: reenable natural scrolling on SynPS/2 2021-07-08 21:15:54 +02:00
Vincent Bernat
af5f11e483 wallpaper: use hsetroot instead of fvwm-root
I was using fvwm-root because it was able to retain pixmap in some X
property for use by some programs. These days are gone and programs
are now using ARGB visual and the compositor. Let's switch to simpler
hsetroot.
2021-07-08 21:08:25 +02:00
Vincent Bernat
6477e0a0be xsettingsd: remove SKIP_RELOAD environment variable from systemd unit
It is unused.
2021-07-08 17:57:38 +02:00
Vincent Bernat
5141bf86cd xsettinsd: restart i3-cmd on DPI change as well
It reads DPI value from Xft.dpi.
2021-07-08 17:54:34 +02:00
Vincent Bernat
7f17d6f397 i3-companion: only consider instance/class for icon
Name may be too random. Straighten a bit the regex too to avoid
matching on prefixes.
2021-07-08 14:25:14 +02:00
Vincent Bernat
396ca23b33 i3-companion: use Steam icon for Steam 2021-07-08 12:06:42 +02:00
Vincent Bernat
5239148319 i3-companion: use bindings to communicate with companion
This avoids spawning an i3-msg process. The drawback is that we have
to listen to all keybindings.
2021-07-08 12:01:17 +02:00
Vincent Bernat
956bfa4965 systemd: switch inputplug to packaged binary 2021-07-08 11:22:32 +02:00
Vincent Bernat
c7e2878ed8 i3: fix workspace definition for Firefox 2021-07-08 10:29:54 +02:00
Vincent Bernat
a3ffbddf82 polybar: handle alone/primary/secondary configurations 2021-07-08 08:12:39 +02:00
Vincent Bernat
3909defef4 i3-companion: also display window type on window info 2021-07-07 23:12:57 +02:00
Vincent Bernat
9196497e6c i3-companion: don't move exclusive apps to new workspace when alone 2021-07-07 23:11:22 +02:00
Vincent Bernat
f7646037fa i3: quote send_tick arguments for consistency 2021-07-07 22:08:29 +02:00
Vincent Bernat
eea648a27a i3-companion: display percent value for window info 2021-07-07 22:04:38 +02:00
Vincent Bernat
b368fb65c5 i3-companion: not all containers have a window ID 2021-07-07 22:03:39 +02:00
Vincent Bernat
14342c25b3 i3: use $mediaplayer if possible 2021-07-07 21:51:07 +02:00
Vincent Bernat
d99f158654 i3: use default directions
It makes sense as there is less need to move the right hand.
2021-07-07 21:50:49 +02:00
Vincent Bernat
ecb245acb8 polybar: add audio volume on all screens 2021-07-07 20:19:37 +02:00
Vincent Bernat
2206d4f236 xss-lock: better comments 2021-07-07 18:55:50 +02:00
Vincent Bernat
fa589e3716 xss-lock: pause notifications when screen is locked 2021-07-07 18:54:18 +02:00
Vincent Bernat
d215c151a9 i3-companion: fix some edge cases for exclusive workspaces 2021-07-07 18:52:19 +02:00
Vincent Bernat
2172a05592 dunst: don't display notifications in front of fullscreen apps 2021-07-07 18:51:21 +02:00
Vincent Bernat
46462ebd4a i3-companion: make some workspace exclusives
When they contain some apps, new apps should go to a new workspace,
unless they can intrude.
2021-07-07 17:53:59 +02:00
Vincent Bernat
ed203771f1 i3-companion: add back missing event binding 2021-07-07 16:58:07 +02:00
Vincent Bernat
6f8b185735 picom: try switching to xr_glx_hybrid 2021-07-07 16:53:27 +02:00
Vincent Bernat
6b63b84fdf i3-companion: moar icons 2021-07-07 15:01:30 +02:00
Vincent Bernat
7a816e4292 i3-companion: enhance help with list of functions 2021-07-07 14:14:35 +02:00
Vincent Bernat
e089c59de5 i3-companion: organize code a bit differently to ease browsing
This is not ideal, but I don't want to split into several files yet.
2021-07-07 14:14:12 +02:00
Vincent Bernat
ec86d91c91 i3-companion: use decorators to declare event functions 2021-07-07 14:02:07 +02:00
Vincent Bernat
2c98fcc062 i3: don't focus splash windows 2021-07-07 12:30:36 +02:00
Vincent Bernat
e1fcaede3f i3-companion: add a binding to show window info 2021-07-07 12:30:30 +02:00
Vincent Bernat
a25e9f2a56 picom: also make Zoom floating window not transparent 2021-07-07 11:38:50 +02:00
Vincent Bernat
5a09a90944 picom: simplify configuration by using only opacity-rules
Otherwise, the interactions with inactive-opacity and wintypes are not
well-documented.
2021-07-07 11:10:21 +02:00
Vincent Bernat
28fc208332 dunst: update icon path
I don't know how icon lookup should happen in other notification
daemons, but all icons don't seem to be available in all resolutions.
2021-07-07 10:20:05 +02:00
Vincent Bernat
b5cf67df10 systemd: implement reload for i3 2021-07-07 10:08:52 +02:00
Vincent Bernat
a91cc6d56e i3-companion: reload xsettingsd and update wallpaper on XRandR changes 2021-07-07 06:34:19 +02:00
Vincent Bernat
b8a6ad1122 i3-companion: switch to asyncio 2021-07-07 00:24:23 +02:00
Vincent Bernat
1925a57b6d polybar: change date format 2021-07-06 15:06:25 +02:00
Vincent Bernat
d4b25aa2da i3-companion: log output events
This will be useful when trying to debug output changes. I need to
know what I need to restart. Awesome was restarted while i3 does not.
On top of my head, I need to reload xsettingsd.service and start
wallpaper.service.
2021-07-06 14:53:48 +02:00
Vincent Bernat
1caacfd679 i3-companion: swallow quake console functionality
While payload could be structured, we keep a string as it is easier to
express it in i3 configuration file.
2021-07-06 10:37:01 +02:00
Vincent Bernat
2a85902609 doc: add a minimal README 2021-07-06 09:31:55 +02:00
Vincent Bernat
38837e3038 dunst: use hicolor icons 2021-07-06 09:11:39 +02:00
Vincent Bernat
e31aafdd5d i3: don't move quake console to scratchpad each time its title change 2021-07-06 08:50:03 +02:00
Vincent Bernat
4dcf46c2ed i3-companion: when no app, remove trailing ":" in workspace name 2021-07-06 08:25:14 +02:00
Vincent Bernat
ed9b7c622e picom: disable fading
This is cool, but switching between workspaces can be a bit painful as
windows are unmapped (but not closed) and mapped, so there is some
time and a transition to the background. If we try to make it quicker,
the flicker is more important.
2021-07-06 07:45:45 +02:00
Vincent Bernat
f85aa0487c picom: speedup a bit fading
Otherwise, switching between workspaces is a bit slow.
2021-07-06 07:31:23 +02:00
Vincent Bernat
3d10d1aa63 i3: also use a saved layout for firefox 2021-07-06 06:55:52 +02:00
Vincent Bernat
43697a0617 i3: ensure spotify starts on the right workspace
Spotify still does not assign the class before mapping the window...
2021-07-06 00:03:18 +02:00
Vincent Bernat
a22d8804bf i3: add a binding to focus the next screen
Dunno if it's really convenient compared to moving from container to
container until the next screen? Let's try out a bit.
2021-07-05 22:29:40 +02:00