Commit graph

880 commits

Author SHA1 Message Date
Vincent Bernat
47d4fc848c i3-companion: don't display layout for workspaces unless empty 2021-07-09 20:11:56 +02:00
Vincent Bernat
28688357a1 i3: don't use a layout for something that simple
New windows are not created as tabbed but follow the default layout of
the workspace. So, set this default and just run firefox from there.
2021-07-09 17:22:18 +02:00
Vincent Bernat
4e06e54f64 polybar: move back date to center 2021-07-09 17:14:54 +02:00
Vincent Bernat
856ef13c02 i3-companion: display tree for the current workspace
This helps to understand what's happening.
2021-07-09 16:12:00 +02:00
Vincent Bernat
13e2c72123 i3: keep only a binding to toggle layout between splitv/splith/tabbed 2021-07-09 15:08:27 +02:00
Vincent Bernat
1afcfcec71 polybar: enable scroll to change brightness 2021-07-09 14:38:56 +02:00
Vincent Bernat
ae73f4c60f input: fix configuration between guybrush/chocobo 2021-07-08 22:54:38 +02:00
Vincent Bernat
f4f7a1c617 input: fix touchpad configuration 2021-07-08 22:53:18 +02:00
Vincent Bernat
f9290c8cf3 i3: use "exec exec" to avoid extra shell lying around
Event for short command, we avoid an extra fork.
2021-07-08 22:36:28 +02:00
Vincent Bernat
9545dd36c6 systemd: do not start tmux on boot
Dunno why I did that. It has absolutely no effect as the process does
not stay. Maybe this wasn't the case in the past.
2021-07-08 22:29:52 +02:00
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