- waybar rice
- small edit to wezterm
- fixed sway im emoji picker rule
- made screenshot to file. will change later
- added second monitor scale
- added sway next
- fixed dap
This commit is contained in:
2025-07-27 22:37:30 -05:00
parent 9276e2300a
commit 5887bb0d4d
4 changed files with 159 additions and 146 deletions

View File

@@ -25,6 +25,7 @@ set $menu rofi -show drun
### Output configuration
output "HDMI-A-1" scale 0.7
output "DP-1" scale 0.7
workspace 1 output HDMI-A-1
workspace 2 output HDMI-A-1
@@ -48,33 +49,6 @@ workspace 18 output DP-1
workspace 19 output DP-1
workspace 20 output DP-1
### Idle configuration
#
# Example configuration:
#
# exec swayidle -w \
# timeout 300 'swaylock -f -c 000000' \
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
# before-sleep 'swaylock -f -c 000000'
#
# 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
# resumed. It will also lock your screen before your computer goes to sleep.
### Input configuration
#
# Example configuration:
#
# input "2:14:SynPS/2_Synaptics_TouchPad" {
# dwt enabled
# tap enabled
# natural_scroll enabled
# middle_emulation enabled
# }
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
# or input <identifier>
input "type:keyboard" {
xkb_layout us,de
@@ -82,26 +56,17 @@ input "type:keyboard" {
xkb_options caps:swapescape
}
### Key bindings
#
# Basics:
#
# Start a terminal
bindsym $mod+Return exec $term
bindsym $mod+Shift+Return exec $term2
# Kill focused window
bindsym $mod+q kill
# Start your launcher
bindsym $mod+d exec $menu
bindsym $mod+SHIFT+D exec $HOME/.local/bin/system/rofi-search-web.sh
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.
floating_modifier $mod normal
#toggle border
@@ -114,6 +79,7 @@ input "type:keyboard" {
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
bindsym $mod+Escape exec grim -g "$(slurp -b 00000088 -c cba6f7; sleep 0.5)" - | wl-copy
bindsym $mod+Print exec grim -g "$(slurp -b 00000088 -c cba6f7; sleep 0.5)" - > ~/out.png
bindsym $mod+Shift+Escape exec grim -o HDMI-A-1 - | wl-copy
#
# Moving around:
@@ -132,6 +98,9 @@ input "type:keyboard" {
#
# Workspaces:
#
# cycle
bindsym $mod+n workspace next
bindsym $mod+b workspace prev
# Switch to workspace
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
@@ -208,23 +177,13 @@ bindsym $mod+o mode "mon2"
#
# Scratchpad:
#
# Sway has a "scratchpad", which is a bag of holding for windows.
# You can send windows there and get them back later.
# Move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show
#
# Resizing containers:
#
mode "resize" {
# left will shrink the containers width
# right will grow the containers width
# up will shrink the containers height
# down will grow the containers height
bindsym $left resize shrink width 20px
bindsym $down resize grow height 20px
bindsym $up resize shrink height 20px
@@ -266,7 +225,7 @@ for_window [class="vesktop"] \
floating enable, \
border none, \
move to workspace 11, \
resize set 1500 900, \
resize set 1800 1000, \
move position 0 0
# discord
@@ -299,5 +258,4 @@ for_window [app_id="showmethekey-gtk"] \
resize set 1487 50, \
# im-emoji-picker window
for_window [title="im-emoji-picker"] \
focus disable
no_focus [title="im-emoji-picker"]