summary refs log tree commit diff
path: root/.config/sway/config
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-01-26 17:16:07 +0100
committerRobert Günzler <r@gnzler.io>2020-01-26 18:00:59 +0100
commitf5d56602df70950de6b7d40966b00c9939c81763 (patch)
treeb50ffeb5496fe3525cc1bab2629389ced95435b7 /.config/sway/config
Intial commit of v2
See https://drewdevault.com/2019/12/30/dotfiles.html
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config71
1 files changed, 71 insertions, 0 deletions
diff --git a/.config/sway/config b/.config/sway/config
new file mode 100644
index 0000000..97424b1
--- /dev/null
+++ b/.config/sway/config
@@ -0,0 +1,71 @@
+# vim: ft=i3 fdm=marker
+
+set $mod Mod4
+set $alt Mod1
+
+set $left h
+set $down j
+set $up k
+set $right l
+
+set $term alacritty
+set $floating_term $term --config-file $HOME/.config/alacritty/launcher.yml --class '__floating-Alacritty'
+set $menu wofi -k /dev/null --terminal $term --show drun
+set $run_menu menu -run
+
+# workspaces {{{
+set $ws1 1
+set $ws2 2
+set $ws3 3
+set $ws4 4
+set $ws5 5
+set $ws6 6
+set $ws7 7
+set $ws8 8
+set $ws9 9
+set $wsMusic m
+set $wsVideo v
+set $wsGame g
+# }}}
+
+# gaps inner 5
+show_marks yes
+
+# default keyboard
+input * {
+    xkb_layout us
+    xkb_variant mac
+    xkb_options 'caps:hyper,lvl3:ralt_switch_multikey'
+    repeat_rate 70
+}
+
+# default pointer
+input * {
+    accel_profile adaptive
+}
+
+# TODO
+include input.conf
+include binds.conf
+include auto.conf
+
+# style {{{
+set $text #FCFAF2
+set $text2 #BDC0BA
+set $bg #1C1C1C
+set $bg2 #434343
+set $main  #0B346F
+set $main2 #005CAF
+set $urgent #DB4D6D
+set $urgent2 #CB1B45
+set $indicator #FAD689
+set $indicator2 #C18A26
+
+client.focused $main2 $main $text $indicator $main
+client.focused_inactive $bg2 $bg $text2 $indicator2 $bg
+client.unfocused $bg2 $bg $text2 $indicator2 $bg
+client.urgent $urgent2 $urgent $text $indicator $urgent
+# }}}
+
+include config.d/*
+include "`uname -n`"