aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/.Xresources3
-rw-r--r--sway/config57
2 files changed, 40 insertions, 20 deletions
diff --git a/sway/.Xresources b/sway/.Xresources
new file mode 100644
index 0000000..1d5c21f
--- /dev/null
+++ b/sway/.Xresources
@@ -0,0 +1,3 @@
+Xcursor.theme: Neutral
+Xcursor.size: 32
+Xft.dpi: 120
diff --git a/sway/config b/sway/config
index c8d8dd7..2579d56 100644
--- a/sway/config
+++ b/sway/config
@@ -1,12 +1,13 @@
+
set $mod Mod4
-set $ws1 "1"
-set $ws2 "2"
-set $ws3 "3"
-set $ws4 "4"
-set $wsa "a"
-set $wss "s"
-set $wsd "d"
-set $wsf "f"
+set $ws1 "1:1"
+set $ws2 "2:2"
+set $ws3 "3:3"
+set $ws4 "4:4"
+set $wsa "5:a"
+set $wss "6:s"
+set $wsd "7:d"
+set $wsf "8:f"
floating_modifier $mod
font pango:Droid Sans 11
@@ -16,10 +17,10 @@ workspace $ws1 output eDP-1
workspace $ws2 output eDP-1
workspace $ws3 output eDP-1
workspace $ws4 output eDP-1
-workspace $wsa output DP-4
-workspace $wss output DP-4
-workspace $wsd output DP-4
-workspace $wsf output DP-4
+workspace $wsa output DP-4 DP-5
+workspace $wss output DP-4 DP-5
+workspace $wsd output DP-4 DP-5
+workspace $wsf output DP-4 DP-5
output eDP-1 {
position 0 0
@@ -31,22 +32,29 @@ output DP-4 {
background ~/.dotfiles/pictures/bg2.jpg fill
}
+output DP-5 {
+ position 1920 0
+ background ~/.dotfiles/pictures/bg2.jpg fill
+}
+
bindsym $mod+Return exec alacritty
-bindsym $mod+Shift+q kill
-bindsym $mod+space exec --no-startup-id wofi --show run
+bindsym $mod+space exec --no-startup-id wofi --show drun --allow-images
bindsym $mod+backslash split h
bindsym $mod+minus split v
-bindsym $mod+Shift+Return fullscreen toggle
#bindsym $mod+s layout stacking
#bindsym $mod+w layout tabbed
-#bindsym $mod+e layout toggle split
-bindsym $mod+Shift+space floating toggle
-#bindsym $mod+space focus mode_toggle
+bindsym $mod+Tab layout toggle split
bindsym $mod+p focus parent
+#bindsym $mod+d focus child
bindsym $mod+r mode "resize"
+
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exit
+bindsym $mod+Shift+q kill
+bindsym $mod+Shift+space floating toggle
+bindsym $mod+Shift+Return fullscreen toggle
+
bindsym $mod+h focus left
bindsym $mod+j focus down
@@ -68,6 +76,7 @@ bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
+
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
@@ -86,6 +95,7 @@ bindsym $mod+Shift+s move container to workspace $wss
bindsym $mod+Shift+d move container to workspace $wsd
bindsym $mod+Shift+f move container to workspace $wsf
+
mode "resize" {
bindsym h resize shrink width 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
@@ -102,13 +112,20 @@ mode "resize" {
bindsym $mod+r mode "default"
}
+
bar {
- swaybar_command waybar
+ status_command py3status
+ tray_output primary
+ strip_workspace_numbers yes
+ font pango:Font Awesome 5 Free, Font Awesome 5 Brands, Droid Sans Mono 12
}
+
+exec xrdb -load ~/.config/sway/.Xresources
+
+
exec --no-startup-id alacritty --class scratchpad_term -e tmux new-session -A -s default
for_window [app_id="scratchpad_term"] move scratchpad
bindsym F12 [app_id="scratchpad_term"] scratchpad show, \
resize set 100 ppt 100 ppt, \
move position center
-