Commit graph

68 commits

Author SHA1 Message Date
Vincent Bernat
02e16874c9 volume: implement mic toggle as well 2020-03-08 00:02:07 +01:00
Vincent Bernat
baed5697b7 keydoc: use appropriate scale for help window 2020-02-17 22:10:08 +01:00
Vincent Bernat
9763ef14f6 brightness: use brightnessctl 2020-01-12 17:24:10 +01:00
Vincent Bernat
fdf86b5354 icons: remove extra space 2019-12-20 22:11:29 +01:00
Vincent Bernat
ff62552a43 quake: simplify logic about multiple quake consoles
We shouldn't need that anymore.
2019-10-12 11:43:36 +02:00
Vincent Bernat
119b69b111 quake: use only one quake console for all screens 2019-10-12 11:41:24 +02:00
Vincent Bernat
3d85ff9465 shifty: be consistent when matching role 2019-02-26 02:39:38 +01:00
Vincent Bernat
e1d4f9ae8a shifty: use perfect match for role
Otherwise, we would match "browser-window"
2019-02-26 02:38:11 +01:00
Vincent Bernat
77a5f0c008 spotify: update comments for accuracy 2018-12-14 07:53:04 +01:00
Vincent Bernat
af618d1d00 volume: use amixer -D pulse
For some reason, without it, it doesn't work anymore, even with ALSA
configured to use Pulseaudio.
2018-11-10 00:20:24 +01:00
Vincent Bernat
bff16a840a spotify: use playerctl instead of dbus commands
The module is still spotify-specific, but a bit less
2018-10-05 11:21:54 +02:00
Vincent Bernat
4c9ae36aeb Revert "volume: scale volume text with DPI"
This reverts commit 1907e37928. Icon is
not scaled.
2018-08-25 00:58:37 +02:00
Vincent Bernat
785f25a296 volume: fix theme scaling 2018-08-25 00:58:08 +02:00
Vincent Bernat
1907e37928 volume: scale volume text with DPI 2018-08-16 18:46:55 +02:00
Vincent Bernat
ca4759b3d6 spotify: spawn a background process for DBus communication
Otherwise, we will block awesome if spotify isn't answering
2017-06-05 20:39:14 +02:00
Vincent Bernat
a7b63b1450 brightness: use gsd-backlight-helper instead of xbacklight
xbacklight is currently broken.
2016-12-07 20:52:27 +01:00
Vincent Bernat
8b1417a75d Revert "spotify: do not expect an answer to DBus request"
This reverts commit 1342c2b227. Doesn't
work otherwise... Odd?
2016-04-29 19:52:16 +02:00
Vincent Bernat
1342c2b227 spotify: do not expect an answer to DBus request
Using os.execute makes awesome block during execution. Don't wait for
anything.
2016-04-29 16:38:56 +02:00
Vincent Bernat
04d9fb8da6 brightness: handle the case where xbacklight doesn't work
This happens with modesettings...
2016-03-16 15:49:22 +01:00
Vincent Bernat
2dc1f56751 bindings: add a binding to spawn pavucontrol 2015-10-20 09:45:13 +02:00
Vincent Bernat
cda3a6448f spotify: switch back to MPRIS2 DBUS interface
One less daemon to run.
2015-08-31 20:28:15 +02:00
Vincent Bernat
e3747d1b9f spotify: try to support the new version of Spotify
Use dbus-mediakeys to get an appropriate DBus interface. In future
versions, this should not be needed anymore. See:
 https://github.com/vincentbernat/dbus-mediakeys
2015-07-13 14:50:47 +02:00
Vincent Bernat
93a5cf16ba Revert "spotify: try to support the new version of Spotify"
This reverts commit 6c8985a9ae. Well, keep
old version of Spotify until MPRIS DBus support is updated.
2015-07-12 21:26:41 +02:00
Vincent Bernat
6c8985a9ae spotify: try to support the new version of Spotify
It doesn't provide a DBus interface. Try to use xdotool instead. For
some reason, not working.
2015-07-12 11:31:13 +02:00
Vincent Bernat
e17f7b879c shifty: fusion delete/rename tag function
When a tag is empty, delete it, otherwise, rename it.
2015-06-14 13:07:36 +02:00
Vincent Bernat
dd693fc5e6 terminal: don't use env variable to give a name to GTK terminal
GTK applications accept `--name` as a special parameter just for that.
2014-09-23 20:49:21 +02:00
Vincent Bernat
a20ee81fa5 terminal: switch to evilvte
With a custom compilation. It supports more stuff than xfce4-terminal,
notably italics. There are still a lot to do to have something as nice
as rxvt... Should be compiled with GTK3, otherwise, it will have the
same problems than xfce4-terminal.
2014-09-20 01:20:17 +02:00
Vincent Bernat
a92e68eb4d quake: let use role if we cannot set name
Some terminals do not allow to set name (like xfce4-terminal). In this
case, use the role.
2014-09-17 20:31:48 +02:00
Vincent Bernat
3d903fc6ba terminal: use xfce4-terminal
While rxvt-unicode is great, it doesn't support xsettings making it
difficult to use when DPI can change while running.
2014-09-17 17:52:04 +02:00
Vincent Bernat
472801975d shifty: handle position being null 2014-08-05 09:28:05 +02:00
Vincent Bernat
c6c6fca6d2 brightness: control brightness
On the X1, the brightness is controlled by the OS. On other machines, if
it is not, we will double the requested changes. We can live with that.
2014-06-11 17:25:47 +02:00
Vincent Bernat
4b434e448f spotify: passing the option to disable notifications don't work 2014-06-01 15:36:46 +02:00
Vincent Bernat
8eb59a0c87 spotify: disable UI notifications
It seems they grab X11 for two seconds... See:
 http://community.spotify.com/t5/Help-Desktop-Linux-Mac-and/Spotify-0-9-10-for-GNU-Linux-Welcome-to-the-dark-side/td-p/556976
2014-05-22 09:57:36 +02:00
Vincent Bernat
a8f3809a85 shifty: remove unused argument from getpos()
Instead, use a generic optional `args` argument and use it to tell we
don't want to spawn anything.
2014-01-01 09:11:38 +01:00
Vincent Bernat
a47babf57e shifty: don't spawn anything when moving window around
If a tag does not exist yet and we send a window it, it will be
created. However, we don't want to spawn anything at this point. Add an
argument to `getpos()` for that.
2014-01-01 09:05:25 +01:00
Vincent Bernat
af075eaac4 spotify: raise existing window if it exists 2013-11-02 19:06:51 +01:00
Vincent Bernat
5ac9727792 spotify: add a word about MPRIS D-BUS interface 2013-11-01 15:56:21 +01:00
Vincent Bernat
4d42414855 music: add the possibility to raise music player 2013-11-01 15:53:35 +01:00
Vincent Bernat
58adbac8dd music: Play method of Spotify seems buggy, just use PlayPause instead 2013-11-01 15:48:07 +01:00
Vincent Bernat
8f6b6733bc music: abstract the functions used to control music player
We still use Spotify but we isolate the music functions into a
specific module. Other music player would implement the same
interface.
2013-11-01 15:27:56 +01:00
Vincent Bernat
9adf371e95 flash: correct how fullscreen PPAPI Flash is detected by shifty
`config.apps` can now use a function to do detection.
2013-07-05 10:33:05 +02:00
Vincent Bernat
657084395c term: add a way to increase/decrease font size in urxvt 2012-10-08 19:43:01 +02:00
Vincent Bernat
685860762d shifty: ensure tmr is local to the current function 2012-10-04 07:38:38 +02:00
Vincent Bernat
5cd8925efe shifty: ensure that the sweep timer is not triggered endlessly 2012-10-03 21:21:54 +02:00
Vincent Bernat
07e2b73dd6 tags: when a tag has its default name, rename it when we can 2012-09-29 17:18:25 +02:00
Vincent Bernat
39f6393be2 shifty: dialog window may stay on the same tag 2012-09-11 21:48:10 +02:00
Vincent Bernat
728acbe62a quake: remove all tags from the Quake console
The Quake console is sticky. It should not be atteched to any tag (or
it may prevent an empty tag to be swept).
2012-09-11 21:05:38 +02:00
Vincent Bernat
f912014b83 tags: add keybinding to rename a tag 2012-09-11 02:29:42 +02:00
Vincent Bernat
432acddc23 shifty: when a tag is has the same name than its position, don't duplicate 2012-09-11 02:23:12 +02:00
Vincent Bernat
3380eded5a shifty: don't ask name for a new tag if we have the position
Just use the position.
2012-09-11 02:22:18 +02:00