Comments (10)
try:
class= "Spotify"
instead of
class= "spotify"
You may have a second read at your configuration, I see a few typos (eg: double letters)... in general, if values aren't exact, it will not work, some seem to be "on purpose" but still worth having a look ;)
from pyprland.
try with
process_tracking = false
class_match = true
process_tracking = "false"
is considered true
...
from pyprland.
Yes, the real class needs to "perfectly" match the "class" option in Hyprland.
from pyprland.
For Thunar you had the same typo in two places, so it matched :)
from pyprland.
try with
process_tracking = false class_match = true
process_tracking = "false"
is consideredtrue
...
It did work (ig) but my windows aren't floating (thunar and spotify)
Also the hide feature is still not working for spotify
from pyprland.
can you show the full pypr log and also verify those flatpak's apps class ? (output of hyprctl -j clients
).
Also provide your full pyprland.toml, you mention things you didn't share...
from pyprland.
hyprctl -j clients
[{
"address": "0x55b7efd5d670",
"mapped": false,
"hidden": false,
"at": [0, 0],
"size": [0, 0],
"workspace": {
"id": -1,
"name": ""
},
"floating": false,
"monitor": -1,
"class": "",
"title": "",
"initialClass": "",
"initialTitle": "",
"pid": -1,
"xwayland": true,
"pinned": false,
"fullscreen": false,
"fullscreenMode": 0,
"fakeFullscreen": false,
"grouped": [],
"swallowing": "0x0",
"focusHistoryID": -1
},{
"address": "0x55b7efd6bb40",
"mapped": true,
"hidden": false,
"at": [10, 42],
"size": [1420, 848],
"workspace": {
"id": 2,
"name": "2"
},
"floating": false,
"monitor": 0,
"class": "firefox",
"title": "[BUG] Flatpak apps not working as others are (scratchpads) · Issue #51 · hyprland-community/pyprland — Mozilla Firefox",
"initialClass": "firefox",
"initialTitle": "Mozilla Firefox",
"pid": 3713,
"xwayland": false,
"pinned": false,
"fullscreen": false,
"fullscreenMode": 0,
"fakeFullscreen": false,
"grouped": [],
"swallowing": "0x0",
"focusHistoryID": 2
},{
"address": "0x55b7efeae010",
"mapped": false,
"hidden": false,
"at": [0, 0],
"size": [0, 0],
"workspace": {
"id": -1,
"name": ""
},
"floating": false,
"monitor": -1,
"class": "",
"title": "",
"initialClass": "",
"initialTitle": "",
"pid": -1,
"xwayland": true,
"pinned": false,
"fullscreen": false,
"fullscreenMode": 0,
"fakeFullscreen": false,
"grouped": [],
"swallowing": "0x0",
"focusHistoryID": -1
},{
"address": "0x55b7efeb8440",
"mapped": false,
"hidden": false,
"at": [0, 0],
"size": [0, 0],
"workspace": {
"id": -1,
"name": ""
},
"floating": false,
"monitor": -1,
"class": "",
"title": "",
"initialClass": "",
"initialTitle": "",
"pid": -1,
"xwayland": true,
"pinned": false,
"fullscreen": false,
"fullscreenMode": 0,
"fakeFullscreen": false,
"grouped": [],
"swallowing": "0x0",
"focusHistoryID": -1
},{
"address": "0x55b7efeb9d20",
"mapped": false,
"hidden": false,
"at": [0, 0],
"size": [0, 0],
"workspace": {
"id": -1,
"name": ""
},
"floating": false,
"monitor": -1,
"class": "",
"title": "",
"initialClass": "",
"initialTitle": "",
"pid": -1,
"xwayland": true,
"pinned": false,
"fullscreen": false,
"fullscreenMode": 0,
"fakeFullscreen": false,
"grouped": [],
"swallowing": "0x0",
"focusHistoryID": -1
},{
"address": "0x55b7efebbbf0",
"mapped": true,
"hidden": false,
"at": [10, 42],
"size": [1420, 848],
"workspace": {
"id": 3,
"name": "3"
},
"floating": false,
"monitor": 0,
"class": "Spotify",
"title": "Spotify Free",
"initialClass": "Spotify",
"initialTitle": "Spotify",
"pid": 5013,
"xwayland": true,
"pinned": false,
"fullscreen": false,
"fullscreenMode": 0,
"fakeFullscreen": false,
"grouped": [],
"swallowing": "0x0",
"focusHistoryID": 1
},{
"address": "0x55b7efebd4d0",
"mapped": false,
"hidden": false,
"at": [0, 0],
"size": [0, 0],
"workspace": {
"id": -1,
"name": ""
},
"floating": false,
"monitor": -1,
"class": "",
"title": "",
"initialClass": "",
"initialTitle": "",
"pid": -1,
"xwayland": true,
"pinned": false,
"fullscreen": false,
"fullscreenMode": 0,
"fakeFullscreen": false,
"grouped": [],
"swallowing": "0x0",
"focusHistoryID": -1
},{
"address": "0x55b7efeb4080",
"mapped": true,
"hidden": false,
"at": [10, 42],
"size": [704, 848],
"workspace": {
"id": -97,
"name": "special:scratch_thunar"
},
"floating": false,
"monitor": 0,
"class": "thunar",
"title": "activator - Thunar",
"initialClass": "thunar",
"initialTitle": "activator - Thunar",
"pid": 5033,
"xwayland": false,
"pinned": false,
"fullscreen": false,
"fullscreenMode": 0,
"fakeFullscreen": false,
"grouped": [],
"swallowing": "0x0",
"focusHistoryID": 3
},{
"address": "0x55b7eed9ea00",
"mapped": true,
"hidden": false,
"at": [324, 480],
"size": [792, 360],
"workspace": {
"id": 3,
"name": "3"
},
"floating": true,
"monitor": 0,
"class": "kitty-dropterm",
"title": "hyprctl -j clients",
"initialClass": "kitty-dropterm",
"initialTitle": "Alacritty",
"pid": 4018,
"xwayland": false,
"pinned": false,
"fullscreen": false,
"fullscreenMode": 0,
"fakeFullscreen": false,
"grouped": [],
"swallowing": "0x0",
"focusHistoryID": 0
}]
PyprLog
pypr --debug /tmp/pypr.log
ipc - Logger "ipc" initialized // common.py:78
startup - Logger "startup" initialized // common.py:78
ipc - notify 3 10000 rgb(ff1010) Trying to run pypr more than once ? // ipc.py:94
startup - /tmp/hypr/84ab8d11e8951a6551d1e1bf87796a8589da6d47_1708528277/.pyprland.sock exists,
is pypr already running ?
If that's not the case, delete this file and run again. // command.py:380
Pypr toml
[pyprland]
plugins = [
"scratchpads"
]
[scratchpads.term]
command= "alacritty --class kitty-dropterm"
animation= "fromBottom"
unfocus= "hide"
[scratchpads.thunar]
command= "thunar --class tunaar"
animation= "fromTop"
class= "tunaar"
unfocus= "hide"
[scratchpads.btop]
command= "kitty --class btop -e btop"
animation= "fromLeft"
lazy= "true"
unfocus= "hide"
[scratchpads.spotify]
command="flatpak run com.spotify.Client"
class= "spotify"
process_tracking= false
class_match= true
animation= "fromRight"
lazy= "true"
unfocus= "hide"
from pyprland.
Also to send the log, you need to send the file /tmp/pypr.log
, here you just show a failed run of the daemon...
from pyprland.
Also to send the log, you need to send the file
/tmp/pypr.log
, here you just show a failed run of the daemon...
from pyprland.
try:
class= "Spotify"
instead ofclass= "spotify"
You may have a second read at your configuration, I see a few typos (eg: double letters)... in general, if values aren't exact, it will not work, some seem to be "on purpose" but still worth having a look ;)
Spotify worked. And so did Thunar. Can you tell how it worked?
from pyprland.
Related Issues (20)
- opening firefox - open a normal hyprland window HOT 7
- [Feature Request] Move the scratchpad to new workspace instead of closing it HOT 4
- Exclude appears not working on 1.6.8 HOT 1
- Template for plugins not working
- monitorAdded and monitorRemoved events stop registering after one reconnection of a monitor HOT 2
- Scratchpads running, but wont show up HOT 12
- activewindow can return an empty result, crashing pypr HOT 1
- [Feature Request] Minimization Plugin Integration with Scratchpads HOT 3
- `pypr reload` doesn't seem to do anything for scratchpads HOT 1
- Issues with programs that spawn child windows HOT 15
- scratchpads gets hidden behind in fullscreen mode HOT 2
- [BUG] Nix Flake build failed: "No module name 'hatchling' for pygments" HOT 3
- [BUG] Scratchpad stays on screen when hidden after reconnecting monitor HOT 4
- Pyprland makes all chromium instances started with --app switch floating HOT 2
- [BUG] scratchpads "position" option is ignored HOT 3
- [BUG] layout_center: centered window to big HOT 6
- [FEAT] Remembering size and position of scratchpad windows HOT 5
- [FEAT] How to send commands to the created scratchpads? HOT 4
- Rofi can't bring `pyprland`-managed `scratchpads` back into focus HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyprland.