From 9c829b888f486bf49d492920034dbb6ce45ed323 Mon Sep 17 00:00:00 2001 From: Florestan Bredow Date: Mon, 9 Feb 2026 11:58:02 +0100 Subject: [PATCH] Remove sway config --- .config/sway/config | 103 ------------------ .config/sway/config.d/10-screen-layout.conf | 17 --- .config/sway/config.d/50-systemd-user.conf | 9 -- .config/sway/config.d/60-xkb-keyboard.conf | 4 - .../sway/config.d/70-keybinding-layout.conf | 22 ---- .../config.d/70-keybinding-mode-resize.conf | 11 -- .../sway/config.d/70-keybinding-moving.conf | 17 --- .../config.d/70-keybinding-special-keys.conf | 8 -- .../config.d/70-keybinding-workspace.conf | 27 ----- 9 files changed, 218 deletions(-) delete mode 100644 .config/sway/config delete mode 100644 .config/sway/config.d/10-screen-layout.conf delete mode 100644 .config/sway/config.d/50-systemd-user.conf delete mode 100644 .config/sway/config.d/60-xkb-keyboard.conf delete mode 100644 .config/sway/config.d/70-keybinding-layout.conf delete mode 100644 .config/sway/config.d/70-keybinding-mode-resize.conf delete mode 100644 .config/sway/config.d/70-keybinding-moving.conf delete mode 100644 .config/sway/config.d/70-keybinding-special-keys.conf delete mode 100644 .config/sway/config.d/70-keybinding-workspace.conf diff --git a/.config/sway/config b/.config/sway/config deleted file mode 100644 index 2875fe6..0000000 --- a/.config/sway/config +++ /dev/null @@ -1,103 +0,0 @@ -# Default config for sway -# -# Copy this to ~/.config/sway/config and edit it to your liking. -# -# Read `man 5 sway` for a complete reference. - -### Variables -# -# Logo key. Use Mod1 for Alt. -set $mod Mod4 - -# Your preferred terminal emulator -set $term /usr/bin/footclient - -# Your preferred application launcher -# Note: pass the final command to swaymsg so that the resulting window can be opened -# on the original workspace that the command was run on. -# set $menu dmenu_path | dmenu | xargs swaymsg exec -- - -set $menu wofi --gtk-dark --show=drun - -include "$HOME/.config/sway/config.d/*" - -default_border pixel 5 -smart_borders on - -gaps inner 8 -smart_gaps on - -focus_follows_mouse no - -### Output configuration -# -# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) -output * bg #283646 solid_color -output eDP-1 bg "$HOME/nextcloud/perso/images/wallapper_desktop.png" fill -# -# Example configuration: -# -# output HDMI-A-1 resolution 1920x1080 position 1920,0 -# -# You can get the names of your outputs by running: swaymsg -t get_outputs - - -### Idle configuration -# -# Example configuration: -# -# exec swayidle -w \ -# timeout 300 'swaylock -f -c 000000' \ -# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms 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. - - -### Key bindings -# -# Basics: -# - # Start a terminal - bindsym $mod+Return exec $term - - # Kill focused window - bindsym $mod+Shift+q kill - - # Start your launcher - bindsym $mod+d exec $menu - - # 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 - - # Reload the configuration file - bindsym $mod+Shift+c reload - - # Exit sway (logs you out of your Wayland session) - 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+l exec swaylock --color "#243646" - -### Laptop screen is close - bindswitch --locked lid:on output eDP-1 disable -### Laptop screen is open - bindswitch --locked lid:off output eDP-1 enable - -exec kanshi - -bar { - swaybar_command waybar -} - -exec foot --server -exec blueman-applet -exec nm-applet --indicator -exec nextcloud --background -exec keepassxc -exec /usr/lib/xdg-desktop-portal-gnome diff --git a/.config/sway/config.d/10-screen-layout.conf b/.config/sway/config.d/10-screen-layout.conf deleted file mode 100644 index dc9311c..0000000 --- a/.config/sway/config.d/10-screen-layout.conf +++ /dev/null @@ -1,17 +0,0 @@ -# swaymsg -t get_outputs - -# Laptop pro -output 'Najing CEC Panda FPD Technology CO. ltd 0x0056 Unknown' pos 0 0 res 1920x1080 subpixel rgb -workspace 1 output 'Najing CEC Panda FPD Technology CO. ltd 0x0056 Unknown' - -# laptop perso -output 'BOE 0x090F Unknown' pos 0 0 res 1920x1080 subpixel rgb -workspace 1 output 'BOE 0x090F Unknown' - -# Home screen -output 'Samsung Electric Company LC34G55T HNTW606264' pos 1920 0 -workspace 5 output 'Samsung Electric Company LC34G55T HNTW606264' - -# Work screen -output 'Iiyama North America PL3481WQ 1242550210951' pos 1920 0 -workspace 5 output 'Iiyama North America PL3481WQ 1242550210951' diff --git a/.config/sway/config.d/50-systemd-user.conf b/.config/sway/config.d/50-systemd-user.conf deleted file mode 100644 index af204fb..0000000 --- a/.config/sway/config.d/50-systemd-user.conf +++ /dev/null @@ -1,9 +0,0 @@ -# import variables into system-user enviroment -# based on the instructions in the sway wiki -# see also https://github.com/swaywm/sway/issues/5732 -# and https://github.com/systemd/systemd/blob/dfc637d0ff756889e8e5b7cb4ec991eb06069aa1/xorg/50-systemd-user.sh - -exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK - -exec hash dbus-update-activation-environment 2>/dev/null && \ - dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK diff --git a/.config/sway/config.d/60-xkb-keyboard.conf b/.config/sway/config.d/60-xkb-keyboard.conf deleted file mode 100644 index 52ae256..0000000 --- a/.config/sway/config.d/60-xkb-keyboard.conf +++ /dev/null @@ -1,4 +0,0 @@ -input type:keyboard { - xkb_layout "fr" - xkb_variant "oss" -} \ No newline at end of file diff --git a/.config/sway/config.d/70-keybinding-layout.conf b/.config/sway/config.d/70-keybinding-layout.conf deleted file mode 100644 index f3a3d7b..0000000 --- a/.config/sway/config.d/70-keybinding-layout.conf +++ /dev/null @@ -1,22 +0,0 @@ -# You can "split" the current object of your focus with -# $mod+b or $mod+v, for horizontal and vertical splits -# respectively. -bindsym $mod+h splith -bindsym $mod+v splitv - -# Switch the current container between different layout styles -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split - -# Make the current focus fullscreen -bindsym $mod+f fullscreen - -# Toggle the current focus between tiling and floating mode -bindsym $mod+Shift+space floating toggle - -# Swap focus between the tiling area and the floating area -bindsym $mod+space focus mode_toggle - -# Move focus to the parent container -bindsym $mod+a focus parent diff --git a/.config/sway/config.d/70-keybinding-mode-resize.conf b/.config/sway/config.d/70-keybinding-mode-resize.conf deleted file mode 100644 index c1e5cd2..0000000 --- a/.config/sway/config.d/70-keybinding-mode-resize.conf +++ /dev/null @@ -1,11 +0,0 @@ -mode "resize" { - bindsym Left resize shrink width 10px - bindsym Down resize grow height 10px - bindsym Up resize shrink height 10px - bindsym Right resize grow width 10px - - # Return to default mode - bindsym Escape mode "default" -} - -bindsym $mod+r mode "resize" \ No newline at end of file diff --git a/.config/sway/config.d/70-keybinding-moving.conf b/.config/sway/config.d/70-keybinding-moving.conf deleted file mode 100644 index 4731d4f..0000000 --- a/.config/sway/config.d/70-keybinding-moving.conf +++ /dev/null @@ -1,17 +0,0 @@ -# Move your focus around -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# Move the focused window -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# Move current workspace -bindsym $mod+Control+Shift+Right move workspace to output right -bindsym $mod+Control+Shift+Left move workspace to output left -bindsym $mod+Control+Shift+Down move workspace to output down -bindsym $mod+Control+Shift+Up move workspace to output up diff --git a/.config/sway/config.d/70-keybinding-special-keys.conf b/.config/sway/config.d/70-keybinding-special-keys.conf deleted file mode 100644 index f5ada2e..0000000 --- a/.config/sway/config.d/70-keybinding-special-keys.conf +++ /dev/null @@ -1,8 +0,0 @@ -bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ -bindsym --locked XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- -bindsym --locked XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle -bindsym XF86MonBrightnessDown exec brightnessctl set 5%- -bindsym XF86MonBrightnessUp exec brightnessctl set 5%+ -bindsym --locked XF86AudioPlay exec playerctl play-pause -bindsym XF86AudioNext exec playerctl next -bindsym XF86AudioPrev exec playerctl previous \ No newline at end of file diff --git a/.config/sway/config.d/70-keybinding-workspace.conf b/.config/sway/config.d/70-keybinding-workspace.conf deleted file mode 100644 index 3dfc647..0000000 --- a/.config/sway/config.d/70-keybinding-workspace.conf +++ /dev/null @@ -1,27 +0,0 @@ -# switch to workspace -bindsym $mod+ampersand workspace 1 -bindsym $mod+eacute workspace 2 -bindsym $mod+quotedbl workspace 3 -bindsym $mod+apostrophe workspace 4 -bindsym $mod+parenleft workspace 5 -bindsym $mod+minus workspace 6 -bindsym $mod+egrave workspace 7 -bindsym $mod+underscore workspace 8 -bindsym $mod+ccedilla workspace 9 -bindsym $mod+agrave workspace 10 -bindsym $mod+parenright workspace 11 -bindsym $mod+equal workspace 12 - -# move focused container to workspace -bindsym $mod+Shift+ampersand move container to workspace 1 -bindsym $mod+Shift+eacute move container to workspace 2 -bindsym $mod+Shift+quotedbl move container to workspace 3 -bindsym $mod+Shift+apostrophe move container to workspace 4 -bindsym $mod+Shift+parenleft move container to workspace 5 -bindsym $mod+Shift+minus move container to workspace 6 -bindsym $mod+Shift+egrave move container to workspace 7 -bindsym $mod+Shift+underscore move container to workspace 8 -bindsym $mod+Shift+ccedilla move container to workspace 9 -bindsym $mod+Shift+agrave move container to workspace 10 -bindsym $mod+Shift+parenright move container to workspace 11 -bindsym $mod+Shift+equal move container to workspace 12 \ No newline at end of file