# order += "ipv6"
order += "disk /"
order += "disk /data"
-order += "wireless _first_"
+# order += "wireless _first_"
order += "ethernet _first_"
order += "battery 0"
order += "volume master"
### Output configuration
#
# Default wallpaper (more resolutions are available in __DATADIR__/backgrounds/sway/)
-output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
#
# Example configuration:
#
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
-# output DP-1 res 2560x1440 pos 1366,0
-# # 672 = 1440 - 768
-# output LVDS-1 pos 0,760
-
-output DP-1 res 2560x1440 pos 0,0
-# 672 = 1440 - 768
-output LVDS-1 pos 2560,760
-
### Input configuration
input "65261:24672:technomancy_Atreus" {
repeat_delay 200
repeat_rate 45
+ # xkb_options altwin:swap_alt_win
}
### Idle configuration
client.unfocused $gray $gray #ffffff $gray $gray
client.focused_inactive $gray $gray #ffffff $gray $gray
-# font pango: benis uushi 9
-# font pango: Ubuntu Mono 11
-# font pango: Inconsolata 11
-font pango: DejaVu Sans Mono 9
-# font pango: Liberation Mono 9
+# font pango: DejaVu Sans Mono 9
+font pango: Source Code Pro 9.5
# get rid of title bars
default_border pixel 4
# systemd-inhibit --what=handle-power-key --who=aminb \
# --why="Handle power button in sway" sleep infinity
exec mako 2>&1 >/tmp/mako.log
-exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
+#exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
include /etc/sway/config.d/*
include ~/.config/sway/`hostname`
--- /dev/null
+output HDMI-A-1 res 2560x1440 pos 1920,0
+output eDP-1 pos 0,550
+
+focus output HDMI-A-1
+
+input "1739:31251:DLL07BE:01_06CB:7A13_Touchpad" {
+ dwt enabled
+ tap enabled
+ natural_scroll enabled
+ middle_emulation enabled
+ click_method clickfinger
+}
+
+input "1:1:AT_Translated_Set_2_keyboard" {
+ repeat_delay 200
+ repeat_rate 45
+ xkb_layout us,ir
+ xkb_options ctrl:nocaps,altwin:swap_alt_win,ctrl:rctrl_ralt,grp:shifts_toggle
+}
+++ /dev/null
-input "1739:31251:DLL07BE:01_06CB:7A13_Touchpad" {
- dwt enabled
- tap enabled
- natural_scroll enabled
- middle_emulation enabled
- click_method clickfinger
-}
-
-input "1:1:AT_Translated_Set_2_keyboard" {
- repeat_delay 200
- repeat_rate 45
- xkb_layout us,ir
- xkb_options ctrl:nocaps,altwin:swap_alt_win,ctrl:rctrl_ralt,grp:shifts_toggle
-}
fi
fi
-setxkbmap \
- -layout us,ir \
- -option ctrl:nocaps \
- -option grp:shifts_toggle
-
-xmodmap -e "keysym Menu = Super_R"
-
-xsetroot -cursor_name left_ptr
-xset r rate 200 45
-xset b off
-
-xrdb -merge "$HOME/.Xresources"
-
# footenote: when on a foreign distro and using Xfce, don't forget to
# disable its auto-start of gpg- and ssh-agent, by issuing
# xfconf-query -c xfce4-session -p /startup/ssh-agent/enabled -n -t bool -s false
--- /dev/null
+[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
+++ /dev/null
-[ -f "/usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd" ] && /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd &
-[ -x "$(command -v light-locker)" ] && light-locker --lock-on-suspend &
-[ -x "$(command -v pasystray)" ] && pasystray -a &
-[ -x "$(command -v nm-applet)" ] && nm-applet &
-[ -x "$(command -v compton)" ] && compton &
-[ -x "$(command -v emacs)" ] && exec emacs -ib 0