From 2112dc6fb366293f345586d47d94d810039ccb0c Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Mon, 30 Sep 2024 15:54:10 +0100 Subject: [PATCH] Revert "Add more advanced ssh config" This reverts commit 39eaee90cf483fda2b5abe268f9be58b566cacb0. --- dot_config/sway/config | 97 ++++++++++-------------------------------- 1 file changed, 23 insertions(+), 74 deletions(-) diff --git a/dot_config/sway/config b/dot_config/sway/config index d681cd7..72ee19c 100644 --- a/dot_config/sway/config +++ b/dot_config/sway/config @@ -96,21 +96,13 @@ timeout 300 "swaylock -e -f -i ~/Pictures/Backgrounds/DSC02113.jpg" \ # 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. # This keyboard has this layout on all machines: - -input 5426:133:Razer_Razer_Basilisk_V2 { - accel_profile flat - pointer_accel -0.5 -} - - -input type:touchpad { - dwt enabled +input 1267:12356:ELAN1200:00_04F3:3044_Touchpad { tap enabled - tap_button_map lmr + dwt enabled natural_scroll enabled + tap_button_map lrm } - input 1241:36:HOLDCHIP_USB_Keyboard { xkb_layout us xkb_variant colemak @@ -125,7 +117,6 @@ input 16700:8455:DELL_Dell_USB_Entry_Keyboard { input 65261:4871:TMK/Cub_Ergodox { xkb_layout gb - xkb_options compose:prsc } input 9494:21:CM_Storm_Quickfire_Pro_Ultimate_6_key { @@ -324,13 +315,13 @@ bindsym $mod+Alt+l exec 'swaylock -e -f -i ~/Pictures/Backgrounds/DSC02113.jpg' include /etc/sway/config.d/* -# host specific section +# host specific section# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) bar { - id bar_right - status_command ~/.local/bin/conky-i3bar ~/.conkyrc-net + id bar_left + status_command conky-i3bar position top - output "Acer Technologies VG270U P 0x05217924" - font pango:Liberation Mono 11 + font pango:Liberation Mono 12 colors { background $black_super focused_background $black @@ -338,72 +329,30 @@ bar { active_workspace $black_super $blue_super $black inactive_workspace $black_super $black_super $white_super urgent_workspace $black $red_super $white - separator $white } } -bar { - id bar_right_alt - status_command ~/.local/bin/conky-i3bar ~/.conkyrc-net - position top - output HDMI-A-1 - font pango:Liberation Mono 11 - colors { - background $black_super - focused_background $black - focused_workspace $black_super $yellow_super $black - active_workspace $black_super $blue_super $black - inactive_workspace $black_super $black_super $white_super - urgent_workspace $black $red_super $white - separator $white - } -} - -bar { - id bar_internal - status_command ~/.local/bin/conky-i3bar ~/.conkyrc-main - position top - output "eDP-1" - font pango:Liberation Mono 10 - colors { - background $black_super - focused_background $black - focused_workspace $black_super $yellow_super $black - active_workspace $black_super $blue_super $black - inactive_workspace $black_super $black_super $white_super - urgent_workspace $black $red_super $white - separator $white - } -} +font pango:Liberation Mono 10 output eDP-1 { - background ~/Pictures/Backgrounds/DSC02113.jpg fill - position 231 1080 - scale 2 + scale 2 + position 0 0 + background ~/Pictures/background_1800.png center } -output "Acer Technologies VG270U P 0x05217924" { - background ~/Pictures/Backgrounds/DSC02111.jpg fill - position 1670 810 - scale 1 +output HDMI-A-2 { + scale 1 + position 3200 0 + background ~/Pictures/background_1440.png fill } -output "LG Electronics LG FULL HD Unknown" { - background ~/Pictures/Backgrounds/DSC02111.jpg fill - position 0 0 - scale 1 -} +# Disable tap-to-click on touchpad to prevent jerkyness +input type:touch tap disable -workspace 1 output eDP-1 -workspace 3 output eDP-1 -workspace 2 output "Acer Technologies VG270U P 0x05217924" -workspace 4 output "Acer Technologies VG270U P 0x05217924" +for_window [app_id="zoom" title="^zoom$"] border none, floating enable +for_window [app_id="zoom" title="^(Zoom|About)$"] border pixel, floating enable +for_window [app_id="zoom" title="Settings"] floating enable, floating_minimum_size 960 x 700 +for_window [app_id="zoom" title="Zoom Meeting(.*)?"] floating disable, inhibit_idle open -exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway -exec mako& -exec zoom& +for_window [app_id="waydroid.com*"] floating enable, border pixel -for_window [class="zoom"] floating enable -for_window [class="zoom" title="Zoom Workplace - Licensed account"] floating disable - -for_window [app_id="firefox" title="Extension:*"] floating enable