Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
S
sway-config-fedora
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
fedora
Special Interest Groups (SIGs)
Fedora Sway SIG
sway-config-fedora
Commits
b38cab6a
Verified
Commit
b38cab6a
authored
2 years ago
by
Aleksei Bavshin
Browse files
Options
Downloads
Patches
Plain Diff
sddm: don't check for virtualization if start-sway is sourced
parent
5ca76fd3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sddm/sddm-compositor-sway
+10
-8
10 additions, 8 deletions
sddm/sddm-compositor-sway
with
10 additions
and
8 deletions
sddm/sddm-compositor-sway
+
10
−
8
View file @
b38cab6a
...
...
@@ -3,16 +3,18 @@
# Add sddm config file to the arguments
set
--
--config
/etc/sway/sddm-greeter.config
"
$@
"
## Set some compatibility variables in case if sway-config-fedora is not present
if
systemd-detect-virt
--quiet
--vm
;
then
export
WLR_NO_HARDWARE_CURSORS
=
1
export
WLR_RENDERER
=
pixman
fi
# Try to use a wrapper script from sway-config-fedora
if
[
-x
/usr/bin/start-sway
]
;
then
# shellcheck source=../sway/start-sway
.
/usr/bin/start-sway
els
e
ex
ec
sway
"
$@
"
# unreachabl
e
ex
it
1
fi
# Set some compatibility variables in case if sway-config-fedora is not present
if
systemd-detect-virt
--quiet
--vm
;
then
export
WLR_NO_HARDWARE_CURSORS
=
1
export
WLR_RENDERER
=
pixman
fi
exec
/usr/bin/sway
"
$@
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment