Fix Sway configuration and added default editor on startup

This commit is contained in:
Fabio Scotto di Santolo
2025-08-29 00:22:38 +02:00
parent c461bcf1fd
commit 279487f03f
2 changed files with 15 additions and 13 deletions

View File

@@ -53,11 +53,11 @@
#------------------------------------------#
# Placing software in a specific workspace #
#------------------------------------------#
assign [app_id="foot"]: workspace number 1
for_window [app_id="foot"]: focus
assign [app_id="emacs"]: workspace number 1
for_window [app_id="emacs"]: focus
assign [app_id="firefox"]: workspace number 2
for_window [app_id="firefox"] focus
assign [app_id="telegram"]: workspace number 5
assign [app_id="telegram"]: workspace number 3
for_window [app_id="telegram"] focus
#---------------------#

View File

@@ -27,7 +27,10 @@ set $clipboard 'cliphist list | fuzzel --dmenu | cliphist decode | wl-copy'
# Your preferred file manager
set $filemanager 'foot yazi'
# Set theme
# Your prefered editor
set $editor 'emacs'
# Import Catppuccin theme defined colors
include themes/catppuccin-mocha
# target title bg text indicator border
@@ -45,7 +48,6 @@ seat seat0 xcursor_theme catppuccin-mocha-lavender-cursors 25
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
# output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
output * bg ~/.config/sway/wallpaper.jpg fill
# Setting default font
@@ -69,10 +71,10 @@ exec swayidle -w \
# 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.
### Run notification daemon
### Run in background notification daemon
exec $notification
### Start Pipewire session
### Run in background Pipewire session
exec pipewire
### Run clipboard manager
@@ -82,8 +84,8 @@ exec wl-paste -t image --watch cliphist store
### OSD server
exec swayosd-server
### Start terminal emulator
exec $term
###
exec $editor
### Screenshot tool
exec flameshot