Drew DeVault
95c65ee33e
Merge pull request #232 from sce/replace_output_config
...
cmd_output: Replace existing config if called multiple times.
9 years ago
S. Christoffer Eliesen
a94a91a723
cmd_output: Replace existing config if called multiple times.
9 years ago
Drew DeVault
00a4591b39
Update README
9 years ago
Drew DeVault
63a3f24b79
Merge pull request #230 from sce/code_overview
...
README: Add long code overview section.
9 years ago
S. Christoffer Eliesen
2f7f8512bd
HACKING.md: Add code overview section.
9 years ago
Drew DeVault
cd161aa985
We somewhat more wlc_point now
...
Apparently I missed some
cc @Cloudef
9 years ago
Drew DeVault
95442dac8d
We wlc_point now
...
cc @Cloudef
9 years ago
Drew DeVault
ab3d6f6fa1
Merge pull request #227 from xerpi/master
...
Check the client_setup() return value
9 years ago
Sergi Granell
a8b18b5159
Check the client_setup() return value
9 years ago
Drew DeVault
3dbdc40b0e
Merge pull request #226 from sce/fix_get_socketpath
...
ipc: Store socketname in SWAYSOCK. Fixes `--get-socketpath`.
9 years ago
S. Christoffer Eliesen
f64b7e71d4
ipc: Store socketname in SWAYSOCK. Fixes `--get-socketpath`.
...
After adding pid to the socket path the `--get-socketpath` command broke
because it doesn't know the pid of the running instance. Fix this by
setting and querying `SWAYSOCK`.
Also ignore `SWAYSOCK` upon normal startup if a socket exists at that
location (ie. from another sway instance), and don't overwrite `I3SOCK`
if it exists either.
9 years ago
Drew DeVault
2cc6d39d46
New screenshot for README
...
This one was actually taken from within sway!
9 years ago
Drew DeVault
f7c0d2badb
Clean up some things better in wayland clients
9 years ago
Drew DeVault
1011957465
Merge branch 'master' of github.com:SirCmpwn/sway
9 years ago
Drew DeVault
38b18d460a
Revert "Try ~/.i3/config earlier than /etc/sway/config"
...
This reverts commit f0ceb4e909
.
9 years ago
Drew DeVault
f3fc48f692
Merge pull request #225 from sce/logind_socket_path
...
ipc: Put socket into proper user runtime dir.
9 years ago
Drew DeVault
f0ceb4e909
Try ~/.i3/config earlier than /etc/sway/config
...
And ~/.config/i3/config, of course.
9 years ago
S. Christoffer Eliesen
253204efb9
ipc: Put socket into proper user runtime dir.
9 years ago
Drew DeVault
5c3f40111a
Fix man page installs
9 years ago
Drew DeVault
fd1a59def3
Clean up CMake stuff
9 years ago
Drew DeVault
44d0b3282f
Merge pull request #224 from mathstuf/cmake-cleanups
...
CMake cleanups
9 years ago
Ben Boeckel
8e8bdbcae2
cmake: run git in the source directory
9 years ago
Ben Boeckel
ec013d1f1a
common: create a static library
9 years ago
Ben Boeckel
98678dea5d
cmake: clean up installation rules
9 years ago
Ben Boeckel
f8ae8cb820
cmake: clean up definition settings
9 years ago
Ben Boeckel
28f1e9842c
cmake: manipulate CMAKE_MODULE_PATH as a list
...
Also prefer local modules.
9 years ago
Ben Boeckel
2e9183e4de
cmake: set the output directory once
9 years ago
Ben Boeckel
4714262c3d
cmake: simplify manpage generation
9 years ago
Ben Boeckel
c8599dba02
cmake: use string(TIMESTAMP)
9 years ago
Ben Boeckel
f002baed7a
cmake: bump requirement to 3.1.0
...
CMAKE_C_STANDARD was introduced in 3.1.0.
9 years ago
Drew DeVault
c43ef2aedd
We don't need to implement strdup
...
After defining _GNU_SOURCE
9 years ago
Drew DeVault
11b1ba397f
Further refinement of wayland client support
9 years ago
Drew DeVault
bfcabe48ef
Start fleshing out wayland client implementation
...
This introduces a basic shared framework for making wayland clients
within sway itself.
9 years ago
Drew DeVault
5c4e98aa4e
Merge branch 'master' of github.com:SirCmpwn/sway
9 years ago
Drew DeVault
ef8335d694
Start working on IPC for get_pixels
...
This is broken
9 years ago
Drew DeVault
8048b8a4d2
Merge pull request #223 from mikkeloscar/swaybg-deps
...
Add new swaybg dependencies
9 years ago
Mikkel Oscar Lyderik
b8068a1d3e
Add new swaybg dependencies
9 years ago
Drew DeVault
4dc913c95e
Add swaybg executable
...
This will let users set their background to something other than that
cringy demoscene thing wlc has now. It's also going to be the first
wayland client written for sway, so I picked an easy thing to work on.
We'll have to figure out how to indicate that it's a special view.
9 years ago
Drew DeVault
aadcba4b7c
Add new dependencies for wayland clients
...
Cairo for rendering shit, Pango for text rendering, and wayland client
stuff. Thanks @Cloudef, blatantly ripping off his cmake files for this
9 years ago
Drew DeVault
250097d32b
Fix gaps for views being incorrect
9 years ago
Drew DeVault
4397cff7bc
Fix some IPC issues
...
Socket now includes pid in the filename (fixes nested sway sessions or
old sockets causing problems).
Fixed warnings on strict aliasing and cleaned up relevant code in
general.
9 years ago
Drew DeVault
d729032ba2
Add file and line number to log in Debug build
9 years ago
Drew DeVault
edb3e4b5ab
Add some documentation comments
...
This is mostly setting a precedent, I hope that others will continue to
write docs for more headers.
Ref #218
9 years ago
Drew DeVault
d3de6af6c2
Merge pull request #217 from mikkeloscar/ipc-h
...
Include header declaring ipc_event_workpace(2)
9 years ago
Mikkel Oscar Lyderik
d5b5d92b30
Include header declaring ipc_event_workpace(2)
9 years ago
Drew DeVault
c3d731ba93
Merge pull request #216 from sce/learn_edge_gaps_0
...
Learn "gaps edge_gaps <on|off|toggle>".
9 years ago
S. Christoffer Eliesen
abc5fbfaec
Learn "gaps edge_gaps <on|off|toggle>".
...
When yes, the old behaviour of adding half the inner gap around each
view is used.
When no, don't add any gap when an edge of the view aligns with the
workspace. The result is inner gap only between views, not against the
workspace edge.
The algorithm is not perfect because it means the extra space is
distributed amongst edge-aligned views only, but it's simple, looks good
and it works.
9 years ago
Drew DeVault
713c7d6e1e
Merge pull request #215 from sce/gaps
...
Clean up gaps command
9 years ago
S. Christoffer Eliesen
eeec0fda8a
commands: gaps: Re-arrange windows after changing default gaps.
9 years ago
S. Christoffer Eliesen
936f8c24e0
commands: gaps: Always apply default gaps config.
9 years ago