aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/sway
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-09-10 13:52:44 +0300
committerYaroslav <contact@yaroslavps.com>2020-09-10 13:52:44 +0300
commit647bd4dc91bb627eb3298eb5ccb3fe5a164103eb (patch)
treeb7804f4e467974b3dca219ee59715bc9fb3af70f /dotfiles/.config/sway
parent8f413b0058756e852d3012b9ca02b073fe867cff (diff)
parente5a7e88b25b88f9aa55bbce105467c81472a6aba (diff)
downloadswayrice-647bd4dc91bb627eb3298eb5ccb3fe5a164103eb.tar.gz
swayrice-647bd4dc91bb627eb3298eb5ccb3fe5a164103eb.zip
Merge branch 'master' of github.com:Yaroslav-95/swayrice into master
Diffstat (limited to 'dotfiles/.config/sway')
-rw-r--r--dotfiles/.config/sway/config7
1 files changed, 7 insertions, 0 deletions
diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config
index ba88469..1019d0a 100644
--- a/dotfiles/.config/sway/config
+++ b/dotfiles/.config/sway/config
@@ -4,6 +4,7 @@
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
set $mod Mod4
+set $alt Mod1
set $term termite
set $browser "qutebrowser"
@@ -326,13 +327,19 @@ bindsym --to-code {
# Shut down, restart and locking features
$mod+Shift+e exec menusession
+ # Resize
$mod+Shift+y exec --no-startup-id swayresize left
$mod+Shift+u exec --no-startup-id swayresize down
$mod+Shift+i exec --no-startup-id swayresize up
$mod+Shift+o exec --no-startup-id swayresize right
+ $mod+Ctrl+y exec --no-startup-id swayresize left 10
+ $mod+Ctrl+u exec --no-startup-id swayresize down 10
+ $mod+Ctrl+i exec --no-startup-id swayresize up 10
+ $mod+Ctrl+o exec --no-startup-id swayresize right 10
# Lock screen
$mod+x exec --no-startup-id lock-color
+ $mod+Shift+x exec --no-startup-id lock-color screenon
# Gaps
$mod+semicolon gaps inner current set 15; gaps outer current set 0