Commit graph

591 commits

Author SHA1 Message Date
ARDiDo
416499624e Complete libinput configuration 2021-10-15 19:11:35 +01:00
Johan Malm
417763e8f8 config: support audio and monitor keys by default
Add default keybinds:

    XF86_AudioLowerVolume - amixer sset Master 5%-
    XF86_AudioRaiseVolume - amixer sset Master 5%+
    XF86_AudioMute - amixer sset Master toggle
    XF86_MonBrightnessUp - brightnessctl set +10%
    XF86_MonBrightnessDown - brightnessctl set 10%-
2021-10-14 19:37:57 +01:00
Johan Malm
5325fca4b4 Update NEWS.md 2021-10-13 21:36:26 +01:00
Johan Malm
74f01af5db buf.h: update documentation 2021-10-13 21:30:44 +01:00
Johan Malm
960a1bb2ed theme: add osd colors 2021-10-13 21:29:32 +01:00
Johan Malm
2d4ca16db8 buf.c: handle variables with curly braces
In buf_expand_shell_variables(), corrently resolve ${foo}
rather than just $foo
2021-10-11 22:31:38 +01:00
Johan Malm
aa4668c792 buf.c: correctly handle unset environment variables 2021-10-11 22:28:17 +01:00
Johan Malm
71c8aa1361 session: resolve variables in environment file
When parsing <key>=<value> pairs to set enrivonment variables,
resolve variables in <value>.

For example, resolve $bar in

    foo=$bar

Fix issue #70
2021-10-11 22:15:44 +01:00
ARDiDo
d4e1791c88 Reconfigure inputs 2021-10-10 21:52:40 +01:00
ARDiDo
326b4aebd1 keyboard repeat configuration 2021-10-10 11:34:48 +01:00
ARDiDo
3dc4c02c54 partial libinput configuration 2021-10-10 11:34:48 +01:00
Johan Malm
6a00166cff Merge branch 'master' of https://github.com/johanmalm/labwc 2021-10-04 06:24:34 +01:00
ARDiDo
6b9d3f4083 fix build errors 2021-10-03 21:50:29 +01:00
ARDiDo
565f0daee9 drag across monitor 2021-10-03 21:50:29 +01:00
ARDiDo
6bf3bb97f5 implement basic drag and drop 2021-10-03 21:50:29 +01:00
Johan Malm
1e4598cdce s/desktop_view_at()/desktop_surface_and_view_at()/
Make is clearer what the function does.
2021-09-25 10:04:37 +01:00
Johan Malm
23f28e5082 desktop: desktop_view_at() set *surface correnctly
Bug introduced in 23107
2021-09-25 09:40:23 +01:00
Johan Malm
05b89691b0 desktop: fix pointer de-reference typo
Bug introduced in 23107
2021-09-25 08:37:24 +01:00
Johan Malm
b967592289 Fix coding style 2021-09-24 22:14:04 +01:00
Johan Malm
4c66004fa8 desktop.c: fix typo to compile 2021-09-24 22:13:35 +01:00
Johan Malm
231076a58f Simplify desktop_view_at() 2021-09-24 22:04:47 +01:00
Johan Malm
d2375b025d Fix coding style 2021-09-24 22:04:03 +01:00
Johan Malm
104f635b43 session.c: change "(foo*)" to "(foo *)" 2021-09-24 21:58:46 +01:00
Johan Malm
ebb632419b *.c: add SPDX-License-Identifier 2021-09-24 21:45:48 +01:00
Johan Malm
bdcb502631 ssd: refactor vertical center alignment 2021-09-24 21:28:16 +01:00
Johan Malm
4738e26d15 theme: handle border.color for backward compatibility 2021-09-24 21:26:31 +01:00
Johan Malm
2143f4bf19 theme: handle keys case-insensitively
...because this is what openbox does and some themes have capital
letters in places
2021-09-24 21:19:19 +01:00
Johan Malm
e17544d0b1 Add .editorconfig 2021-09-24 20:57:11 +01:00
Johan Malm
69e236932e Fix coding style in output.c and xbm/tokenize.c 2021-09-24 20:56:44 +01:00
Johan Malm
0413d7fa9a cursor: make cursor_motion() static 2021-09-24 20:53:22 +01:00
Johan Malm
329ca691da layer-shell: chase wlr_layer_surface refactor 2021-09-24 20:51:12 +01:00
Johan Malm
97e8cb45ec config: remove comment describing simple code 2021-09-22 20:36:55 +01:00
Johan Malm
e1c1b4544d config: remove is_attribute
Simplify code, by removing the ability to differentiate between
attributes and sub-elements when creating node names. For example,
the following two examples would generate the nodename `bar.foo`

- <bar><foo></foo></bar>
- <bar foo="">

In theory, there could be clashes, but I think in reality it is unlikely.
There are no clashes in openbox-spec and it would be pretty confusing to
have something like:

<font name="">
  <name></name>
</font>
2021-09-22 20:25:57 +01:00
Johan Malm
b5addb62e0 labwc.h: fix coding style 2021-09-22 20:24:02 +01:00
Johan Malm
d6af585837 build: remove scdoc stdin/stdout hack
From version 0.59.0, meson supports feeding the input file as stdin.
See sway@9727db67
2021-09-22 20:21:00 +01:00
Johan Malm
d228bab4b8
ci: add actions/checkout@v2 to main.yml 2021-09-22 20:14:11 +01:00
Johan Malm
cce3c8cda0 src/: fix coding style 2021-09-21 22:05:56 +01:00
Johan Malm
0e41413dc8
Add CI 2021-09-21 21:49:31 +01:00
Johan Malm
d11643bea5 xdg: chase wlr_xdg_toplevel refactor (issue #64) 2021-09-21 21:20:58 +01:00
Johan Malm
639660883b keyboard.c: fix bug in 864746 (exit cycle-view with any modifier key)
Always call wlr_seat_keyboard_notify_modifiers() in
keyboard_modifiers_notify()
2021-09-20 22:42:03 +01:00
Johan Malm
119ef87373 s/focused_view()/desktop_focused_view() 2021-09-20 22:12:34 +01:00
Johan Malm
e4b51fc5e8 desktop.c: make topmost_mapped_view() private 2021-09-20 22:07:19 +01:00
Johan Malm
74e1d6e45c labwc-actions(5): add ToggleFullscreen, ToggleDecorations, Iconfiy 2021-09-20 22:01:47 +01:00
Johan Malm
e7955d68d5 NEWS.md: add notes in preparation for next release 2021-09-20 21:45:28 +01:00
bi4k8
815cd4aa46 define focused_view function and use it for keyboard actions 2021-09-20 21:14:24 +01:00
bi4k8
a15a56bfe1 implement Iconify action 2021-09-20 21:14:24 +01:00
bi4k8
b7cce58f56 implement ToggleDecorations and ToggleFullscreen actions 2021-09-20 21:14:24 +01:00
gituser
3d15444b3a xdg: updates from wlroots master 2021-09-12 13:28:44 +01:00
frogtile
8d1a34279c rc.xml.all: Fix typo
match with default config
2021-09-09 20:41:08 +01:00
Johan Malm
c34d987778 labwc-config(5): add mouse section 2021-09-06 22:16:19 +01:00