Cyril Levis
fcbfd19393
feat: add focus to urgent or last window ( #1402 )
...
* feat: add focus to urgent or last window
* Rename dispatcher
Co-authored-by: Maxim Baz <git@maximbaz.com>
2023-01-21 11:18:55 +01:00
devil-may-c0de
6a56d1e4d0
change placement of isSwitchingToPrevious ( #1388 )
...
fixes #1218 , but doesn't break functionality of allow_workspace_cycles.
2023-01-16 21:04:10 +01:00
9c77415cda
damage monitor on moveactive
2023-01-13 12:31:24 +01:00
Raffaele Mancuso
c0c7c12bb9
Pin dispatcher for a specific window ( #1340 )
...
Closes #1339
2023-01-08 18:37:24 +01:00
riChar
e5dcbf73d8
Add "on" and "off" for the bind of switch ( #1342 )
2023-01-08 16:35:24 +01:00
Cyril Levis
3173fbdc4a
feat: dispatcher, add workspace renaming ( #1336 )
...
* feat: dispatcher, add workspace renaming
Co-authored-by: vaxerski <vaxry@vaxry.net>
2023-01-08 14:19:18 +01:00
461fab0f27
minor fixes for fakefullscreen
2023-01-06 13:29:49 +01:00
96198dae55
Normalize color storage
...
Colors are now normalized to 0 - 1 values instead of 0 - 255
causes calculations to be simpler and generally cleans up the codebase.
2023-01-05 19:25:45 +01:00
cb4f748226
added fakefullscreen
2023-01-01 16:54:13 +01:00
vaxerski
4fd90144d1
touch up the clang format and format all files
2022-12-20 02:18:47 +00:00
vaxerski
668cc93962
refocus on special move
2022-12-19 14:49:19 +00:00
Julian Schuler
2daabfa0e9
Add 'exact' option for 'splitratio' ( #1245 )
...
* Simplify getPlusMinusKeywordResult()
* Add an 'exact' option for 'splitratio'
2022-12-17 22:37:44 +00:00
Julian Schuler
a3b37b0191
Fix focus not changing on (empty) workspace change ( #1243 )
2022-12-17 17:28:43 +00:00
vaxerski
99ca1ad353
remember pos and size across fullscreen moves
2022-12-17 12:15:56 +00:00
Vaxry
98a4fa2b0d
Added clang format ( #1239 )
...
* clang-format stuff and format files
2022-12-16 17:17:31 +00:00
vaxerski
b89a07596e
prevent moving to invalid workspaces
2022-12-14 18:42:48 +00:00
vaxerski
c3f1dc3f52
fix minor issues with move focus and follow mouse 0
2022-12-10 15:15:40 +00:00
vaxerski
ff12a41c40
minor focus fixes with LS-es and moving windows
2022-12-09 14:03:37 +00:00
vaxerski
e1d7a13333
unset fullscreen in onWindowRemoved
2022-12-07 18:57:02 +00:00
vaxerski
993c382e74
minor fixes to special workspace behavior
2022-12-06 20:31:44 +00:00
vaxerski
3c9a7811b8
fix up moving to special workspace
2022-12-06 20:20:37 +00:00
vaxerski
0a302901d2
Added handling more special workspaces
2022-11-27 22:42:22 +00:00
0e6e8461eb
reset m_bEmptyFocusCursorSet on workspace switch
2022-11-25 11:34:52 +00:00
dcb6a0425c
override force opaque rule on keybind
2022-11-23 09:55:52 +00:00
vaxerski
be03a6186c
fix invisible windows on moving fullscreen out
2022-11-20 18:50:27 +00:00
vaxerski
e427d9f622
unify setting of the active monitor
2022-11-19 16:41:41 +00:00
vaxerski
5d39223239
fix events in changeworkspace with bound ws-es
2022-11-17 21:58:22 +00:00
Jef
dbb6732743
apply some rules dynamically when state of window changes ( #1020 )
...
Co-authored-by: Jef Steelant <jef.steelant_ext@softathome.com>
2022-11-15 10:21:26 +00:00
Jef
4034aa2c60
possible crash when current workspace does not exist ( #1023 )
...
Co-authored-by: Jef Steelant <jef.steelant_ext@softathome.com>
2022-11-15 10:18:04 +00:00
fcb5037a1d
guard lastwindow in circlenext
2022-11-14 12:12:13 +00:00
vaxerski
478fa7cafe
Revert "Set child stdout and stderr to /dev/null ( #1000 )"
...
This reverts commit 1e5cab1ee7
.
Breaks a bunch of stuff, e.g. Waybar.
2022-11-13 19:53:27 +00:00
Thomas Voss
1e5cab1ee7
Set child stdout and stderr to /dev/null ( #1000 )
...
Some scripts or utilities check to see if stdout or stderr are connected
to a TTY or not to determine certain behaviors (for example, you might
want to prompt a user for input with fzf(1) if in a terminal but tofi(1)
or wofi(1) when spawned from your WM). Since hyprland never closes
these output streams for spawned processes, they end up just spewing
their output onto the TTY while giving the user no real way to have a
script detect if it's being run from the shell or WM.
Instead of just closing stdout and stderr though, we close them and then
proceed to reopen them but connect them to /dev/null. This allows
scripts and processes to not fail when attempting to write, but for that
writing to simply have no effect.
2022-11-13 11:58:20 +00:00
851df11eb5
Added exec rules
2022-11-10 13:39:23 +00:00
vaxerski
aefc34b405
Minor fixes for virtual input devices
2022-11-07 22:22:13 +00:00
abbadanor
1a55fb4170
Dispatcher to center floating window ( #961 )
...
Co-authored-by: Adam Nord <adam.nord@abbgymnasiet.se>
Co-authored-by: vaxerski <vaxry@vaxry.net>
2022-11-07 12:16:30 +00:00
vaxerski
653b9ed0e4
Fix missing focusedmon event on focusmonitor dispatcher
2022-11-03 19:34:26 +00:00
vaxerski
9e227a52c0
allow cyclenext on null focus
2022-10-28 21:31:39 +01:00
vaxerski
69f1d7b360
Rework workspace rules
2022-10-24 18:36:31 +01:00
vaxerski
1d0d350fc3
fix silent + size windowrules
2022-10-24 12:03:15 +01:00
vaxerski
34cd8b125a
rework focus system to be more safe and faster
2022-10-14 20:46:32 +01:00
a7bdfc06ca
added bringactivetotop dispatcher
2022-10-14 14:22:31 +01:00
eb3c132fc5
set workspace name in previous
2022-10-13 15:17:16 +01:00
vaxerski
b4a8efc1a7
fix naming when workspace back and forth
2022-10-06 20:40:58 +01:00
vaxerski
9480c0fb90
fix workspace previous with multi-mon ws moves
2022-10-06 20:18:49 +01:00
vaxerski
f901c60da5
return true on vt switch keysyms to avoid printing stuff
2022-10-06 19:31:32 +01:00
vaxerski
922e978f56
reset sigmask on fork
2022-10-06 19:02:03 +01:00
Felix Dick
552c4b7361
Fix compiler warnings.
2022-10-06 13:42:52 +02:00
vaxerski
e90c5c6347
fix tty switch freeze
2022-10-05 21:41:27 +01:00
vaxerski
11ce468996
add dpms status info in hyprctl
2022-10-05 18:14:11 +01:00
0e4a894edb
add dpms per output
2022-10-05 10:31:47 +01:00