aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-06-28 14:36:31 +0100
committerYann Herklotz <git@yannherklotz.com>2023-06-28 14:37:15 +0100
commit9583d89f987b5b5912b16446659100e9bde52fe8 (patch)
treebbb85f65a3655092b34b7a225c91278f3a10628e
parent153b2d35522119f75e9be9c837d3cc917b839ec8 (diff)
downloaddotfiles-uni.tar.gz
dotfiles-uni.zip
Add uni sway optionsuni
-rw-r--r--sway/.config/sway/config67
1 files changed, 44 insertions, 23 deletions
diff --git a/sway/.config/sway/config b/sway/.config/sway/config
index 6377413..45e0dfb 100644
--- a/sway/.config/sway/config
+++ b/sway/.config/sway/config
@@ -9,27 +9,50 @@
# Logo key. Use Mod1 for Alt.
set $mod Mod4
# Home row direction keys, like vim
-set $left h
-set $down j
-set $up k
-set $right l
+#set $left h
+#set $down j
+#set $up k
+#set $right l
# Your preferred terminal emulator
set $term kitty
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
-set $menu dmenu_path | dmenu -fn "Iosevka YMHG SemiBold-10" | xargs swaymsg exec --
+set $menu j4-dmenu-desktop | xargs swaymsg exec --
font "Iosevka YMHG SemiBold" 10
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
-output * bg $HOME/Pictures/san-fran-bridge.jpg fill
+# output * bg $HOME/images/green.jpg fill
#
# Example configuration:
#
-# output HDMI-A-1 resolution 1920x1080 position 1920,0
+
+output DP-1 {
+ resolution 1920x1080
+ position 1920,0
+ background ~/Dropbox/backgrounds/starry-night-church.jpg fill
+}
+
+output DP-2 {
+ resolution 1920x1080
+ position 0,0
+ background ~/Dropbox/backgrounds/starry-night-closeup-sun.jpg fill
+}
+
+workspace 1 output DP-1
+workspace 2 output DP-1
+workspace 3 output DP-1
+workspace 4 output DP-1
+workspace 5 output DP-1
+workspace 6 output DP-2
+workspace 7 output DP-2
+workspace 8 output DP-2
+workspace 9 output DP-2
+workspace 10 output DP-2
+
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
@@ -61,9 +84,7 @@ exec swayidle -w \
# Read `man 5 sway-input` for more information about this section.
input type:keyboard {
- xkb_layout gb,gb
- xkb_variant colemak,
- xkb_options ctrl:swapcaps,grp:rctrl_toggle
+ xkb_layout us
repeat_rate 40
repeat_delay 220
}
@@ -102,10 +123,10 @@ input type:touchpad {
# Moving around:
#
# Move your focus around
- bindsym $mod+$left focus left
- bindsym $mod+$down focus down
- bindsym $mod+$up focus up
- bindsym $mod+$right focus right
+# bindsym $mod+$left focus left
+# bindsym $mod+$down focus down
+# bindsym $mod+$up focus up
+# bindsym $mod+$right focus right
# Or use $mod+[up|down|left|right]
bindsym $mod+Left focus left
bindsym $mod+Down focus down
@@ -113,10 +134,10 @@ input type:touchpad {
bindsym $mod+Right focus right
# Move the focused window with the same, but add Shift
- bindsym $mod+Shift+$left move left
- bindsym $mod+Shift+$down move down
- bindsym $mod+Shift+$up move up
- bindsym $mod+Shift+$right move right
+# bindsym $mod+Shift+$left move left
+# bindsym $mod+Shift+$down move down
+# bindsym $mod+Shift+$up move up
+# bindsym $mod+Shift+$right move right
# Ditto, with arrow keys
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
@@ -201,10 +222,10 @@ mode "resize" {
# right will grow the containers width
# up will shrink the containers height
# down will grow the containers height
- bindsym $left resize shrink width 10px
- bindsym $down resize grow height 10px
- bindsym $up resize shrink height 10px
- bindsym $right resize grow width 10px
+# bindsym $left resize shrink width 10px
+# bindsym $down resize grow height 10px
+# bindsym $up resize shrink height 10px
+# bindsym $right resize grow width 10px
# Ditto, with arrow keys
bindsym Left resize shrink width 10px
@@ -229,7 +250,7 @@ bar {
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
- status_command while $HOME/.local/bin/status-bar.sh; do sleep 5; done
+ status_command while date; do sleep 5; done
colors {
statusline #ffffff