merge sway config with current sysimg config

This commit is contained in:
Inhji 2023-10-11 07:10:39 +02:00
parent 6908d28d17
commit 9c5d7444c8
1 changed files with 26 additions and 34 deletions

View File

@ -1,5 +1,3 @@
include themes/catppuccin-mocha
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
@ -17,12 +15,12 @@ set $up up
set $right right
# Your preferred terminal emulator
#set $term xfce4-terminal
set $term alacritty
set $files nautilus
set $term foot
set $files thunar
# Your preferred application launcher
# Note: it's recommended that you pass the final command to sway
#set $menu dmenu_path | dmenu | xargs swaymsg exec --
set $menu rofi -show drun | xargs swaymsg exec --
set $menu wofi --show drun -p Search -n -i -I -W 66% -s $HOME/.config/wofi.css
#xwayland disable
@ -31,7 +29,7 @@ set $menu rofi -show drun | xargs swaymsg exec --
# Default wallpaper (more resolutions are available in @datadir@/backgrounds/sway/)
#output * bg "#000000" fill
#exec swaybg -c "#282828"
exec swaybg -i "/home/inhji/.wallpaper.jpg"
exec swaybg -i "/usr/share/backgrounds/reform-mountains.jpg"
#
# Example configuration:
@ -39,6 +37,7 @@ exec swaybg -i "/home/inhji/.wallpaper.jpg"
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
output eDP-1 scale 1.2
### Idle configuration
#
@ -73,7 +72,7 @@ input "1003:8258:MNT_Reform_Keyboard" {
xkb_options compose:caps
}
default_border pixel 2
default_border pixel 0
hide_edge_borders both
### Key bindings
@ -84,11 +83,12 @@ hide_edge_borders both
bindsym $mod+Return exec $term
bindsym $mod+Shift+s exec grim ~/Pictures/Screenshots/$(date +'screenshot-%Y-%m-%d-%H-%M-%S').png
bindsym $mod+Alt+s exec grim -g "$(slurp)" ~/Pictures/Screenshots/$(date +'screenshot-%Y-%m-%d-%H-%M-%S').png
bindsym $mod+Shift+v exec reform-pavucontrol
bindsym $mod+Shift+v exec pavucontrol
bindsym $mod+Shift+l exec swaylock
# Kill focused window
bindsym $mod+Escape kill
bindsym --border button3 kill
# Start your launcher
bindsym $mod+d exec $menu
@ -242,21 +242,14 @@ bindsym $mod+0 mode $system_mode
bindsym $mod+shift+0 exec "swaymsg output eDP-1 disable; swaymsg output eDP-1 enable"
# target title bg text indicator border
client.focused $lavender $base $text $rosewater $lavender
client.focused_inactive $overlay0 $base $text $rosewater $overlay0
client.unfocused $overlay0 $base $text $rosewater $overlay0
client.urgent $peach $base $peach $overlay0 $peach
client.placeholder $overlay0 $base $text $overlay0 $overlay0
client.background $base
# class border backgr. text indicator child_border
#client.focused #000000 #ffffff #000000 #000000 #000000
#client.focused_inactive #000000 #eeeeee #000000 #000000 #000000
#client.unfocused #000000 #222222 #888888 #000000 #000000
#client.urgent #2f343a #900000 #ffffff #900000 #900000
#client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
#client.background #ffffff
client.focused #000000 #080808 #ffffff #000000 #000000
client.focused_inactive #000000 #000000 #eeeeee #000000 #000000
client.unfocused #000000 #000000 #888888 #000000 #000000
client.urgent #2f343a #900000 #ffffff #900000 #900000
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
client.background #ffffff
font pango: Inter, Icons Bold 14
@ -280,9 +273,6 @@ exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSO
# fix KDE cursor appearing in sway
seat seat0 xcursor_theme Bibata-Modern-Ice 24
# bluetooth-applet
exec blueman-applet
# don't start a terminal, enjoy the wallpaper
# exec xfce4-terminal -e 'bash -c "neofetch; bash"'
@ -292,18 +282,20 @@ exec /usr/libexec/gsd-xsettings
# start a policykit agent
exec lxpolkit
# start notification daemon
exec "killall dunst"
exec dunst
# start network manager applet
exec blueman-applet
# start wallpaper changer
exec variety
# start volume applet
exec pasystray
# start MNT Reform tray menu
exec /usr/libexec/reform-tools/reform-tray.py
# default GTK theme settings
exec gsettings set org.gnome.desktop.interface font-name 'Inter 14'
exec gsettings set org.gnome.desktop.interface monospace-font-name 'Iosevka Nerd Font 14'
exec gsettings set org.gnome.desktop.interface gtk-theme 'Arc-Dark'
exec gsettings set org.gnome.desktop.interface font-name 'Inter Medium 11'
exec gsettings set org.gnome.desktop.interface monospace-font-name 'Iosevka Term 11'
exec gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'
exec gsettings set org.gnome.gedit.preferences.editor scheme 'cobalt'
exec gsettings set org.gnome.desktop.interface icon-theme 'Papirus'
exec gsettings set org.gnome.desktop.interface icon-theme 'Papirus-Dark'
include config.d/*