aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/sway/config
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-03-22 03:51:42 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-03-22 03:51:42 +0300
commit805b435113e8c61e6b329ec7bf6fa4e2b2a61860 (patch)
tree66385efe2f62079be4309d90602d6abbcce290c1 /dotfiles/.config/sway/config
parentc95d0243bb66f20850ec99677d189238f5ee2acf (diff)
downloadswayrice-805b435113e8c61e6b329ec7bf6fa4e2b2a61860.tar.gz
swayrice-805b435113e8c61e6b329ec7bf6fa4e2b2a61860.zip
Some changes to improve things on the X200
* Switched to foot, since Alacritty doesn't support older GPUs and because foot consumes around 7-15MB of RAM per instance while Alacritty consumes around 30-60MB/instance. * Other minor changes and improvements.
Diffstat (limited to 'dotfiles/.config/sway/config')
-rw-r--r--dotfiles/.config/sway/config18
1 files changed, 9 insertions, 9 deletions
diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config
index 0b1ba66..c2824ab 100644
--- a/dotfiles/.config/sway/config
+++ b/dotfiles/.config/sway/config
@@ -5,8 +5,8 @@
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
set $mod Mod4
set $alt Mod1
-set $term alacritty
-set $browser "qutebrowser"
+set $term foot
+set $browser qutebrowser
# set default desktop layout (default is tiling)
# workspace_layout tabbed <stacking|tabbed>
@@ -112,7 +112,7 @@ bindswitch --reload --locked lid:on exec "swaysession suspend"
# Trackpoint (Thinkpad)
input 2:10:TPPS/2_IBM_TrackPoint {
accel_profile flat
- pointer_accel 0.7
+ pointer_accel 0.8
}
# Trackpoint (Thinkpad Compact Keyboard (External))
@@ -159,7 +159,7 @@ bindsym --to-code {
$mod+Shift+q kill
$mod+q kill
- # bemenu program launcher (-x force run through xwayland, -t run in terminal)
+ # bemenu program launcher (-x force run through xwayland, -T run in terminal)
$mod+d exec --no-startup-id menurun
$mod+Shift+d exec --no-startup-id "menurun -t"
$mod+Ctrl+d exec --no-startup-id "menurun -x"
@@ -180,9 +180,9 @@ bindsym --to-code {
$mod+t exec --no-startup-id toggletorrent
$mod+Ctrl+t exec --no-startup-id launch-transmission
$mod+s exec "xway steam"
- $mod+m exec $term -e ncmpcpp
- $mod+n exec $term -t "newsboat" -e newsboat && killall -42 waybar
- $mod+a exec $term -t "aerc" -e aerc
+ $mod+m exec $term ncmpcpp
+ $mod+n exec $term -T "newsboat" newsboat && killall -42 waybar
+ $mod+a exec $term -T "aerc" aerc
$mod+o exec --no-startup-id notistats
$mod+c exec --no-startup-id camtoggle
$mod+grave exec --no-startup-id menuemoji
@@ -195,7 +195,7 @@ bindsym --to-code {
# Network management
$mod+Shift+c exec togglevpn
- $mod+Shift+n exec $term -t "Network Manager" -e 'nmtui'
+ $mod+Shift+n exec $term -T "Network Manager" 'nmtui'
# Screenshot and recording
Print exec --no-startup-id menugrim -q
@@ -204,7 +204,7 @@ bindsym --to-code {
Ctrl+Print exec --no-startup-id swayrecord
# Sound
- $mod+Shift+m exec $term -t "ncpamixer" -e 'ncpamixer'
+ $mod+Shift+m exec $term -T "ncpamixer" 'ncpamixer'
$mod+Ctrl+m exec --no-startup-id menuoutput
# Applications that start with no gaps