Compare commits
15 Commits
Author | SHA1 | Date |
---|---|---|
Arti Zirk | 6233901a88 | |
Arti Zirk | 2c5e4d72b5 | |
Alexander Courtis | 4cc1d2300d | |
Bob Hepple | 7afc947f62 | |
redtide | 1a32d8bbe2 | |
redtide | 64aa4a551d | |
redtide | 052c492040 | |
redtide | 0683283fa5 | |
redtide | 919726a2e5 | |
redtide | aefde05389 | |
redtide | c15e5870d9 | |
redtide | 73f3cc2dd2 | |
redtide | 9f8508b31e | |
somini | f4cf935e49 | |
Hugo Osvaldo Barrera | 59edbbd155 |
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
IndentWidth: '2'
|
||||
|
||||
...
|
|
@ -0,0 +1,14 @@
|
|||
# EditorConfig configuration
|
||||
# http://editorconfig.org
|
||||
|
||||
# Top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
# UTF-8 charset, set indent to spaces with width of four,
|
||||
# with no trailing whitespaces and a newline ending every file.
|
||||
[*]
|
||||
charset = utf-8
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
|
@ -1 +1,2 @@
|
|||
/build/
|
||||
*.user
|
||||
|
|
|
@ -0,0 +1,58 @@
|
|||
# Changelog
|
||||
|
||||
The format is based on [Keep a Changelog][1].
|
||||
|
||||
This project tries to adhere to [Semantic Versioning][2].
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [1.1.1] - 2023-07-01
|
||||
|
||||
### Added
|
||||
|
||||
Added QtCreator files to .gitignore (redtide)
|
||||
.editorconfig and .clang-format (redtide)
|
||||
this file (redtide)
|
||||
|
||||
### Changed
|
||||
|
||||
Install icon to the app_id location (somini)
|
||||
Move the output name overlay to the bottom left (WhyNotHugo)
|
||||
Bump to current development version, use semver (redtide)
|
||||
Updated desktop file (redtide)
|
||||
|
||||
### Fixed
|
||||
|
||||
Fixed license SPDX ID in main meson.build
|
||||
|
||||
## [1.1] - 2023-04-18
|
||||
|
||||
### Added
|
||||
|
||||
Added categories to the program shortcut (IntinteDAO)
|
||||
|
||||
### Changed
|
||||
|
||||
Add package links (Jason Francis)
|
||||
Backport GTK4 changes (Jason Francis)
|
||||
Create WdHeadForm class (Jason Francis)
|
||||
Update README (Jason Francis)
|
||||
Use correct versions when binding globals (Simon Ser)
|
||||
|
||||
## [v1.0] - 2020-05-09
|
||||
|
||||
First release after <https://github.com/MichaelAquilina/wdisplays> fork
|
||||
(backup of the original, deleted repository at <https://github.com/cyclopsian/wdisplays>)
|
||||
|
||||
### Changed
|
||||
|
||||
Update application ID and readme (Jason Francis)
|
||||
|
||||
|
||||
[1]: https://keepachangelog.com/en/1.0.0/
|
||||
[2]: https://semver.org/spec/v2.0.0.html
|
||||
|
||||
[Unreleased]: https://github.com/artizirk/wdisplays/compare/1.1.1...HEAD
|
||||
[1.1.1]: https://github.com/artizirk/wdisplays/compare/1.1...1.1.1
|
||||
[1.1]: https://github.com/artizirk/wdisplays/compare/1.0...1.1
|
||||
[1.0]: https://github.com/artizirk/wdisplays/releases/tag/1.0
|
|
@ -20,7 +20,7 @@ Check your distro for a `wdisplays` package. Known distro packages:
|
|||
- [Alpine](https://pkgs.alpinelinux.org/package/edge/testing/x86_64/wdisplays)
|
||||
- [Arch](https://aur.archlinux.org/packages/wdisplays-git/)
|
||||
- [Debian](https://packages.debian.org/sid/wdisplays)
|
||||
- [Fedora](https://copr.fedorainfracloud.org/coprs/wef/wdisplays/)
|
||||
- [Fedora](https://packages.fedoraproject.org/pkgs/wdisplays/wdisplays)
|
||||
- [FreeBSD](https://svnweb.freebsd.org/ports/head/x11/wdisplays/)
|
||||
- [Nix](https://github.com/NixOS/nixpkgs/tree/master/pkgs/tools/graphics/wdisplays)
|
||||
- [OpenSUSE](https://build.opensuse.org/package/show/home%3AMWh3/wdisplays)
|
||||
|
@ -70,7 +70,8 @@ It's intended to be the Wayland equivalent of an xrandr GUI, like [ARandR].
|
|||
Sway, like i3, doesn't save any settings unless you put them in the config
|
||||
file. See man `sway-output`. If you want to have multiple configurations
|
||||
depending on the monitors connected, you'll need to use an external program
|
||||
like [kanshi]. Integration with that and other external daemons is planned.
|
||||
like [kanshi] or [way-displays]. Integration with that and other external
|
||||
daemons is planned.
|
||||
|
||||
### How do I add support to my compositor?
|
||||
|
||||
|
@ -79,6 +80,7 @@ get support for this in wlroots compositors. See the diff here for a sample
|
|||
implementation on top of tinywl: [tinywl-output-management].
|
||||
|
||||
[kanshi]: https://github.com/emersion/kanshi
|
||||
[way-displays]: https://github.com/alex-courtis/way-displays
|
||||
[Sway]: https://swaywm.org
|
||||
[Wayfire]: https://wayfire.org
|
||||
[ARandR]: https://christian.amsuess.com/tools/arandr/
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
# SPDX-FileCopyrightText: 2020 Jason Francis <jason@cycles.network>
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
project('network.cycles.wdisplays', 'c', license: 'MIT', version: '1.0')
|
||||
project('network.cycles.wdisplays', 'c',
|
||||
license: 'GPL-3.0-or-later',
|
||||
version: '1.1.1'
|
||||
)
|
||||
|
||||
conf = configuration_data({
|
||||
'app_id': meson.project_name(),
|
||||
|
|
|
@ -36,9 +36,12 @@ if scour.found()
|
|||
'@INPUT@', '@OUTPUT@'],
|
||||
install: true,
|
||||
install_dir: icondir)
|
||||
else
|
||||
install_data(icon, install_dir: icondir)
|
||||
endif
|
||||
else
|
||||
install_data(icon,
|
||||
rename: '@0@.svg'.format(meson.project_name()),
|
||||
install_dir: icondir
|
||||
)
|
||||
endif
|
||||
|
||||
install_data(
|
||||
configure_file(input: 'wdisplays.desktop.in',
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
[Desktop Entry]
|
||||
Version=@version@
|
||||
Type=Application
|
||||
Name=wdisplays
|
||||
Comment=Wlroots display configuration
|
||||
Categories=GTK;Settings;DesktopSettings;
|
||||
Exec=wdisplays
|
||||
Icon=@app_id@
|
||||
|
||||
Name=Displays
|
||||
GenericName=Displays configuration
|
||||
Comment=wlroots displays configuration
|
||||
Name[it]=Schermi
|
||||
GenericName[it]=Impostazioni degli schermi
|
||||
Comment[it]=Impostazioni degli schermi per wlroots
|
||||
|
|
|
@ -132,7 +132,7 @@ void window_map(GtkWidget *widget, gpointer data) {
|
|||
&layer_surface_listener, output);
|
||||
|
||||
zwlr_layer_surface_v1_set_anchor(output->overlay_layer_surface,
|
||||
ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP |
|
||||
ZWLR_LAYER_SURFACE_V1_ANCHOR_BOTTOM |
|
||||
ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT);
|
||||
|
||||
resize(output);
|
||||
|
|
Loading…
Reference in New Issue