Commit graph

895 commits

Author SHA1 Message Date
Vincent Bernat
c8af3d585a i3-companion: wait longer to debounce XRandR events 2021-07-11 00:28:11 +02:00
Vincent Bernat
c13fb9f387 i3-companion: use double exec for Quake console as well 2021-07-11 00:26:52 +02:00
Vincent Bernat
b7a878d8f7 i3: trigger reload through systemd service 2021-07-10 21:45:02 +02:00
Vincent Bernat
1d46b1a4e5 polybar: move back all modules except pulseaudio to primary 2021-07-10 18:29:27 +02:00
Vincent Bernat
7d83943adf polybar: keep volume when muting
Otherwise, the layout change.
2021-07-10 18:22:10 +02:00
Vincent Bernat
6638bfdb36 i3-companion: log to systemd 2021-07-10 13:17:07 +02:00
Vincent Bernat
6a2db7ed4b polybar: try to display disks when full
This is not possible yet. The trick we did use for battery is not
possible either as it is not possible to use tokens inside ramps.
2021-07-10 13:08:29 +02:00
Vincent Bernat
5583ecdc52 i3-companion: add icon for gitg 2021-07-10 13:07:14 +02:00
Vincent Bernat
2533706212 i3: temporarily disable focus wrapping
Just to force myself to use the directions as expected.
2021-07-10 00:26:43 +02:00
Vincent Bernat
a918e1c01d polybar: use Font Awesome 6 2021-07-10 00:13:08 +02:00
Vincent Bernat
14aee903fc polybar: do not prevent use of click/scroll for i3 workspaces
There is no real point to this. I don't click on them by accident, I
just usually don't click on them.
2021-07-09 23:58:17 +02:00
Vincent Bernat
e9a1b3101e dunst: use left click to execute action, other clicks close 2021-07-09 23:57:58 +02:00
Vincent Bernat
c218150bc5 i3: switch default workspace layout to tabbed 2021-07-09 20:35:59 +02:00
Vincent Bernat
a2588342ff i3-companion: fix logic for container layout
Only empty workspaces are special. They follow `workspace_layout`
value, except if `default`, in this case `layout`.
2021-07-09 20:35:59 +02:00
Vincent Bernat
8490fed7bc i3-companion: don't display layout for leaves, it does not make sense
If we change the direction of a window, this creates a new container.
I don't think layout is used at all for windows.
2021-07-09 20:18:53 +02:00
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