From c38f8b56331638742788c898576b7203a00213f7 Mon Sep 17 00:00:00 2001 From: simonkellet Date: Sun, 12 Dec 2021 12:42:51 +0000 Subject: [PATCH] added binds for swapping 1 to 2 monitors --- alacritty/alacritty.yml | 1 - i3/config | 14 +++++++++++--- qutebrowser/autoconfig.yml | 4 ++-- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml index bfa4158..a25a74c 100644 --- a/alacritty/alacritty.yml +++ b/alacritty/alacritty.yml @@ -128,4 +128,3 @@ Key_bindings: - { key: C, mods: Control|Alt, action: Copy } - { key: Return, mods: Control, action: SpawnNewInstance } - { key: T, mods: Control, action: SpawnNewInstance } - diff --git a/i3/config b/i3/config index 25e60f6..a07642b 100644 --- a/i3/config +++ b/i3/config @@ -69,13 +69,13 @@ exec --no-startup-id setxkbmap -option # NetworkManager is the most popular way to manage wireless networks on Linux, # and nm-applet is a desktop environment-independent system tray GUI for it. exec --no-startup-id nm-applet -exec --no-startup-id redshift +# exec --no-startup-id redshift #exec --no-startup-id teams #exec --no-startup-id i3-msg 'workspace 10; exec teams' #exec --no-startup-id i3-msg 'workspace 9; exec discord' #exec --no-startup-id discord -#exec --no-startup-id nitrogen --restore -exec --no-startup-id nitrogen --set-zoom-fill --save /home/simon/Pictures/wallpapers/vidar-nordli-mathisen-Sk32_wG8lcQ-unsplash.jpg +exec --no-startup-id nitrogen --restore +#exec --no-startup-id nitrogen --set-zoom-fill --save /home/simon/Pictures/wallpapers/vidar-nordli-mathisen-Sk32_wG8lcQ-unsplash.jpg #exec --no-startup-id wpg -mi && wpg --brt $(wpg -c) 10.6 && wpg -s $(wpg -c) exec --no-startup-id guake exec --no-startup-id picom -c @@ -96,6 +96,13 @@ bindsym $mod+KP_Multiply exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status +# Use xev to find the keys on the keypad + +# Binds for swapping between single laptop screen to 2 with an ultrawide +bindsym $mod+KP_End exec --no-startup-id bash ~/.scripts/laptop +bindsym $mod+KP_Down exec --no-startup-id bash ~/.scripts/ultrawide + + # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod @@ -358,6 +365,7 @@ bar { modifier none status_command i3status tray_output primary + tray_output eDP-1 i3bar_command i3bar position bottom separator_symbol "|" diff --git a/qutebrowser/autoconfig.yml b/qutebrowser/autoconfig.yml index 6e83a9f..e40a6ad 100644 --- a/qutebrowser/autoconfig.yml +++ b/qutebrowser/autoconfig.yml @@ -22,10 +22,10 @@ settings: scrolling.smooth: global: true statusbar.show: - global: never + global: always tabs.position: global: left tabs.show: - global: never + global: always tabs.width: global: 2%