From 6c9130e407ab4a7d67588ba2cc47c39d0839cfe2 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Fri, 8 May 2020 19:37:41 +0200 Subject: . --- sway/config | 57 +++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 20 deletions(-) (limited to 'sway/config') 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 - -- cgit v1.2.3-70-g09d2