Hello community, here is the log from the commit of package openSUSEway for openSUSE:Factory checked in at 2020-07-31 15:59:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openSUSEway (Old) and /work/SRC/openSUSE:Factory/.openSUSEway.new.3592 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSEway" Fri Jul 31 15:59:09 2020 rev:3 rq:823705 version:0.8 Changes: -------- --- /work/SRC/openSUSE:Factory/openSUSEway/openSUSEway.changes 2020-07-27 17:37:10.998814498 +0200 +++ /work/SRC/openSUSE:Factory/.openSUSEway.new.3592/openSUSEway.changes 2020-07-31 16:07:38.364826542 +0200 @@ -1,0 +2,15 @@ +Mon Jul 31 11:00:00 UTC 2020 - Denis Kondratenko <[email protected]> + +- New in 0.8 release + * Add wob support + * pamixer is dependency for wob controls in config +- Add command-not-found to the environment + +------------------------------------------------------------------- +Mon Jul 20 12:05:29 UTC 2020 - Denis Kondratenko <[email protected]> + +- New in 0.7 release + * update sway conf to the 1.5 + * adding GTK and QT themes + +------------------------------------------------------------------- Old: ---- openSUSEway-0.6.tar.gz New: ---- openSUSEway-0.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openSUSEway.spec ++++++ --- /var/tmp/diff_new_pack.mIbF1K/_old 2020-07-31 16:07:39.728827709 +0200 +++ /var/tmp/diff_new_pack.mIbF1K/_new 2020-07-31 16:07:39.732827712 +0200 @@ -19,7 +19,7 @@ %define waybar_version %(rpm -q --queryformat "%%{version}" waybar) Name: openSUSEway -Version: 0.6 +Version: 0.8 Release: 0 Summary: The openSUSEway desktop environment meta package Group: Metapackages @@ -27,6 +27,9 @@ Source0: https://github.com/openSUSE/openSUSEway/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz License: MIT BuildArch: noarch +BuildRequires: aaa_base +BuildRequires: systemd +Requires: aaa_base Requires: sway-branding-openSUSE Requires: waybar-branding-openSUSE Requires: sudo @@ -45,6 +48,14 @@ Requires: firefox Requires: NetworkManager Requires: mpv +Requires: libqt5-qtwayland +Requires: xdg-desktop-portal +Requires: xdg-utils +Requires: qt5ct +Requires: adwaita-qt5 +Requires: wob +Requires: pamixer +Requires: command-not-found %description This meta package aggregates openSUSEway desktop enviroment packages. @@ -111,6 +122,11 @@ %install +## openSUSEway package +install -D -p -m 644 openSUSEway.sh %{buildroot}%{_sysconfdir}/profile.d/openSUSEway.sh +install -D -p -m 644 .config/sway/env %{buildroot}%{_prefix}/lib/environment.d/50-openSUSE.conf + +## openSUSEway pattern package mkdir -p %{buildroot}/%{_defaultdocdir}/patterns/ echo 'This file marks the pattern openSUSEway to be installed.' >%{buildroot}/%{_defaultdocdir}/patterns/openSUSEway.txt @@ -134,6 +150,8 @@ install -D -p -m 644 .config/waybar/style.css %{buildroot}%{_sysconfdir}/xdg/waybar/style.css %files +%config %{_sysconfdir}/profile.d/openSUSEway.sh +%config %{_prefix}/lib/environment.d/50-openSUSE.conf %files -n patterns-openSUSEway %dir %{_defaultdocdir}/patterns @@ -141,10 +159,10 @@ %files -n sway-branding-openSUSE %dir %{_sysconfdir}/sway -%config(noreplace) %{_sysconfdir}/sway/config -%config(noreplace) %{_sysconfdir}/sway/env +%config %{_sysconfdir}/sway/config +%config %{_sysconfdir}/sway/env %dir %{_sysconfdir}/sway/config.d -%config(noreplace) %{_sysconfdir}/sway/config.d/50-openSUSE.conf +%config %{_sysconfdir}/sway/config.d/50-openSUSE.conf %dir %{_sysconfdir}/alacritty %config(noreplace) %{_sysconfdir}/alacritty/alacritty.yml ++++++ openSUSEway-0.6.tar.gz -> openSUSEway-0.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSEway-0.6/.config/sway/config new/openSUSEway-0.8/.config/sway/config --- old/openSUSEway-0.6/.config/sway/config 2020-07-14 13:35:46.000000000 +0200 +++ new/openSUSEway-0.8/.config/sway/config 2020-07-31 10:55:49.000000000 +0200 @@ -19,7 +19,7 @@ # Note: pass the final command to swaymsg so that the resulting window can be opened # on the original workspace that the command was run on. #set $menu dmenu_path | dmenu | xargs swaymsg exec -- -# it is set in config.d/openSUSE +# it is set in config.d/50-openSUSE.conf ### Output configuration # @@ -38,8 +38,7 @@ # # exec swayidle -w \ # timeout 300 'swaylock -f -c 000000' \ -# timeout 600 'swaymsg "output * dpms off"' \ -# resume 'swaymsg "output * dpms on"' \ +# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ # before-sleep 'swaylock -f -c 000000' # # This will lock your screen after 300 seconds of inactivity, then turn off @@ -113,27 +112,27 @@ # Workspaces: # # Switch to workspace - bindsym $mod+1 workspace 1 - bindsym $mod+2 workspace 2 - bindsym $mod+3 workspace 3 - bindsym $mod+4 workspace 4 - bindsym $mod+5 workspace 5 - bindsym $mod+6 workspace 6 - bindsym $mod+7 workspace 7 - bindsym $mod+8 workspace 8 - bindsym $mod+9 workspace 9 - bindsym $mod+0 workspace 10 + bindsym $mod+1 workspace number 1 + bindsym $mod+2 workspace number 2 + bindsym $mod+3 workspace number 3 + bindsym $mod+4 workspace number 4 + bindsym $mod+5 workspace number 5 + bindsym $mod+6 workspace number 6 + bindsym $mod+7 workspace number 7 + bindsym $mod+8 workspace number 8 + bindsym $mod+9 workspace number 9 + bindsym $mod+0 workspace number 10 # Move focused container to workspace - bindsym $mod+Shift+1 move container to workspace 1 - bindsym $mod+Shift+2 move container to workspace 2 - bindsym $mod+Shift+3 move container to workspace 3 - bindsym $mod+Shift+4 move container to workspace 4 - bindsym $mod+Shift+5 move container to workspace 5 - bindsym $mod+Shift+6 move container to workspace 6 - bindsym $mod+Shift+7 move container to workspace 7 - bindsym $mod+Shift+8 move container to workspace 8 - bindsym $mod+Shift+9 move container to workspace 9 - bindsym $mod+Shift+0 move container to workspace 10 + bindsym $mod+Shift+1 move container to workspace number 1 + bindsym $mod+Shift+2 move container to workspace number 2 + bindsym $mod+Shift+3 move container to workspace number 3 + bindsym $mod+Shift+4 move container to workspace number 4 + bindsym $mod+Shift+5 move container to workspace number 5 + bindsym $mod+Shift+6 move container to workspace number 6 + bindsym $mod+Shift+7 move container to workspace number 7 + bindsym $mod+Shift+8 move container to workspace number 8 + bindsym $mod+Shift+9 move container to workspace number 9 + bindsym $mod+Shift+0 move container to workspace number 10 # Note: workspaces can have any name you want, not just numbers. # We just use 1-10 as the default. # @@ -198,4 +197,23 @@ } bindsym $mod+r mode "resize" +# +# Status Bar: +# +# Read `man 5 sway-bar` for more information about this section. +# it is set in config.d/50-openSUSE.conf +#bar { +# position top +# +# # When the status_command prints a new line to stdout, swaybar updates. +# # The default just shows the current date and time. +# status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done +# +# colors { +# statusline #ffffff +# background #323232 +# inactive_workspace #32323200 #32323200 #5c5c5c +# } +#} + include /etc/sway/config.d/*.conf diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSEway-0.6/.config/sway/config.d/50-openSUSE.conf new/openSUSEway-0.8/.config/sway/config.d/50-openSUSE.conf --- old/openSUSEway-0.6/.config/sway/config.d/50-openSUSE.conf 2020-07-14 13:35:46.000000000 +0200 +++ new/openSUSEway-0.8/.config/sway/config.d/50-openSUSE.conf 2020-07-31 10:55:49.000000000 +0200 @@ -22,12 +22,14 @@ } # Media keys -bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% -bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% -bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle -bindsym XF86MonBrightnessDown exec brightnessctl set 5%- -bindsym XF86MonBrightnessUp exec brightnessctl set +5% + +bindsym XF86MonBrightnessDown exec brightnessctl -q set 5%- && brightnessctl get > $SWAYSOCK.wob +bindsym XF86MonBrightnessUp exec brightnessctl -q set +5% && brightnessctl get > $SWAYSOCK.wob + +bindsym XF86AudioRaiseVolume exec pamixer -ui 2 && pamixer --get-volume > $SWAYSOCK.wob +bindsym XF86AudioLowerVolume exec pamixer -ud 2 && pamixer --get-volume > $SWAYSOCK.wob +bindsym XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $SWAYSOCK.wob ) # # Status Bar: @@ -43,4 +45,10 @@ client.unfocused #00a489 #173f4f #35b9ab client.focused_inactive #6da741 #00a489 #173f4f -exec "systemctl --user import-environment; systemctl --user start sway-session.target" +exec_always { + systemctl --user import-environment + gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark' + gsettings set org.gnome.desktop.interface icon-theme 'Adwaita-dark' + gsettings set org.gnome.desktop.interface cursor-theme 'Adwaita-dark' + mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSEway-0.6/.config/sway/env new/openSUSEway-0.8/.config/sway/env --- old/openSUSEway-0.6/.config/sway/env 2020-07-14 13:35:46.000000000 +0200 +++ new/openSUSEway-0.8/.config/sway/env 2020-07-31 10:55:49.000000000 +0200 @@ -1,3 +1,7 @@ +# recomended enviroment variables for sway based desktop +# openSUSEway installs/imports this to/from: +# /usr/lib/environment.d/50-openSUSE.conf +# /etc/profile.d/openSUSEway.sh MOZ_ENABLE_WAYLAND=1 QT_QPA_PLATFORM=wayland-egl CLUTTER_BACKEND=wayland @@ -6,3 +10,8 @@ SDL_VIDEODRIVER=wayland _JAVA_AWT_WM_NONREPARENTING=1 NO_AT_BRIDGE=1 + +# these vars enforce qt theme for openSUSEway +# needs qt5ct and adwaita-qt5 packages +QT_STYLE_OVERRIDE=adwaita-dark +QT_QPA_PLATFORMTHEME=qt5ct diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSEway-0.6/README.md new/openSUSEway-0.8/README.md --- old/openSUSEway-0.6/README.md 2020-07-14 13:35:46.000000000 +0200 +++ new/openSUSEway-0.8/README.md 2020-07-31 10:55:49.000000000 +0200 @@ -5,17 +5,13 @@ For this config please install these packages: ``` -sudo zypper in patterns-sway-sway fontawesome-fonts fontawesome-fonts-web pavucontrol brightnessctl pulseaudio pulseaudio-utils jq +sudo zypper in openSUSEway ``` -`wofi` is an other application launcher option, if that isn't in Factory or repos, it is in the development project [X11:Wayland wofi](https://build.opensuse.org/package/show/X11:Wayland/wofi): -``` -sudo zypper in wofi -``` +openSUSEway imports some recomended (optional) variables from `/etc/sway/env`, that is done by `/etc/profile.d/openSUSEway.sh` for text mode and by `/usr/lib/environment.d/50-openSUSE.conf` for systemd graphic environments. [Sway openSUSE wiki page](https://en.opensuse.org/Sway) for more details. - Another dotfiles examples: * https://github.com/jjquin/swayarch * https://github.com/jjquin/dotfiles diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSEway-0.6/openSUSEway.sh new/openSUSEway-0.8/openSUSEway.sh --- old/openSUSEway-0.6/openSUSEway.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/openSUSEway-0.8/openSUSEway.sh 2020-07-31 10:55:49.000000000 +0200 @@ -0,0 +1,5 @@ +# this file imports openSUSEway desktop enviroments +# should end up im /etc/profile.d/ +set -a +. /etc/sway/env +set +a
