We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32de461 commit 97e8ce3Copy full SHA for 97e8ce3
src/winman.rs
@@ -35,9 +35,7 @@ pub fn is_running_wayfire() -> bool {
35
pub fn is_running_qtile() -> bool {
36
if let Some(cache) = dirs::cache_dir() {
37
if let Ok(display) = std::env::var("WAYLAND_DISPLAY") {
38
- let socket = cache
39
- .join("qtile")
40
- .join("qtilesocket.".to_owned() + &display);
+ let socket = cache.join("qtile").join(format!("qtilesocket.{display}"));
41
42
if socket.exists() {
43
return true;
0 commit comments