New sway setup

This commit is contained in:
opalvault
2022-01-08 11:56:00 -08:00
parent 04e007b8f5
commit 430c9d25a3
8 changed files with 71 additions and 97 deletions

View File

@@ -9,7 +9,21 @@ set $right l
set $term alacritty
# Application Launcher
set $menu wofi --hide-scroll --show drun | xargs swaymsg exec
set $menu killall wofi || wofi
# Start wofi
bindsym $mod+d exec $menu
# Screenshot (Grimshot)
# Super+P: Current window
# Super+Shift+p: Select area
# Super+Alt+p Current output
# Super+Ctrl+p Select a window
bindsym $mod+g exec grimshot save active
bindsym $mod+Shift+g exec grimshot save area
bindsym $mod+Mod1+g exec grimshot save output
bindsym $mod+Ctrl+g exec grimshot save window
set $opacity 0.95
for_window [class=".*"] opacity $opacity
@@ -35,17 +49,6 @@ exec_always --no-startup-id dunst
# Wlsunset (Night Light)
exec_always wlsunset -lsd 47.6, -122.3 -t 3200 -T 6500
# Monitors
# You can get the names of your outputs by running: swaymsg -t get_outputs
# output eDP-1 pos 0 0 res 1920x1200
# output DP-5 pos 3440 0 res 3440x1440
output eDP-1 pos 0 0 res 1920x1200
output HDMI-A-1 pos 1920 0 res 3440x1440
# Wallpaper
output HDMI-A-1 bg /home/opal/dotfiles/.config/wallpapers/2.jpg fit #050402
output eDP-1 bg /home/opal/dotfiles/.config/wallpapers/2.jpg fit #050402
### Idle configuration
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
@@ -82,6 +85,17 @@ input type:keyboard {
repeat_rate 45
}
# Monitors
# You can get the names of your outputs by running: swaymsg -t get_outputs
# output eDP-1 pos 0 0 res 1920x1200
# output DP-5 pos 3440 0 res 3440x1440
output eDP-1 pos 0 0 res 1920x1200
output HDMI-A-1 pos 1920 0 res 3440x1440
# Wallpaper
output HDMI-A-1 bg /home/opal/dotfiles/.config/wallpapers/redfog.jpg fill #050402
output eDP-1 bg /home/opal/dotfiles/.config/wallpapers/redfog.jpg fill #050402
# Start a terminal
bindsym $mod+Return exec $term
@@ -91,8 +105,6 @@ bindsym $mod+Shift+q kill
# Lock SwayWM
bindsym Control+Shift+l exec swaylock
# Start your launcher
bindsym $mod+d exec $menu
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.