summaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorottjk <joshott16@gmail.com>2024-01-20 01:29:51 -0500
committerottjk <joshott16@gmail.com>2024-01-20 01:29:51 -0500
commitea9a749bd6238334ff9e92a0a31fdeaf5223619b (patch)
tree6036539f3e49427483fb2dc388da377d5e5c7397 /sway
parent9b78e39e9cca329acc160399e46bb8d1c9b33955 (diff)
downloaddotfiles-ea9a749bd6238334ff9e92a0a31fdeaf5223619b.tar.gz
dotfiles-ea9a749bd6238334ff9e92a0a31fdeaf5223619b.zip
many such updates
Diffstat (limited to 'sway')
-rw-r--r--sway/config20
1 files changed, 15 insertions, 5 deletions
diff --git a/sway/config b/sway/config
index 28abbb0..8c8b439 100644
--- a/sway/config
+++ b/sway/config
@@ -18,10 +18,10 @@ set $right o
set $term wezterm
-set $menu tofi-drun | xargs swaymsg exec --
+set $menu rofi -show drun | xargs swaymsg exec --
### Output configuration
-# exec way-displays > /tmp/way-displays.${XDG_VTNR}.${USER}.log 2>&1
+exec way-displays > /tmp/way-displays.${XDG_VTNR}.${USER}.log 2>&1
exec swaybg --image ~/Pictures/backgrounds/arch-rainbow-1920x1080.png --mode center --color=#302d41
@@ -42,6 +42,14 @@ input type:touchpad {
middle_emulation enabled
}
+input type:touch {
+ map_to_output eDP-1
+}
+
+input type:tablet_tool {
+ map_to_output eDP-1
+}
+
### Key bindings
#
# Basics:
@@ -164,12 +172,13 @@ bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
-bindsym XF86MonBrightnessUp exec brightnessctl set +10%
-bindsym XF86MonBrightnessDown exec brightnessctl set 10%-
+bindsym XF86MonBrightnessUp exec brightnessctl set +5%
+bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym $mod+b exec firefox
bindsym $mod+x exec xournalpp
-bindsym $mod+c exec "wezterm start --cwd ~/nextcloud/notebook/tex xch nvim"
+# bindsym $mod+c exec "wezterm start --cwd ~/nextcloud/notebook/tex xch nvim"
+bindsym $mod+c exec "lectern open"
bindsym $mod+d exec "wezterm start --cwd ~/nextcloud/notebook/md xch nvim"
bindsym $mod+Shift+c exec "wezterm start --class 'numbat' numbat"
bindsym $mod+Shift+g exec "feh -Z -F -B black /home/josh/Pictures/game.png"
@@ -189,6 +198,7 @@ title_align center
default_border pixel
for_window [app_id="numbat"] floating enable
+for_window [app_id="xoppdoggin"] floating enable; resize set 1800 1000
for_window [class="Inkscape"] floating enable; resize set 1800 1000
for_window [class="vimscape"] floating enable; resize set 600 300; move down 300; move left 550