aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/sway/config
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-02-03 00:01:16 +0300
committerYaroslav <contact@yaroslavps.com>2020-02-03 00:01:16 +0300
commite5532752993f463524e0c89d5e82b5a84a77759b (patch)
tree0ce47eba97ecd5256d6cd29c86a50ac756b30cc1 /dotfiles/.config/sway/config
parent2cb2af9d66ef98877ffee2f588c7a85036750d55 (diff)
downloadswayrice-e5532752993f463524e0c89d5e82b5a84a77759b.tar.gz
swayrice-e5532752993f463524e0c89d5e82b5a84a77759b.zip
load gtk settings on sway start, vpn shortcut and waybar indicator
Diffstat (limited to 'dotfiles/.config/sway/config')
-rw-r--r--dotfiles/.config/sway/config13
1 files changed, 11 insertions, 2 deletions
diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config
index 1cf4d43..94b0de9 100644
--- a/dotfiles/.config/sway/config
+++ b/dotfiles/.config/sway/config
@@ -24,6 +24,12 @@ font pango:BlexMono Nerd Font Mono 10
# Use Mouse+$mod to drag floating windows
floating_modifier $mod
+# GTK theme and icons
+set $gnome-schema org.gnome.desktop.interface
+exec_always {
+ gsettings set $gnome-schema gtk-theme 'oomox-materia-dark'
+ gsettings set $gnome-schema icon-theme 'Papirus-Dark'
+}
##### Startup scripts and programs #####
# Waybar
@@ -31,7 +37,6 @@ exec --no-startup-id waybar_launch
# KDE Connect
exec --no-startup-id kdeconnect-indicator
# music daemon
-# exec_always --no-startup-id ~/.scripts/mopidy_launch
exec --no-startup-id mpd
# Bluetooth adapter applet
exec_always --no-startup-id blueman-applet
@@ -113,7 +118,7 @@ input 2:10:TPPS/2_IBM_TrackPoint pointer_accel 1
# Outputs
output "*" background ~/.config/wall1.png fill
# Laptop display
-output "eDP-1" scale 1.53 pos 0 0
+output "eDP-1" scale 1.6 pos 0 0 scale_filter smart
# Keymaps
input * xkb_layout "us,es,ru"
@@ -186,6 +191,10 @@ bindsym --to-code {
$mod+grave exec --no-startup-id menuducksearch
$mod+Shift+grave exec --no-startup-id menuemoji
$mod+F1 exec --no-startup-id zathura ~/.config/i3/i3guide.pdf
+
+ # Network management
+ $mod+Shift+c exec togglevpn
+ # Network management
$mod+Shift+n exec $term -e 'nmtui'
# Screenshot and recording