summaryrefslogtreecommitdiff
path: root/.config/sway
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway')
-rw-r--r--[-rwxr-xr-x].config/sway/config3
-rw-r--r--.config/sway/config.d/idle5
-rw-r--r--.config/sway/config.d/input2
-rw-r--r--.config/sway/config.d/workspaces1
-rw-r--r--.config/sway/outputs20
-rwxr-xr-x.config/sway/scripts.d/auto.sh10
-rw-r--r--.config/sway/workspaces0
7 files changed, 30 insertions, 11 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 79b2c6c..d8526ad 100755..100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -34,5 +34,8 @@ include /etc/sway/config.d/*
# Local configs
include $HOME/.config/sway/config.d/*
+# Nwg
+include $HOME/.config/sway/outputs
+
# Autostart apps
exec $HOME/.config/sway/scripts.d/auto.sh
diff --git a/.config/sway/config.d/idle b/.config/sway/config.d/idle
deleted file mode 100644
index 2b239fe..0000000
--- a/.config/sway/config.d/idle
+++ /dev/null
@@ -1,5 +0,0 @@
-# Turn off display after tiemout
-exec swayidle -w \
- timeout 300 'swaylock' \
- timeout 300 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
- before-sleep 'swaylock'
diff --git a/.config/sway/config.d/input b/.config/sway/config.d/input
index 8ee6ba7..9cb7156 100644
--- a/.config/sway/config.d/input
+++ b/.config/sway/config.d/input
@@ -17,4 +17,4 @@ input type:touchpad {
}
# Screen settings
-output eDP-1 resolution 3072x1920 scale $scale
+# output eDP-1 resolution 3072x1920 scale $scale
diff --git a/.config/sway/config.d/workspaces b/.config/sway/config.d/workspaces
index 2d5b378..5fac86b 100644
--- a/.config/sway/config.d/workspaces
+++ b/.config/sway/config.d/workspaces
@@ -36,6 +36,7 @@ bindsym $mod+Shift+9 move container to workspace number 9
# Layout stuff:
# Set the new window positioning mode
+bindsym $mod+Shift+d layout default
bindsym $mod+Shift+b layout splith
bindsym $mod+Shift+v layout splitv
bindsym $mod+Shift+c layout tabbed
diff --git a/.config/sway/outputs b/.config/sway/outputs
new file mode 100644
index 0000000..08b8c77
--- /dev/null
+++ b/.config/sway/outputs
@@ -0,0 +1,20 @@
+# Generated by nwg-displays on 2024-06-15 at 16:21:56. Do not edit manually.
+
+output "eDP-1" {
+ mode 2560x1600@90.003Hz
+ pos 2560 160
+ transform normal
+ scale 1.25
+ scale_filter linear
+ adaptive_sync off
+ dpms on
+}
+output "DP-2" {
+ mode 2560x1440@59.951Hz
+ pos 0 0
+ transform normal
+ scale 1.0
+ scale_filter linear
+ adaptive_sync off
+ dpms on
+}
diff --git a/.config/sway/scripts.d/auto.sh b/.config/sway/scripts.d/auto.sh
index b3456d0..07a61fd 100755
--- a/.config/sway/scripts.d/auto.sh
+++ b/.config/sway/scripts.d/auto.sh
@@ -1,14 +1,14 @@
#!/usr/bin/env bash
nm-applet --indicator &
-autotiling &
+autotiling-rs &
/usr/bin/gnome-keyring-daemon --foreground &
wl-clip-persist --clipboard both &
-gtk-launch discord &
-gtk-launch fluffychat &
-gtk-launch org.gajim.Gajim &
-gtk-launch org.mozilla.Thunderbird &
+#gtk-launch discord &
+#gtk-launch io.element.Element &
+#gtk-launch org.gajim.Gajim &
+#gtk-launch org.mozilla.Thunderbird &
hypridle &
diff --git a/.config/sway/workspaces b/.config/sway/workspaces
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.config/sway/workspaces