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
9720303d
Commit
9720303d
authored
Nov 26, 2020
by
Réthelyi Bálint
Browse files
Options
Downloads
Patches
Plain Diff
very big copy of MikeTTh
parent
12968457
Branches
Branches containing commit
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
+17
-149
17 additions, 149 deletions
.config/sway/config
with
17 additions
and
149 deletions
.config/sway/config
+
17
−
149
View file @
9720303d
# Default config for sway
#
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
# Logo key. Use Mod1 for Alt.
set $mod Mod4
set $mod Mod4
# Your preferred terminal emulator
set $term konsole
# Your preferred application launcher
# 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 rofi -show drun
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg /home/blint/Pictures/bg/the-last-of-us-part-ii-duality-artwork-dark-desktop-image-block-01-ps4-06feb20-en-us.jpeg fill
#
# Example configuration:
#
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
#
output eDP-1 pos 0 0 scale 1.25
output HDMI-A-1 pos 1536 0
# You can get the names of your outputs by running: swaymsg -t get_outputs
### Idle configuration
#
# Example configuration:
#
# exec swayidle -w \
# timeout 300 'swaylock -f -c 000000' \
# 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
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
### Input configuration
#
# Example configuration:
#
# input "2:14:SynPS/2_Synaptics_TouchPad" {
# dwt enabled
# tap enabled
# natural_scroll enabled
# middle_emulation enabled
# }
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
### Key bindings
#
# Basics:
# Basics:
#
# Start a terminal
bindsym $mod+Return exec $term
# Kill focused window
# Kill focused window
bindsym $mod+Shift+q kill
bindsym $mod+Shift+q kill
# Start your launcher
bindsym $mod+d exec $menu
# Drag floating windows by holding down $mod and left mouse button.
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.
# Despite the name, also works for non-floating windows.
...
@@ -101,6 +37,7 @@ output HDMI-A-1 pos 1536 0
...
@@ -101,6 +37,7 @@ output HDMI-A-1 pos 1536 0
bindsym $mod+Control+Shift+Left move workspace to output left
bindsym $mod+Control+Shift+Left move workspace to output left
bindsym $mod+Control+Shift+Right move workspace to output right
bindsym $mod+Control+Shift+Right move workspace to output right
#
#
# Workspaces:
# Workspaces:
#
#
...
@@ -129,19 +66,14 @@ output HDMI-A-1 pos 1536 0
...
@@ -129,19 +66,14 @@ output HDMI-A-1 pos 1536 0
# Note: workspaces can have any name you want, not just numbers.
# Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default.
# We just use 1-10 as the default.
#
#spliting
# Layout stuff:
#
# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
bindsym $mod+h splith
bindsym $mod+h splith
bindsym $mod+v splitv
bindsym $mod+v splitv
# Switch the current container between different layout styles
# Switch the current container between different layout styles
bindsym $mod+s layout stacking
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+w layout tabbed
#
bindsym $mod+e layout toggle split
bindsym $mod+e layout toggle split
# Make the current focus fullscreen
# Make the current focus fullscreen
bindsym $mod+f fullscreen
bindsym $mod+f fullscreen
...
@@ -154,11 +86,6 @@ output HDMI-A-1 pos 1536 0
...
@@ -154,11 +86,6 @@ output HDMI-A-1 pos 1536 0
# Move focus to the parent container
# Move focus to the parent container
bindsym $mod+a focus parent
bindsym $mod+a focus parent
#
# Scratchpad:
#
# Sway has a "scratchpad", which is a bag of holding for windows.
# You can send windows there and get them back later.
# Move the currently focused window to the scratchpad
# Move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
bindsym $mod+Shift+minus move scratchpad
...
@@ -187,84 +114,25 @@ mode "resize" {
...
@@ -187,84 +114,25 @@ mode "resize" {
}
}
bindsym $mod+r mode "resize"
bindsym $mod+r mode "resize"
#
#
# Status Bar:
# Status Bar:
#
#
# Read `man 5 sway-bar` for more information about this section.
# Read `man 5 sway-bar` for more information about this section.
#
bar {
bar {
#
position top
position top
#
# When the status_command prints a new line to stdout, swaybar updates.
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
# The default just shows the current date and time.
# status_command i3status
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
# }
#}
exec bash -c "sleep 5; waybar"
include /etc/sway/config.d/*
input "2:7:SynPS/2_Synaptics_TouchPad" {
tap enabled
natural_scroll enabled
}
input *
{
colors
{
xkb_layout "gb,hu"
statusline #ffffff
xkb_variant ""
background #323232
xkb_options "grp:caps_toggle"
inactive_workspace #32323200 #32323200 #5c5c5c
}
}
status_command i3status
bindsym XF86Favorites exec firefox
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2%
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
set $lock "swaylock -i Pictures/bg/cheetah.png"
bindsym $mod+l exec $lock
exec mako
exec xembedsniproxy
exec nm-applet --indicator
exec wmname LG3D
bindsym --release Print exec grim -g \"$(slurp)" - | wl-copy
for_window [app_id="firefox" title="Firefox - Sharing Indicator"] {
kill
}
}
bindsym Mod1+Escape exec emoji.sh
bindsym $mod+e exec dolphin
workspace 2 output HDMI-A-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 [class="Spotify"] move workspace 8
assign [title="autostart — Konsole"] workspace 2
exec bash -c "sleep 10; nm-applet --indicator"
include /etc/sway/config.d/*
exec telegram-desktop
include ~/.config/sway/conf.d/*
exec flatpak run com.mattermost.Desktop
\ No newline at end of file
#exec spotify
#exec firefox
exec konsole -p tabtitle='autostart'
exec konsole -p tabtitle='autostart'
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