Fix Sway configuration and added default editor on startup
This commit is contained in:
@@ -53,11 +53,11 @@
|
|||||||
#------------------------------------------#
|
#------------------------------------------#
|
||||||
# Placing software in a specific workspace #
|
# Placing software in a specific workspace #
|
||||||
#------------------------------------------#
|
#------------------------------------------#
|
||||||
assign [app_id="foot"]: workspace number 1
|
assign [app_id="emacs"]: workspace number 1
|
||||||
for_window [app_id="foot"]: focus
|
for_window [app_id="emacs"]: focus
|
||||||
assign [app_id="firefox"]: workspace number 2
|
assign [app_id="firefox"]: workspace number 2
|
||||||
for_window [app_id="firefox"] focus
|
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
|
for_window [app_id="telegram"] focus
|
||||||
|
|
||||||
#---------------------#
|
#---------------------#
|
||||||
|
|||||||
@@ -27,7 +27,10 @@ set $clipboard 'cliphist list | fuzzel --dmenu | cliphist decode | wl-copy'
|
|||||||
# Your preferred file manager
|
# Your preferred file manager
|
||||||
set $filemanager 'foot yazi'
|
set $filemanager 'foot yazi'
|
||||||
|
|
||||||
# Set theme
|
# Your prefered editor
|
||||||
|
set $editor 'emacs'
|
||||||
|
|
||||||
|
# Import Catppuccin theme defined colors
|
||||||
include themes/catppuccin-mocha
|
include themes/catppuccin-mocha
|
||||||
|
|
||||||
# target title bg text indicator border
|
# 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/)
|
# 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 /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||||
|
|
||||||
output * bg ~/.config/sway/wallpaper.jpg fill
|
output * bg ~/.config/sway/wallpaper.jpg fill
|
||||||
|
|
||||||
# Setting default font
|
# Setting default font
|
||||||
@@ -69,10 +71,10 @@ exec swayidle -w \
|
|||||||
# your displays after another 300 seconds, and turn your screens back on when
|
# 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.
|
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||||
|
|
||||||
### Run notification daemon
|
### Run in background notification daemon
|
||||||
exec $notification
|
exec $notification
|
||||||
|
|
||||||
### Start Pipewire session
|
### Run in background Pipewire session
|
||||||
exec pipewire
|
exec pipewire
|
||||||
|
|
||||||
### Run clipboard manager
|
### Run clipboard manager
|
||||||
@@ -82,8 +84,8 @@ exec wl-paste -t image --watch cliphist store
|
|||||||
### OSD server
|
### OSD server
|
||||||
exec swayosd-server
|
exec swayosd-server
|
||||||
|
|
||||||
### Start terminal emulator
|
###
|
||||||
exec $term
|
exec $editor
|
||||||
|
|
||||||
### Screenshot tool
|
### Screenshot tool
|
||||||
exec flameshot
|
exec flameshot
|
||||||
@@ -123,10 +125,10 @@ exec_always {
|
|||||||
# Read `man 5 sway-input` for more information about this section.
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
|
|
||||||
input type:touchpad {
|
input type:touchpad {
|
||||||
dwt enabled
|
dwt enabled
|
||||||
tap enabled
|
tap enabled
|
||||||
natural_scroll enabled
|
natural_scroll enabled
|
||||||
middle_emulation enabled
|
middle_emulation enabled
|
||||||
}
|
}
|
||||||
|
|
||||||
input type:keyboard {
|
input type:keyboard {
|
||||||
|
|||||||
Reference in New Issue
Block a user