Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[wayland] wayfire and other compositors
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Sun Feb 05, 2023 2:44 pm    Post subject: Reply with quote

I know that xfce has been working on making it work under wayland natively. But don't haven't checked on resource usage.

On the other hand, I've been playing (lightly and mostly in the config stage right now) with hyprland, and I'm pretty impressed.
If I can get it tuned properly, I may switch over to it as my primary desktop.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Sun Feb 05, 2023 5:09 pm    Post subject: Reply with quote

Is hyprland like fluxbox/openbox on wayland?
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30918
Location: here

PostPosted: Sun Feb 05, 2023 5:17 pm    Post subject: Reply with quote

Zucca wrote:
Is hyprland like fluxbox/openbox on wayland?

It's a tiling compositor like sway, that doesn't sacrifice on its looks (cit)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3627

PostPosted: Sun Feb 05, 2023 5:22 pm    Post subject: Reply with quote

Anon-E-moose wrote:
hyprland, and I'm pretty impressed.
Same here.
Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Sun Feb 05, 2023 5:23 pm    Post subject: Reply with quote

Zucca wrote:
Is hyprland like fluxbox/openbox on wayland?


Say sway and wayfire had a baby, it would kind of look like hyprland *laugh*

Animations, blurring, a ricers dream (config wise), the ability to have floating along with the dynamic tiling aspect.
Like sway, can be controlled by cmd line program (giving more flexibility)

I've always used a stacking wm (both X and wayland) but I do like a lot of the things that hyprland does, and the developers seem pretty open to suggestions for enhancements.

Pic of (someone elses) desktop with hyprland, as I have not got mine set up just yet, it's a WIP.
https://raw.githubusercontent.com/kaii-lb/dotfiles/master/assets/images/screenshot.png
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1441
Location: Earth

PostPosted: Sun Feb 05, 2023 7:22 pm    Post subject: Reply with quote

here's another baby https://github.com/WillPower3309/swayfx

i'll wait until hyprland can just adapt already configured sway/waybar .config without anykind of users input :wink:

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Mon Feb 06, 2023 4:34 pm    Post subject: Reply with quote

Well. I do tile windows on wayfire already. :P
I guess I could try out hyprland some day.

However I like the idea of newm: infinite desk size. I guess it's not that fast to use than virtual desktops, but it's something completely new to me.

I'll configure my sfwbar to my liking, then I can start the compositor hopping. :D
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Mon Feb 06, 2023 8:28 pm    Post subject: Reply with quote

Well...
I've just recalled some of my, limited, css skills. Like many other bars, sfwbar styling is done via css.
nm-applet didn't seem to offer a tray icon anymore (maybe it's a some new tray protocol for gnome and friends). So I compiled nm-tray. Qt equivalent. Surprisingly it didn't pull much crud with it - only one kde related package. It works now, but I get "no-icon" -icon on the tray. And running it via terminal:
Code:
$ nm-tray
QSystemTrayIcon::setVisible: No Icon set
... doesn't really help. Googling this gives some results from qbittorrent issue tracker.
I guess I could overrride the icon with some css magic, but It would really require some higher level wizardy to be able to change the icon sfwbay way based on the network status. But still not impossible. Before that I'll try to get nm-tray to display an icon. Any of you use nm-tray and had this problem..?
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 568

PostPosted: Tue Feb 07, 2023 4:26 pm    Post subject: Reply with quote

I also tile windows on wayfire; it's easy to assign shortcuts for making them take up a quarter or half of the screen. I try tiling window managers occasionally, but generally find that I can replicate their functionality with stacking ones without the annoyance of needing to figure out to handle things that I don't want to tile, like conky.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Tue Feb 07, 2023 4:48 pm    Post subject: Reply with quote

@keet, there's also simple tiling plugin for wayfire. I tend to use it on bigger displays.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Tue Feb 07, 2023 7:00 pm    Post subject: Reply with quote

As I said earlier, I've always used a stacking wm/compositor in the past, both in wayland and X.

I had already walked away wayfire, the main reason they weren't keeping up with wlroots changes closely enough (for me).
I went to labwc, another stacking compositor, which was following wlroots more closely, and somewhat resembled openbox,
which was what I used most in X. They've also added some simple tiling. And as a general rule I do like labwc.

But I decided to try hyprland, and I do like it, especially since I've figured out how to have floating windows,
as well as window placement, etc, for my customizations.

As far as animations, in wayfire I turned them mostly off (they're only cute for a while, to me)
labwc doesn't do animations
hyprland does some animations, window momement, etc, but not near as many options as wayfire.
Overall hyprland seems to be snappier than either of my previous choices, and like sway, if you have multiple monitors
you can have one or more workspaces appear on your 2nd, 3rd, etc monitor.

At the end of the day, we pick what suits our needs and wants. *laugh*
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 568

PostPosted: Wed Feb 08, 2023 1:56 pm    Post subject: Reply with quote

Zucca wrote:
@keet, there's also simple tiling plugin for wayfire. I tend to use it on bigger displays.


I've been using the grid plugin, which works well enough for me. These aren't my settings (I'm using my laptop now and I use tiling only on my desktop), but it shows the idea.

Code:
[grid]
slot_bl = disabled # <super> KEY_DOWN
slot_b = disabled # <super> <shift> KEY_DOWN
slot_br = disabled # <super> KEY_RIGHT
slot_l = disabled # <super> <shift> KEY_LEFT
#slot_c = <super> KEY_UP | <super> KEY_KP5
slot_c = disabled # disabled
slot_r = disabled # <super> <shift> KEY_RIGHT
slot_tl = disabled # <super> KEY_LEFT
slot_t = disabled # <super> <shift> KEY_UP
slot_tr = disabled # <super> KEY_UP
# Restore default.
#restore = <super> KEY_DOWN | <super> KEY_KP0
restore = disabled
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Sat Feb 11, 2023 3:03 pm    Post subject: Reply with quote

hyprland rice coming along nicely ;)


https://freeimage.host/i/HEX3gQs
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1441
Location: Earth

PostPosted: Sat Feb 11, 2023 3:16 pm    Post subject: Reply with quote

there are so much like this - which to choose 8O

https://www.reddit.com/r/unixporn/comments/10y1z3c/hyprland_ended_up_ricing_literally_everything/

https://github.com/PROxZIMA/.dotfiles

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Sat Feb 11, 2023 3:28 pm    Post subject: Reply with quote

Indeed, much of my inspiration has come from reddit *nods*

But I like to take bits and pieces and roll my own
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1441
Location: Earth

PostPosted: Sat Feb 11, 2023 3:37 pm    Post subject: Reply with quote

Anon-E-moose wrote:
Indeed, much of my inspiration has come from reddit *nods*

But I like to take bits and pieces and roll my own

i ended up using color options from this https://github.com/VijayLalwani/SeaOwl

using sway/waybar only here - maybe switching to hypr at later time !

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Sat Feb 11, 2023 6:13 pm    Post subject: Reply with quote

I have too much to test. :E
  • hyprland
  • newm
  • clay

_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
bitter
n00b
n00b


Joined: 26 Dec 2003
Posts: 24

PostPosted: Sun Feb 12, 2023 12:19 pm    Post subject: Reply with quote

I love Hyprland! It's been my daily driver for months, since I began using wayland the majority of the time.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Mon Apr 17, 2023 1:56 pm    Post subject: Reply with quote

I guess people following this thread will know few wallpaper setters for wayland (preferably using wlroots)?

I recently installed a almost fresh Gentoo install on my laptop (I had a silly 'rm -fr' accident) and I'm looking for parts for my gui session.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Mon Apr 17, 2023 4:29 pm    Post subject: Reply with quote

I use swaybg with a perl wrapper script to randomize and time the wp

Code:
#!/usr/bin/perl -w
use sigtrap qw/handler signal_handler normal-signals/;

# pass in time, random and these options (if any)
#Usage: swaybg <options...>
#
#  -c, --color            Set the background color.
#  -h, --help             Show help message and quit.
#  -i, --image            Set the image to display.
#  -m, --mode             Set the mode to use for the image.
#  -o, --output           Set the output to operate on or * for all.
#  -v, --version          Show the version number and quit.
#
#Background Modes:
#  stretch, fit, fill, center, tile, or solid_color

$SIG{CHLD} = 'IGNORE';

$sleep = 600;
if ($ARGV[0]) {
  $sleep = $ARGV[0];
}

my $pid = -1;

`/bin/ls /n/wallpaper/4k/ | sort -R > /tmp/wall-sort`;
open my $fh, '<', "/tmp/wall-sort" or die "Could not read /tmp/wall-sort: $!";
@array = <$fh>;
close $fh;
unlink("/tmp/wall-sort") or die "Can't unlink /tmp/wall-sort: $!";

$index = 0;

while (1) {
  $file = $array[$index];
  $pid = fork();
  die "couldn't fork\n" unless defined $pid;

  if (! $pid)
  {
    chomp($file);
    exec("/usr/bin/swaybg", "-m", "fit", "-o", "DP-1", "-i", "/n/wallpaper/4k/$file");
  } else {
    sleep $sleep;
    kill 1, $pid;
  }
  $index++;

}

sub signal_handler {
  kill 1, $pid;
  exit 0;
}

_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Thu Apr 20, 2023 4:49 pm    Post subject: Reply with quote

As, yes swaybg. That'll fit.
... But I went a little overkill and chose gui-apps/swww. I (roughly) measured it's consumption with powertop and it isn't that bad when using gif as wallpaper (Yes, that's a thing). If choose static image, then it doesn't even show up on powertop.

There's also wbg for those who want _really_ minimal wallpaper setter for wlroots based compositors.

Then to... gtk (and qt) themes... lxappearance segfaults...
Why's theming so complicated nowdays..? :(
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Fri Apr 21, 2023 2:21 pm    Post subject: Reply with quote

I started out using wbg, then modified it to understand random/time for wallpaper, then just moved over to swaybg as it has a few features I like. I dislike animations (as a general rule) at least after just a few minutes of any animation series. *lol*

I would be surprised if lxappearance worked since it's an X app, not sure how well it handles wayland or even xwayland.
xfce4 on the other hand is moving towards offering a wayland experience with their suite, but not sure how far all the components are in that.

Theming, I just manually adjust .config/gtk-3.0/settings.ini and gtk env vars, for qt use QT_QPA_PLATFORMTHEME
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
spica
Apprentice
Apprentice


Joined: 04 Jun 2021
Posts: 287

PostPosted: Fri Apr 21, 2023 6:33 pm    Post subject: Reply with quote

Just wanted to share my scripts for setting random wallpaper on each login.
I try to hide exact implementation under a script with some common name.
Later I will be able to replace swaybg with something different in a single place.

~/bin/wallpaper.sh
Code:
#!/bin/bash

# returns a path to a random image
find "${HOME}/Pictures/Wallpapers/" -type f \
     \( -iname '*.jpg' -o -iname "*.png" \) \
    | shuf -n 1
~/bin/wl-wallpaper.sh
Code:
#!/bin/bash

swaybg -i `wallpaper.sh`


Then I can put wl-wallpaper.sh into autostart section,
~/.config/wayfire.ini
Code:
[autostart]
a3 = /home/user/bin/wl-wallpaper.sh
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Sat Apr 22, 2023 6:32 pm    Post subject: Reply with quote

I plan to change the wallpaper based if my laptop if charging, and/or battery percentage.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
spica
Apprentice
Apprentice


Joined: 04 Jun 2021
Posts: 287

PostPosted: Sat Oct 07, 2023 6:02 pm    Post subject: Reply with quote

Wayfire 0.8.0 https://wayfire.org/2023/10/07/Wayfire-0-8.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 6 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum