NUJXIBEBJZZWQINZMMNSAGG7MKST4INIGU4OSDUW4N2EYDTJN23QC
# default config for the mako notification daemon
layer=overlay
width=400
height=200
font=TERM_FONT
border-size=3
border-color=ACCENT_COLOR
text-color=TEXT_COLOR
background-color=BACKGROUND_COLOR
icons=1
max-icon-size=48
markup=1
actions=1
default-timeout=5000
padding=20
margin=20
[General]
theme=KVANTUM_THEME
[Settings]
gtk-theme-name=GTK_THEME
gtk-icon-theme-name=ICON_THEME
gtk-font-name=GUI_FONT
gtk-cursor-theme-name=CURSOR_THEME
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
[Settings]
gtk-theme-name=GTK_THEME
gtk-icon-theme-name=ICON_THEME
gtk-font-name=GUI_FONT
gtk-cursor-theme-name=CURSOR_THEME
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
include "$HOME/.gtkrc-2.0.mine"
gtk-theme-name="GTK_THEME"
gtk-icon-theme-name="ICON_THEME"
gtk-font-name="GUI_FONT"
gtk-cursor-theme-name="CURSOR_THEME"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
exec_always {
'mkdir -p $HOME/.config/waybar && ln -sf $theme/theme.css $HOME/.config/waybar/'
'mkdir -p $HOME/.config/wlogout && ln -sf $theme/theme.css $HOME/.config/wlogout/'
}
exec_always {
'mkdir -p $HOME/.config/mako && \
cat $HOME/.config/sway/themes/templates/mako | sed -e $theme_template_script > $HOME/.config/mako/config'
}
exec_always {
'mkdir -p $HOME/.config/Kvantum && \
cat $HOME/.config/sway/themes/templates/kvantum | sed -e $theme_template_script > $HOME/.config/Kvantum/kvantum.kvconfig'
}
exec_always {
'cat $HOME/.config/sway/themes/templates/gtk2 | sed -e $theme_template_script > $HOME/.gtkrc-2.0'
'mkdir -p $HOME/.config/gtk-3.0 && \
cat $HOME/.config/sway/themes/templates/gtk3 | sed -e $theme_template_script > $HOME/.config/gtk-3.0/settings.ini'
'mkdir -p $HOME/.config/gtk-4.0 && \
cat $HOME/.config/sway/themes/templates/gtk4 | sed -e $theme_template_script > $HOME/.config/gtk-4.0/settings.ini'
gsettings set org.gnome.desktop.interface gtk-theme '$gtk-theme'
gsettings set org.gnome.desktop.interface icon-theme '$icon-theme'
gsettings set org.gnome.desktop.interface cursor-theme '$cursor-theme'
gsettings set org.gnome.desktop.interface font-name '$gui-font'
gsettings set org.gnome.desktop.interface monospace-font-name '$term-font'
}
# enable idle mode
exec {
$idle
gsettings set org.blueman.general plugin-list "['\!AppIndicator']"
}
exec {
# https://github.com/swaywm/sway/wiki#gtk-applications-take-20-seconds-to-start
systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
}
# autostart background applications
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id mako
exec --no-startup-id foot --config=$theme/foot.ini --server
exec --no-startup-id dex --autostart --environment gnome --term $term
# override mode for specific applications
for_window [app_id="floating_shell_portrait"] floating enable, border pixel 1, sticky enable, resize set width 60 ppt height 80 ppt
for_window [app_id="floating_shell_landscape"] floating enable, border pixel 1, sticky enable, resize set width 80 ppt height 60 ppt
for_window [app_id="pavucontrol"] floating enable, border pixel 1, sticky enable, resize set width 60 ppt height 80 ppt
for_window [app_id="pamac-manager"] floating enable, border pixel 1, sticky enable, resize set width 80 ppt height 60 ppt
for_window [app_id="blueman-manager"] floating enable, border pixel 1, sticky enable, resize set width 60 ppt height 80 ppt
for_window [app_id="firefox" title="Library"] floating enable, border pixel 1, sticky enable, resize set width 60 ppt height 80 ppt
for_window [app_id="thunderbird" title=".*Reminder"] floating enable, border pixel 1, sticky enable, resize set width 60 ppt height 80 ppt
for_window [app_id="yad" title="Applications"] floating enable, border pixel 1, sticky enable, resize set width 80 ppt height 60 ppt
#add your customizations here
#set app
set $menu wofi --show “drun” --prompt “Applications” --xoffset 0
set $term_float_portrait $term --name=floating_shell_portrait –
set $term_float_landscape $term --name=floating_shell_landscape –
#cpu / mem monitors
set $cpu_mon ‘htop --sort-key=PERCENT_CPU’
set $mem_mon ‘htop --sort-key=PERCENT_MEM’
#set borders
gaps inner 4
gaps outer 2
smart_gaps on
default_border pixel 2
#mouse settings
focus_follows_mouse no
seat * hide_cursor 5000
#bind keys
bindsym Print exec grimshot save screen ~/Pictures/$(date +%H-%m-%s).png
bindsym $mod+F2 exec chromium
bindsym $mod+F3 exec nautilus
#execute command
exec nautilus --gapplication-service
#set theme
set $gnome-schema org.gnome.desktop.interface
exec_always {
gsettings set $gnome-schema gtk-theme “Matcha-light-azul”
gsettings set $gnome-schema icon-theme “Papirus-Light”
gsettings set $gnome-schema cursor-theme “Adwaita”
gsettings set $gnome-schema font-name “Sans 12”
}
set $gtk-theme Matcha-light-azul
set $icon-theme Papirus-Light
set $cursor-theme Adwaita
set $gui-font Sans-Serif 12
set $term-font Mono 12
set $kvantum-theme Matcha-light-azul
#background
set $background ~/Pictures/nebula.jpg
output * bg $background fill
# Default config for sway
#
# Read `man 5 sway` for a complete reference.
# global variables
include /etc/sway/definitions
# do your override of global definitions here - e.g. switching a theme
set $theme /etc/sway/themes/matcha-blue
# import theme specific definitions
include $theme/definitions
# Your preferred terminal emulator
set $term footclient
set $term_float_portrait $term --app-id=floating_shell_portrait
set $term_float_landscape $term --app-id=floating_shell_landscape
# 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 $launcher_options --background-color=$launcher-background-color --text-color=$launcher-text-color --selection-color=$launcher-selection-color --match-color=$launcher-matching-color --border-color=$launcher-border-color --lines=20 --width=50 --border-radius=10
set $menu fuzzel --icon-theme=$icon-theme --terminal "$term" --font="$launcher-font" $launcher_options
set $selwin sws.sh --dmenu-cmd "fuzzel --no-icons --dmenu $launcher_options" --format "%W | %A - %T" --font "$launcher-font"
### Lockscreen configuration
#
#set $locking swaylock --daemonize --ignore-empty-password --show-failed-attempts --color=$lock-background-color --inside-color=$lock-inside-color --inside-ver-color=$lock-verify-color --inside-wrong-color=$lock-error-color --ring-color=$lock-ring-color --ring-ver-color=$lock-verify-color --text-color=$lock-text-color
### Idle configuration
# 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.
#
#set $idle swayidle -w \
# timeout 240 'light -G > /tmp/brightness && light -S 10' resume 'light -S $([ -f /tmp/brightness ] && cat /tmp/brightness || echo 100%)' \
# timeout 300 'exec $locking' \
# timeout 600 'swaymsg "output * dpms off"' \
# resume 'swaymsg "output * dpms on"' \
# before-sleep 'exec $locking'
# statusbar command
set $statusbar waybar
# pulseaudio command
set $pulseaudio pavucontrol
# help command
set $help $term_float_portrait mdcat -p $HOME/README.md
# calendar application
set $calendar $term_float_portrait khal interactive
# cpu / mem monitors
set $cpu_mon btop
set $mem_mon btop
# defines the custom menu in waybar
set $app_menu yad --icons --read-dir=/usr/share/applications --sort-by-name --icon-size=48 --title='Applications' --term='$term -- %s' --no-buttons --close-on-unfocus
# enable default input/output devices
include /etc/sway/inputs/*
include /etc/sway/outputs/*
# enable default modes
include /etc/sway/modes/*
# run global sway scripts
include /etc/sway/config.d/*
# include scripts to set up theme files
include $HOME/.config/sway/themes/scripts/*
# include additional configs e.g. to autostart applications
# for changes to it please change the responding files
# or add new ones to the folder below
include $HOME/.config/sway/config.d/*
syntax on
set relativenumber
set number
colorscheme zellner
call plug#begin()
Plug 'elixir-editors/vim-elixir'
Plug 'neoclide/coc.nvim', {'branch': 'release'}