From dccd2d70782d3b13b878cac34bf750afb368cabb Mon Sep 17 00:00:00 2001 From: Tasia Iso Date: Tue, 28 Jan 2025 19:11:51 +0100 Subject: [PATCH] sway keybinds + what --- dotfiles/sway-cave/foot-config.ini | 2 +- dotfiles/sway-cave/sway-config | 47 +++++++++++++------------- dotfiles/sway-cave/waybar-config.jsonc | 1 + home/tasia/home.nix | 2 +- 4 files changed, 27 insertions(+), 25 deletions(-) diff --git a/dotfiles/sway-cave/foot-config.ini b/dotfiles/sway-cave/foot-config.ini index 7b327a1..80e73cc 100644 --- a/dotfiles/sway-cave/foot-config.ini +++ b/dotfiles/sway-cave/foot-config.ini @@ -41,7 +41,7 @@ font=JetBrainsMono Nerd Font:size=12 [environment] # name=value -[security] +# [security] # osc52=enabled # disabled|copy-enabled|paste-enabled|enabled [bell] diff --git a/dotfiles/sway-cave/sway-config b/dotfiles/sway-cave/sway-config index 22918fa..b10ac82 100644 --- a/dotfiles/sway-cave/sway-config +++ b/dotfiles/sway-cave/sway-config @@ -98,28 +98,29 @@ input "1:1:AT_Translated_Set_2_keyboard" xkb_layout "fr" # # Workspaces: # +# Beware: azerty fuckery ahead # Switch to workspace - bindsym $mod+1 workspace number 1 - bindsym $mod+2 workspace number 2 - bindsym $mod+3 workspace number 3 - bindsym $mod+4 workspace number 4 - bindsym $mod+5 workspace number 5 - bindsym $mod+6 workspace number 6 - bindsym $mod+7 workspace number 7 - bindsym $mod+8 workspace number 8 - bindsym $mod+9 workspace number 9 - bindsym $mod+0 workspace number 10 - # Move focused container to workspace - bindsym $mod+Shift+1 move container to workspace number 1 - bindsym $mod+Shift+2 move container to workspace number 2 - bindsym $mod+Shift+3 move container to workspace number 3 - bindsym $mod+Shift+4 move container to workspace number 4 - bindsym $mod+Shift+5 move container to workspace number 5 - bindsym $mod+Shift+6 move container to workspace number 6 - bindsym $mod+Shift+7 move container to workspace number 7 - bindsym $mod+Shift+8 move container to workspace number 8 - bindsym $mod+Shift+9 move container to workspace number 9 - bindsym $mod+Shift+0 move container to workspace number 10 + bindsym $mod+ampersand workspace number 1 + bindsym $mod+eacute workspace number 2 + bindsym $mod+quotedbl workspace number 3 + bindsym $mod+apostrophe workspace number 4 + bindsym $mod+parenleft workspace number 5 + bindsym $mod+minus workspace number 6 + bindsym $mod+egrave workspace number 7 + bindsym $mod+underscore workspace number 8 + bindsym $mod+ccedilla workspace number 9 + bindsym $mod+agrave workspace number 10 + # # Move focused container to workspace + bindsym $mod+Shift+ampersand move container to workspace number 1 + bindsym $mod+Shift+eacute move container to workspace number 2 + bindsym $mod+Shift+quotedbl move container to workspace number 3 + bindsym $mod+Shift+apostrophe move container to workspace number 4 + bindsym $mod+Shift+parenleft move container to workspace number 5 + bindsym $mod+Shift+minus move container to workspace number 6 + bindsym $mod+Shift+egrave move container to workspace number 7 + bindsym $mod+Shift+underscore move container to workspace number 8 + bindsym $mod+Shift+ccedilla move container to workspace number 9 + bindsym $mod+Shift+agrave move container to workspace number 10 # Note: workspaces can have any name you want, not just numbers. # We just use 1-10 as the default. @@ -155,11 +156,11 @@ input "1:1:AT_Translated_Set_2_keyboard" xkb_layout "fr" # You can send windows there and get them back later. # Move the currently focused window to the scratchpad - bindsym $mod+Shift+minus move 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 + # bindsym $mod+minus scratchpad show # # Resizing containers: # diff --git a/dotfiles/sway-cave/waybar-config.jsonc b/dotfiles/sway-cave/waybar-config.jsonc index c4ed0cc..7499488 100644 --- a/dotfiles/sway-cave/waybar-config.jsonc +++ b/dotfiles/sway-cave/waybar-config.jsonc @@ -93,6 +93,7 @@ "tooltip-format-wifi": "{essid} ({signalStrength}%) ", "tooltip-format-ethernet": "{ifname} ", "tooltip-format-disconnected": "Disconnected", + "interval": 10 // "max-length": 50 }, diff --git a/home/tasia/home.nix b/home/tasia/home.nix index 52667ce..4013906 100644 --- a/home/tasia/home.nix +++ b/home/tasia/home.nix @@ -30,7 +30,7 @@ ".shellrc".source = ../../dotfiles/.shellrc; ".config/btop/btop.conf".source = ../../dotfiles/btop.conf; - # ".gitconfig".source = ../../dotfiles/.gitconfig; + ".gitconfig".source = ../../dotfiles/.gitconfig; ".librewolf/librewolf.overrides.cfg".source = ../../dotfiles/librewolf.overrides.cfg;