Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
home
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Réthelyi Bálint
home
Commits
9323d3a7
Commit
9323d3a7
authored
4 years ago
by
Réthelyi Bálint
Browse files
Options
Downloads
Patches
Plain Diff
set swayidle
parent
124d94d7
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.config/sway/config
+20
-10
20 additions, 10 deletions
.config/sway/config
with
20 additions
and
10 deletions
.config/sway/config
+
20
−
10
View file @
9323d3a7
# Default config for sway
#
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
...
...
@@ -18,7 +19,7 @@ set $menu rofi -show drun
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg /
usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.pn
g fill
output * bg /
home/blint/Pictures/bg/the-last-of-us-part-ii-duality-artwork-dark-desktop-image-block-01-ps4-06feb20-en-us.jpe
g fill
#
# Example configuration:
#
...
...
@@ -134,13 +135,13 @@ output HDMI-A-1 pos 1536 0
# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
bindsym $mod+
b
splith
bindsym $mod+
h
splith
bindsym $mod+v splitv
# Switch the current container between different layout styles
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
#
bindsym $mod+e layout toggle split
# Make the current focus fullscreen
bindsym $mod+f fullscreen
...
...
@@ -227,7 +228,8 @@ bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86MonBrightnessUp exec brightnessctl set +5% -d intel_backlight && brightnessctl set +5% -d ddcci3
bindsym XF86MonBrightnessDown exec brightnessctl set 5%- -d intel_backlight && brightnessctl set 5%- -d ddcci3
bindsym $mod+l exec swaylock -i Pictures/bg/cheetah.png
set $lock "swaylock -i Pictures/bg/cheetah.png"
bindsym $mod+l exec $lock
exec mako
exec xembedsniproxy
...
...
@@ -239,22 +241,30 @@ for_window [app_id="firefox" title="Firefox - Sharing Indicator"] {
kill
}
bindsym Mod1+Escape exec emoji.sh
bindsym $mod+e exec dolphin
workspace 1 output HDMI-A-1
workspace 2 output HDMI-A-1
workspace
8
output
eDP
-1
workspace
1
output
HDMI-A
-1
workspace 9 output eDP-1
workspace 8 output eDP-1
assign [app_id="telegramdesktop"] workspace 9
assign [class="Mattermost"] workspace 9
for_window [title="Messenger - Mozilla Firefox"] move workspace 9
#
for_window [title="Messenger - Mozilla Firefox"] move workspace 9
for_window [class="Spotify"] move workspace 8
#assign [class="Spotify"] workspace 8
assign [title="autostart — Konsole"] workspace 2
exec nm-applet --indicator
exec telegram-desktop
exec flatpak run com.mattermost.Desktop
exec spotify
#exec spotify
#exec firefox
exec konsole -p tabtitle='autostart'
exec konsole -p tabtitle='autostart'
exec nm-applet --indicator
exec swayidle -w \
timeout 300 $lock \
timeout 600 'swaymsg "output * dpms off"' \
timeout 1200 'systemctl suspend' \
resume 'swaymsg "output * dpms on"' \
before-sleep $lock
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