delete sway & stuff config files
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Categories=Utility;
|
||||
Comment=OpenRGB 0.9, for controlling RGB lighting.
|
||||
Icon=OpenRGB
|
||||
Name=OpenRGB
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Exec=/usr/bin/openrgb --startminimized --profile "red"
|
||||
@@ -1,22 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=CoreCtrl
|
||||
GenericName=Core control
|
||||
Comment=Control your computer with ease using application profiles
|
||||
Exec=corectrl
|
||||
Icon=corectrl
|
||||
StartupNotify=true
|
||||
StartupWMClass=corectrl
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=System;Settings;Utility;
|
||||
Keywords=core;control;system;hardware;
|
||||
|
||||
# Translations
|
||||
GenericName[bg]=Централен Контрол
|
||||
Comment[bg]=Управлявайте компютъра си с лекота, изполвайки профили за програмите ви
|
||||
|
||||
GenericName[es_ES]=Control central
|
||||
Comment[es_ES]=Controle su computadora fácilmente usando perfiles de aplicaciones
|
||||
|
||||
GenericName[ru]=Центральный контроль
|
||||
Comment[ru]=Управляйте своим оборудованием с легкостью, используя профили приложений
|
||||
@@ -1,9 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Categories=Utility;
|
||||
Comment=Logitech utility
|
||||
Name=Solaar
|
||||
Icon=solaar
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Exec=/usr/bin/solaar -w hide
|
||||
@@ -1,282 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Steam (Runtime)
|
||||
Comment=Application for managing and playing games on Steam
|
||||
Comment[pt_BR]=Aplicativo para jogar e gerenciar jogos no Steam
|
||||
Comment[bg]=Приложение за ръководене и пускане на игри в Steam
|
||||
Comment[cs]=Aplikace pro spravování a hraní her ve službě Steam
|
||||
Comment[da]=Applikation til at håndtere og spille spil på Steam
|
||||
Comment[nl]=Applicatie voor het beheer en het spelen van games op Steam
|
||||
Comment[fi]=Steamin pelien hallintaan ja pelaamiseen tarkoitettu sovellus
|
||||
Comment[fr]=Application de gestion et d'utilisation des jeux sur Steam
|
||||
Comment[de]=Anwendung zum Verwalten und Spielen von Spielen auf Steam
|
||||
Comment[el]=Εφαρμογή διαχείρισης παιχνιδιών στο Steam
|
||||
Comment[hu]=Alkalmazás a Steames játékok futtatásához és kezeléséhez
|
||||
Comment[it]=Applicazione per la gestione e l'esecuzione di giochi su Steam
|
||||
Comment[ja]=Steam 上でゲームを管理&プレイするためのアプリケーション
|
||||
Comment[ko]=Steam에 있는 게임을 관리하고 플레이할 수 있는 응용 프로그램
|
||||
Comment[no]=Program for å administrere og spille spill på Steam
|
||||
Comment[pt_PT]=Aplicação para organizar e executar jogos no Steam
|
||||
Comment[pl]=Aplikacja do zarządzania i uruchamiania gier na platformie Steam
|
||||
Comment[ro]=Aplicație pentru administrarea și jucatul jocurilor pe Steam
|
||||
Comment[ru]=Приложение для игр и управления играми в Steam
|
||||
Comment[es]=Aplicación para administrar y ejecutar juegos en Steam
|
||||
Comment[sv]=Ett program för att hantera samt spela spel på Steam
|
||||
Comment[zh_CN]=管理和进行 Steam 游戏的应用程序
|
||||
Comment[zh_TW]=管理並執行 Steam 遊戲的應用程式
|
||||
Comment[th]=โปรแกรมสำหรับจัดการและเล่นเกมบน Steam
|
||||
Comment[tr]=Steam üzerinden oyun oynama ve düzenleme uygulaması
|
||||
Comment[uk]=Програма для керування іграми та запуску ігор у Steam
|
||||
Comment[vi]=Ứng dụng để quản lý và chơi trò chơi trên Steam
|
||||
Exec=/usr/bin/steam-runtime -silent %U
|
||||
Icon=steam
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Network;FileTransfer;Game;
|
||||
MimeType=x-scheme-handler/steam;x-scheme-handler/steamlink;
|
||||
Actions=Store;Community;Library;Servers;Screenshots;News;Settings;BigPicture;Friends;
|
||||
PrefersNonDefaultGPU=true
|
||||
X-KDE-RunOnDiscreteGpu=true
|
||||
|
||||
[Desktop Action Store]
|
||||
Name=Store
|
||||
Name[pt_BR]=Loja
|
||||
Name[bg]=Магазин
|
||||
Name[cs]=Obchod
|
||||
Name[da]=Butik
|
||||
Name[nl]=Winkel
|
||||
Name[fi]=Kauppa
|
||||
Name[fr]=Magasin
|
||||
Name[de]=Shop
|
||||
Name[el]=ΚΑΤΑΣΤΗΜΑ
|
||||
Name[hu]=Áruház
|
||||
Name[it]=Negozio
|
||||
Name[ja]=ストア
|
||||
Name[ko]=상점
|
||||
Name[no]=Butikk
|
||||
Name[pt_PT]=Loja
|
||||
Name[pl]=Sklep
|
||||
Name[ro]=Magazin
|
||||
Name[ru]=Магазин
|
||||
Name[es]=Tienda
|
||||
Name[sv]=Butik
|
||||
Name[zh_CN]=商店
|
||||
Name[zh_TW]=商店
|
||||
Name[th]=ร้านค้า
|
||||
Name[tr]=Mağaza
|
||||
Name[uk]=Крамниця
|
||||
Name[vi]=Cửa hàng
|
||||
Exec=steam steam://store
|
||||
|
||||
[Desktop Action Community]
|
||||
Name=Community
|
||||
Name[pt_BR]=Comunidade
|
||||
Name[bg]=Общност
|
||||
Name[cs]=Komunita
|
||||
Name[da]=Fællesskab
|
||||
Name[nl]=Community
|
||||
Name[fi]=Yhteisö
|
||||
Name[fr]=Communauté
|
||||
Name[de]=Community
|
||||
Name[el]=Κοινότητα
|
||||
Name[hu]=Közösség
|
||||
Name[it]=Comunità
|
||||
Name[ja]=コミュニティ
|
||||
Name[ko]=커뮤니티
|
||||
Name[no]=Samfunn
|
||||
Name[pt_PT]=Comunidade
|
||||
Name[pl]=Społeczność
|
||||
Name[ro]=Comunitate
|
||||
Name[ru]=Сообщество
|
||||
Name[es]=Comunidad
|
||||
Name[sv]=Gemenskap
|
||||
Name[zh_CN]=社区
|
||||
Name[zh_TW]=社群
|
||||
Name[th]=ชุมชน
|
||||
Name[tr]=Topluluk
|
||||
Name[uk]=Спільнота
|
||||
Name[vi]=Cộng đồng
|
||||
Exec=steam steam://url/SteamIDControlPage
|
||||
|
||||
[Desktop Action Library]
|
||||
Name=Library
|
||||
Name[pt_BR]=Biblioteca
|
||||
Name[bg]=Библиотека
|
||||
Name[cs]=Knihovna
|
||||
Name[da]=Bibliotek
|
||||
Name[nl]=Bibliotheek
|
||||
Name[fi]=Kokoelma
|
||||
Name[fr]=Bibliothèque
|
||||
Name[de]=Bibliothek
|
||||
Name[el]=Συλλογή
|
||||
Name[hu]=Könyvtár
|
||||
Name[it]=Libreria
|
||||
Name[ja]=ライブラリ
|
||||
Name[ko]=라이브러리
|
||||
Name[no]=Bibliotek
|
||||
Name[pt_PT]=Biblioteca
|
||||
Name[pl]=Biblioteka
|
||||
Name[ro]=Colecţie
|
||||
Name[ru]=Библиотека
|
||||
Name[es]=Biblioteca
|
||||
Name[sv]=Bibliotek
|
||||
Name[zh_CN]=库
|
||||
Name[zh_TW]=收藏庫
|
||||
Name[th]=คลัง
|
||||
Name[tr]=Kütüphane
|
||||
Name[uk]=Бібліотека
|
||||
Name[vi]=Thư viện
|
||||
Exec=steam steam://open/games
|
||||
|
||||
[Desktop Action Servers]
|
||||
Name=Servers
|
||||
Name[pt_BR]=Servidores
|
||||
Name[bg]=Сървъри
|
||||
Name[cs]=Servery
|
||||
Name[da]=Servere
|
||||
Name[nl]=Servers
|
||||
Name[fi]=Palvelimet
|
||||
Name[fr]=Serveurs
|
||||
Name[de]=Server
|
||||
Name[el]=Διακομιστές
|
||||
Name[hu]=Szerverek
|
||||
Name[it]=Server
|
||||
Name[ja]=サーバー
|
||||
Name[ko]=서버
|
||||
Name[no]=Tjenere
|
||||
Name[pt_PT]=Servidores
|
||||
Name[pl]=Serwery
|
||||
Name[ro]=Servere
|
||||
Name[ru]=Серверы
|
||||
Name[es]=Servidores
|
||||
Name[sv]=Servrar
|
||||
Name[zh_CN]=服务器
|
||||
Name[zh_TW]=伺服器
|
||||
Name[th]=เซิร์ฟเวอร์
|
||||
Name[tr]=Sunucular
|
||||
Name[uk]=Сервери
|
||||
Name[vi]=Máy chủ
|
||||
Exec=steam steam://open/servers
|
||||
|
||||
[Desktop Action Screenshots]
|
||||
Name=Screenshots
|
||||
Name[pt_BR]=Capturas de tela
|
||||
Name[bg]=Снимки
|
||||
Name[cs]=Snímky obrazovky
|
||||
Name[da]=Skærmbilleder
|
||||
Name[nl]=Screenshots
|
||||
Name[fi]=Kuvankaappaukset
|
||||
Name[fr]=Captures d'écran
|
||||
Name[de]=Screenshots
|
||||
Name[el]=Φωτογραφίες
|
||||
Name[hu]=Képernyőmentések
|
||||
Name[it]=Screenshot
|
||||
Name[ja]=スクリーンショット
|
||||
Name[ko]=스크린샷
|
||||
Name[no]=Skjermbilder
|
||||
Name[pt_PT]=Capturas de ecrã
|
||||
Name[pl]=Zrzuty ekranu
|
||||
Name[ro]=Capturi de ecran
|
||||
Name[ru]=Скриншоты
|
||||
Name[es]=Capturas
|
||||
Name[sv]=Skärmdumpar
|
||||
Name[zh_CN]=截图
|
||||
Name[zh_TW]=螢幕擷圖
|
||||
Name[th]=ภาพหน้าจอ
|
||||
Name[tr]=Ekran Görüntüleri
|
||||
Name[uk]=Скріншоти
|
||||
Name[vi]=Ảnh chụp
|
||||
Exec=steam steam://open/screenshots
|
||||
|
||||
[Desktop Action News]
|
||||
Name=News
|
||||
Name[pt_BR]=Notícias
|
||||
Name[bg]=Новини
|
||||
Name[cs]=Zprávy
|
||||
Name[da]=Nyheder
|
||||
Name[nl]=Nieuws
|
||||
Name[fi]=Uutiset
|
||||
Name[fr]=Actualités
|
||||
Name[de]=Neuigkeiten
|
||||
Name[el]=Νέα
|
||||
Name[hu]=Hírek
|
||||
Name[it]=Notizie
|
||||
Name[ja]=ニュース
|
||||
Name[ko]=뉴스
|
||||
Name[no]=Nyheter
|
||||
Name[pt_PT]=Novidades
|
||||
Name[pl]=Aktualności
|
||||
Name[ro]=Știri
|
||||
Name[ru]=Новости
|
||||
Name[es]=Noticias
|
||||
Name[sv]=Nyheter
|
||||
Name[zh_CN]=新闻
|
||||
Name[zh_TW]=新聞
|
||||
Name[th]=ข่าวสาร
|
||||
Name[tr]=Haberler
|
||||
Name[uk]=Новини
|
||||
Name[vi]=Tin tức
|
||||
Exec=steam steam://open/news
|
||||
|
||||
[Desktop Action Settings]
|
||||
Name=Settings
|
||||
Name[pt_BR]=Configurações
|
||||
Name[bg]=Настройки
|
||||
Name[cs]=Nastavení
|
||||
Name[da]=Indstillinger
|
||||
Name[nl]=Instellingen
|
||||
Name[fi]=Asetukset
|
||||
Name[fr]=Paramètres
|
||||
Name[de]=Einstellungen
|
||||
Name[el]=Ρυθμίσεις
|
||||
Name[hu]=Beállítások
|
||||
Name[it]=Impostazioni
|
||||
Name[ja]=設定
|
||||
Name[ko]=설정
|
||||
Name[no]=Innstillinger
|
||||
Name[pt_PT]=Definições
|
||||
Name[pl]=Ustawienia
|
||||
Name[ro]=Setări
|
||||
Name[ru]=Настройки
|
||||
Name[es]=Parámetros
|
||||
Name[sv]=Inställningar
|
||||
Name[zh_CN]=设置
|
||||
Name[zh_TW]=設定
|
||||
Name[th]=การตั้งค่า
|
||||
Name[tr]=Ayarlar
|
||||
Name[uk]=Налаштування
|
||||
Name[vi]=Thiết lập
|
||||
Exec=steam steam://open/settings
|
||||
|
||||
[Desktop Action BigPicture]
|
||||
Name=Big Picture
|
||||
Exec=steam steam://open/bigpicture
|
||||
|
||||
[Desktop Action Friends]
|
||||
Name=Friends
|
||||
Name[pt_BR]=Amigos
|
||||
Name[bg]=Приятели
|
||||
Name[cs]=Přátelé
|
||||
Name[da]=Venner
|
||||
Name[nl]=Vrienden
|
||||
Name[fi]=Kaverit
|
||||
Name[fr]=Amis
|
||||
Name[de]=Freunde
|
||||
Name[el]=Φίλοι
|
||||
Name[hu]=Barátok
|
||||
Name[it]=Amici
|
||||
Name[ja]=フレンド
|
||||
Name[ko]=친구
|
||||
Name[no]=Venner
|
||||
Name[pt_PT]=Amigos
|
||||
Name[pl]=Znajomi
|
||||
Name[ro]=Prieteni
|
||||
Name[ru]=Друзья
|
||||
Name[es]=Amigos
|
||||
Name[sv]=Vänner
|
||||
Name[zh_CN]=好友
|
||||
Name[zh_TW]=好友
|
||||
Name[th]=เพื่อน
|
||||
Name[tr]=Arkadaşlar
|
||||
Name[uk]=Друзі
|
||||
Name[vi]=Bạn bè
|
||||
Exec=steam steam://open/friends
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>Monospace</family>
|
||||
<prefer>
|
||||
<family>Monospace</family>
|
||||
<family>Noto Color Emoji</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
@@ -1,31 +0,0 @@
|
||||
# Characters shown in front of the query.
|
||||
prompt = '> '
|
||||
|
||||
# space between window border and the content in pixel
|
||||
padding = 100
|
||||
|
||||
font = 'Fira Code' # otf or ttf only
|
||||
font_size = 32.0
|
||||
|
||||
[history]
|
||||
decrease_interval = 48 # interval to decrease the number of launches
|
||||
|
||||
[colors]
|
||||
# color format: rgb or rgba, if transparency is desired
|
||||
background = '#282828aa'
|
||||
prompt = '#abb2bfff'
|
||||
text = '#ffffffff' # for search results
|
||||
text_query = '#e5c07bff' # for the search query
|
||||
text_selected = '#d4be98' # for the currently selected result
|
||||
|
||||
[keybindings]
|
||||
# keybindings syntax: ctrl/shift/alt/logo as modifiers and a key joined by '+' signs
|
||||
# A list of available keys can be found here: https://docs.rs/crate/x11-keysymdef/0.2.0/source/src/keysym.json
|
||||
paste = ["ctrl+v"]
|
||||
execute = ["KP_Enter", "Return"]
|
||||
delete = ["KP_Delete", "Delete", "BackSpace"]
|
||||
delete_word = ["ctrl+KP_Delete", "ctrl+Delete", "ctrl+BackSpace", "ctrl+w"]
|
||||
complete = []
|
||||
nav_up = ["Up", "ctrl+k"]
|
||||
nav_down = ["Down", "ctrl+j"]
|
||||
exit = ["Escape"]
|
||||
@@ -1,19 +0,0 @@
|
||||
font_family IBM Plex Mono
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
|
||||
background #202734
|
||||
foreground #CBCCC6
|
||||
|
||||
background_opacity 0.97
|
||||
|
||||
cursor_shape block
|
||||
shell_integration no-cursor
|
||||
cursor_blink_interval 0
|
||||
|
||||
copy_on_select yes
|
||||
|
||||
enable_audio_bell no
|
||||
|
||||
font_size 16
|
||||
@@ -1,3 +0,0 @@
|
||||
[Default]
|
||||
save_dir=$HOME/Pictures/Screenshots
|
||||
save_filename_format=Screenshot-%Y%m%d-%H%M%S.png
|
||||
@@ -1,270 +0,0 @@
|
||||
### Variables
|
||||
|
||||
# Main keys
|
||||
set $mod Mod1
|
||||
set $ctrl Control
|
||||
set $alt Mod4
|
||||
|
||||
# Home row direction keys, like vim
|
||||
set $left h
|
||||
set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
|
||||
# Your preferred terminal emulator
|
||||
set $term kitty
|
||||
|
||||
# Your preferred application launcher
|
||||
set $menu kickoff
|
||||
|
||||
# Workspaces
|
||||
set $ws1 "1"
|
||||
set $ws2 "2"
|
||||
set $ws3 "3"
|
||||
set $ws4 "4"
|
||||
set $ws5 "5"
|
||||
set $ws6 "6"
|
||||
set $ws7 "7"
|
||||
set $ws8 "8"
|
||||
set $ws9 "9"
|
||||
set $ws10 "10"
|
||||
|
||||
set $bg #000000
|
||||
set $br #ffa759
|
||||
set $brbug #FF0000
|
||||
set $textColor #cbccc6
|
||||
|
||||
set $mainMonitor "DP-2"
|
||||
set $laptopMonitor "eDP-1"
|
||||
|
||||
set $wallpaperPathFile "~/.config/.wallpaper"
|
||||
|
||||
set $WOBSOCK $XDG_RUNTIME_DIR/wob.sock
|
||||
exec_always rm -f $WOBSOCK && mkfifo $WOBSOCK && tail -f $WOBSOCK | wob -c ~/.config/wob.ini
|
||||
|
||||
|
||||
# ____ _____ _ _ _____ ____ _ _
|
||||
# / ___| ____| \ | | ____| _ \ / \ | |
|
||||
# | | _| _| | \| | _| | |_) | / _ \ | |
|
||||
# | |_| | |___| |\ | |___| _ < / ___ \| |___
|
||||
# \____|_____|_| \_|_____|_| \_\/_/ \_\_____|
|
||||
#
|
||||
default_border pixel 2px
|
||||
smart_borders on
|
||||
focus_follows_mouse no
|
||||
floating_modifier $mod normal
|
||||
font FiraCode 10
|
||||
xwayland enable
|
||||
|
||||
# class border backgr. text indicator child_border
|
||||
client.focused $br $br $textColor $brbug $br
|
||||
|
||||
# Keyboard layout
|
||||
input type:keyboard {
|
||||
xkb_layout "us,ru"
|
||||
xkb_options "grp:win_space_toggle,caps:escape"
|
||||
}
|
||||
|
||||
input type:touchpad {
|
||||
events disabled
|
||||
}
|
||||
|
||||
output * {
|
||||
bg $(cat $wallpaperPathFile) fill
|
||||
}
|
||||
|
||||
output $laptopMonitor {
|
||||
pos 0 1080
|
||||
}
|
||||
output $mainMonitor {
|
||||
pos 0 0
|
||||
mode 3840x2160@144Hz
|
||||
scale 1
|
||||
adaptive_sync off
|
||||
render_bit_depth 10
|
||||
}
|
||||
|
||||
bindswitch --reload --locked lid:on exec "$HOME/dotfiles/bin/lock.sh"
|
||||
bindswitch --reload --locked lid:off exec 'swaymsg "output eDP-1 enable"'
|
||||
|
||||
|
||||
|
||||
|
||||
# _ ____ ____ _ ___ ____ _ _____ ___ ___ _ _ ____
|
||||
# / \ | _ \| _ \| | |_ _/ ___| / \|_ _|_ _/ _ \| \ | / ___|
|
||||
# / _ \ | |_) | |_) | | | | | / _ \ | | | | | | | \| \___ \
|
||||
# / ___ \| __/| __/| |___ | | |___ / ___ \| | | | |_| | |\ |___) |
|
||||
# /_/ \_\_| |_| |_____|___\____/_/ \_\_| |___\___/|_| \_|____/
|
||||
#
|
||||
# Start applications with keybindings
|
||||
bindsym $alt+f exec firefox-developer-edition
|
||||
bindsym $alt+r exec kitty sh -c "lf"
|
||||
bindsym $alt+s exec steam
|
||||
|
||||
# Default settings for some applications
|
||||
for_window [class="mpv"] floating enable
|
||||
for_window [class="mpv"] move absolute center
|
||||
for_window [class="MuPDF"] floating enable
|
||||
for_window [app_id="pavucontrol"] floating enable
|
||||
for_window [app_id="blueman-manager"] floating enable
|
||||
|
||||
for_window [class="vesktop"] sticky enable
|
||||
|
||||
for_window [class="feh"] {
|
||||
floating enable
|
||||
move absolute center
|
||||
resize set 1200 800
|
||||
}
|
||||
|
||||
for_window [app_id="thunar"] {
|
||||
floating enable
|
||||
resize set 1000 700
|
||||
}
|
||||
|
||||
assign [class="Slack"] workspace $ws4
|
||||
|
||||
|
||||
|
||||
# _ _ _ _____ ___ ____ _____ _ ____ _____
|
||||
# / \ | | | |_ _/ _ \/ ___|_ _|/ \ | _ \_ _|
|
||||
# / _ \| | | | | || | | \___ \ | | / _ \ | |_) || |
|
||||
# / ___ \ |_| | | || |_| |___) || |/ ___ \| _ < | |
|
||||
# /_/ \_\___/ |_| \___/|____/ |_/_/ \_\_| \_\|_|
|
||||
#
|
||||
exec --no-startup-id swaync
|
||||
exec --no-startup-id dex -a
|
||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec_always --no-startup-id swaync-client -R
|
||||
exec_always --no-startup-id xrdb -load $HOME/.Xresources
|
||||
exec_always --no-startup-id $HOME/.config/waybar/launch.sh
|
||||
# exec_always --no-startup-id $HOME/dotfiles/bin/swayidle.sh
|
||||
exec_always --no-startup-id $HOME/dotfiles/bin/initial-mic-state.sh
|
||||
exec_always --no-startup-id $HOME/dotfiles/bin/sway-lid-watcher.sh
|
||||
|
||||
|
||||
|
||||
# _ _________ ______ ___ _ _ ____ ___ _ _ ____ ____
|
||||
# | |/ / ____\ \ / / __ )_ _| \ | | _ \_ _| \ | |/ ___/ ___|
|
||||
# | ' /| _| \ V /| _ \| || \| | | | | || \| | | _\___ \
|
||||
# | . \| |___ | | | |_) | || |\ | |_| | || |\ | |_| |___) |
|
||||
# |_|\_\_____| |_| |____/___|_| \_|____/___|_| \_|\____|____/
|
||||
#
|
||||
|
||||
bindsym --to-code {
|
||||
# Bind media keys on a keyboard to control volume and playback
|
||||
XF86AudioRaiseVolume exec --no-startup-id pamixer --allow-boost -i 5 && $HOME/dotfiles/bin/notify-on-volume
|
||||
XF86AudioLowerVolume exec --no-startup-id pamixer --allow-boost -d 5 && $HOME/dotfiles/bin/notify-on-volume
|
||||
XF86AudioMute exec --no-startup-id pamixer -t
|
||||
XF86AudioPlay exec playerctl play-pause
|
||||
XF86AudioNext exec playerctl next
|
||||
XF86AudioPrev exec playerctl previous
|
||||
XF86AudioMicMute exec $HOME/dotfiles/bin/toggle-mic-mute.sh
|
||||
|
||||
# brightness
|
||||
XF86MonBrightnessDown exec $HOME/dotfiles/bin/control-brightness.sh down | sed -En 's/.*\(([0-9]+)%\).*/\1/p' > $WOBSOCK
|
||||
XF86MonBrightnessUp exec $HOME/dotfiles/bin/control-brightness.sh up | sed -En 's/.*\(([0-9]+)%\).*/\1/p' > $WOBSOCK
|
||||
|
||||
# screenshots
|
||||
$mod+Shift+s exec grim -g "$(slurp)" - | swappy -f -
|
||||
|
||||
# terminal
|
||||
$mod+Return exec $term
|
||||
|
||||
# swaync
|
||||
$mod+Shift+n exec swaync-client -t -sw
|
||||
|
||||
# Kill focused window
|
||||
$mod+Shift+q kill
|
||||
|
||||
# Run wlogout to quit
|
||||
$mod+Shift+e exec --no-startup-id wlogout -m 250
|
||||
|
||||
# Start your launcher
|
||||
$alt+d exec $menu
|
||||
|
||||
# Reload the configuration file
|
||||
$mod+Shift+r reload
|
||||
|
||||
# Move focus between tiling and floating areas
|
||||
$mod+m focus mode_toggle
|
||||
|
||||
# Move focus
|
||||
$mod+$left focus left
|
||||
$mod+$down focus down
|
||||
$mod+$up focus up
|
||||
$mod+$right focus right
|
||||
|
||||
# Move focused windows
|
||||
$mod+Shift+$left move left
|
||||
$mod+Shift+$down move down
|
||||
$mod+Shift+$up move up
|
||||
$mod+Shift+$right move right
|
||||
|
||||
# Cycle through workspaces
|
||||
$mod+Tab workspace next
|
||||
$mod+Shift+Tab workspace prev
|
||||
|
||||
# Switch to workspace
|
||||
$mod+1 workspace number $ws1
|
||||
$mod+2 workspace number $ws2
|
||||
$mod+3 workspace number $ws3
|
||||
$mod+4 workspace number $ws4
|
||||
$mod+5 workspace number $ws5
|
||||
$mod+6 workspace number $ws6
|
||||
$mod+7 workspace number $ws7
|
||||
$mod+8 workspace number $ws8
|
||||
$mod+9 workspace number $ws9
|
||||
$mod+0 workspace number $ws10
|
||||
|
||||
# Move focused container to workspace
|
||||
$mod+Shift+1 move container to workspace number $ws1
|
||||
$mod+Shift+2 move container to workspace number $ws2
|
||||
$mod+Shift+3 move container to workspace number $ws3
|
||||
$mod+Shift+4 move container to workspace number $ws4
|
||||
$mod+Shift+5 move container to workspace number $ws5
|
||||
$mod+Shift+6 move container to workspace number $ws6
|
||||
$mod+Shift+7 move container to workspace number $ws7
|
||||
$mod+Shift+8 move container to workspace number $ws8
|
||||
$mod+Shift+9 move container to workspace number $ws9
|
||||
$mod+Shift+0 move container to workspace number $ws10
|
||||
|
||||
# Change split mode
|
||||
$mod+g splith
|
||||
$mod+v splitv
|
||||
|
||||
# Switch the current container between different layout styles
|
||||
$mod+s layout stacking
|
||||
$mod+w layout tabbed
|
||||
$mod+e layout toggle split
|
||||
|
||||
# Toggle between layout modes
|
||||
$mod+x layout toggle
|
||||
|
||||
# Make the current focus fullscreen
|
||||
$mod+f fullscreen
|
||||
|
||||
# Toggle the current focus between tiling and floating mode
|
||||
$mod+z floating toggle
|
||||
|
||||
$mod+r mode "resize"
|
||||
|
||||
# scratchpad
|
||||
$mod+minus scratchpad show
|
||||
$mod+Shift+minus move scratchpad
|
||||
|
||||
$mod+o exec --no-startup-id echo '' | wl-copy
|
||||
}
|
||||
|
||||
### Resize mode
|
||||
mode "resize" {
|
||||
bindsym $left resize shrink width 100px
|
||||
bindsym $down resize shrink height 100px
|
||||
bindsym $up resize grow height 100px
|
||||
bindsym $right resize grow width 100px
|
||||
|
||||
# Return to default mode
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
"$schema": "/etc/xdg/swaync/configSchema.json",
|
||||
"positionX": "right",
|
||||
"positionY": "top",
|
||||
"control-center-margin-top": 0,
|
||||
"control-center-margin-bottom": 0,
|
||||
"control-center-margin-right": 0,
|
||||
"control-center-margin-left": 0,
|
||||
"timeout": 10,
|
||||
"timeout-low": 5,
|
||||
"timeout-critical": 0,
|
||||
"fit-to-screen": true,
|
||||
"control-center-width": 500,
|
||||
"notification-window-width": 500,
|
||||
"keyboard-shortcuts": true,
|
||||
"image-visibility": "when-available",
|
||||
"transition-time": 200,
|
||||
"hide-on-clear": false,
|
||||
"hide-on-action": true,
|
||||
"script-fail-notify": true,
|
||||
"scripts": {},
|
||||
"notification-visibility": {
|
||||
"volume": {
|
||||
"state": "ignored",
|
||||
"app-name": "notify-on-volume"
|
||||
},
|
||||
"mic-state": {
|
||||
"state": "ignored",
|
||||
"app-name": "microphone-is-muted"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,187 +0,0 @@
|
||||
/*
|
||||
* vim: ft=less
|
||||
*/
|
||||
|
||||
@define-color cc-bg rgba(0, 0, 0, 0.7);
|
||||
|
||||
@define-color noti-border-color rgba(255, 255, 255, 0.15);
|
||||
@define-color noti-bg rgb(48, 48, 48);
|
||||
@define-color noti-bg-hover rgb(56, 56, 56);
|
||||
@define-color noti-bg-focus rgba(68, 68, 68, 0.6);
|
||||
@define-color noti-close-bg rgba(255, 255, 255, 0.1);
|
||||
@define-color noti-close-bg-hover rgba(255, 255, 255, 0.15);
|
||||
|
||||
@define-color bg-selected rgb(0, 128, 255);
|
||||
|
||||
.notification-row {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.notification-row:focus,
|
||||
.notification-row:hover {
|
||||
background: @noti-bg-focus;
|
||||
}
|
||||
|
||||
.notification {
|
||||
border-radius: 12px;
|
||||
margin: 6px 12px;
|
||||
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3),
|
||||
0 1px 3px 1px rgba(0, 0, 0, 0.7),
|
||||
0 2px 6px 2px rgba(0, 0, 0, 0.3);
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Uncomment to enable specific urgency colors
|
||||
.low {
|
||||
background: yellow;
|
||||
padding: 6px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.normal {
|
||||
background: green;
|
||||
padding: 6px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.critical {
|
||||
background: red;
|
||||
padding: 6px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
*/
|
||||
|
||||
.notification-content {
|
||||
background: transparent;
|
||||
padding: 6px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.close-button {
|
||||
background: @noti-close-bg;
|
||||
color: white;
|
||||
text-shadow: none;
|
||||
padding: 0 4px;
|
||||
border-radius: 100%;
|
||||
margin-top: 10px;
|
||||
margin-right: 16px;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.close-button:hover {
|
||||
box-shadow: none;
|
||||
background: @noti-close-bg-hover;
|
||||
transition: all 0.15s ease-in-out;
|
||||
}
|
||||
|
||||
.notification-default-action,
|
||||
.notification-action {
|
||||
padding: 4px;
|
||||
margin: 0;
|
||||
box-shadow: none;
|
||||
background: @noti-bg;
|
||||
border: 1px solid @noti-border-color;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.notification-default-action:hover,
|
||||
.notification-action:hover {
|
||||
-gtk-icon-effect: none;
|
||||
background: @noti-bg-hover;
|
||||
}
|
||||
|
||||
.notification-default-action {
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
/* When alternative actions are visible */
|
||||
.notification-default-action:not(:only-child) {
|
||||
border-bottom-left-radius: 0px;
|
||||
border-bottom-right-radius: 0px;
|
||||
}
|
||||
|
||||
.notification-action {
|
||||
border-radius: 0px;
|
||||
border-top: none;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
/* add bottom border radius to eliminate clipping */
|
||||
.notification-action:first-child {
|
||||
border-bottom-left-radius: 10px;
|
||||
}
|
||||
|
||||
.notification-action:last-child {
|
||||
border-bottom-right-radius: 10px;
|
||||
border-right: 1px solid @noti-border-color;
|
||||
}
|
||||
|
||||
.image {}
|
||||
|
||||
.body-image {
|
||||
margin-top: 6px;
|
||||
background-color: white;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.summary {
|
||||
color: white;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.time {
|
||||
color: white;
|
||||
text-shadow: none;
|
||||
margin-right: 18px;
|
||||
}
|
||||
|
||||
.body {
|
||||
background: transparent;
|
||||
color: white;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.top-action-title {
|
||||
color: white;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.control-center-clear-all {
|
||||
color: white;
|
||||
text-shadow: none;
|
||||
background: @noti-bg;
|
||||
border: 1px solid @noti-border-color;
|
||||
box-shadow: none;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.control-center-clear-all:hover {
|
||||
background: @noti-bg-hover;
|
||||
}
|
||||
|
||||
.control-center-dnd {
|
||||
border-radius: 12px;
|
||||
background: @noti-bg;
|
||||
border: 1px solid @noti-border-color;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.control-center-dnd:checked {
|
||||
background: @bg-selected;
|
||||
}
|
||||
|
||||
.control-center-dnd slider {
|
||||
background: @noti-bg-hover;
|
||||
}
|
||||
|
||||
.control-center {
|
||||
background: @cc-bg;
|
||||
}
|
||||
|
||||
.control-center-list {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.floating-notifications {
|
||||
background: transparent;
|
||||
}
|
||||
@@ -1,64 +0,0 @@
|
||||
{
|
||||
"position": "top",
|
||||
"modules-left": [
|
||||
"sway/workspaces",
|
||||
"cpu",
|
||||
"custom/gpu-usage",
|
||||
"disk",
|
||||
"sway/mode"
|
||||
],
|
||||
"modules-right": ["tray", "wireplumber", "sway/language", "network", "clock"],
|
||||
"sway/workspaces": {
|
||||
"all-output": true,
|
||||
"format": "{index}"
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "--{}--",
|
||||
"tooltip": false
|
||||
},
|
||||
"cpu": {
|
||||
"format": "CPU: {usage}%",
|
||||
"interval": 1
|
||||
},
|
||||
"custom/gpu-usage": {
|
||||
"exec": "cat /sys/class/hwmon/hwmon2/device/gpu_busy_percent",
|
||||
"format": "GPU: {}%",
|
||||
"interval": 1
|
||||
},
|
||||
"disk": {
|
||||
"format": "Disk: {percentage_used}% [{used}/{total}]"
|
||||
},
|
||||
"wireplumber": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-icons": ["", "", ""],
|
||||
"format-muted": " 0%",
|
||||
"tooltip": false
|
||||
},
|
||||
"sway/language": {
|
||||
"tooltip": false
|
||||
},
|
||||
"network": {
|
||||
"format": "{icon}",
|
||||
"format-ethernet": "",
|
||||
"format-wifi": "",
|
||||
"format-disconnected": "No network",
|
||||
"tooltip": false
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%d %b %H:%M, %A}",
|
||||
"tooltip-format": "<big><tt>{calendar}</tt></big>",
|
||||
"locale": "ru_RU.UTF-8",
|
||||
"calendar": {
|
||||
"mode": "year",
|
||||
"mode-mon-col": 3,
|
||||
"format": {
|
||||
"months": "<span color='#ddfc74'><b>{}</b></span>",
|
||||
"today": "<span color='#ffcc66'><b><u>{}</u></b></span>"
|
||||
}
|
||||
}
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 22,
|
||||
"spacing": 10
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
#! /bin/bash
|
||||
|
||||
killall waybar
|
||||
|
||||
waybar -c ~/.config/waybar/config.json -s ~/.config/waybar/style.css
|
||||
@@ -1,49 +0,0 @@
|
||||
/* Colors */
|
||||
@define-color background #282828;
|
||||
@define-color background-alt #32302f;
|
||||
@define-color foreground #ddc7a1;
|
||||
@define-color primary #d4be98;
|
||||
|
||||
window#waybar {
|
||||
background: @background;
|
||||
color: @foreground;
|
||||
font-family: "Iosevka NF", "Fira Code Nerd Font", "Font Awesome 6 Free",
|
||||
"Font Awesome 6 Brands";
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
color: @foreground;
|
||||
border-radius: 0;
|
||||
padding: 12px 28px;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background: @background-alt;
|
||||
color: @primary;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background: @primary;
|
||||
}
|
||||
|
||||
#mode {
|
||||
color: @primary;
|
||||
}
|
||||
|
||||
#cpu,
|
||||
#custom-gpu-usage,
|
||||
#disk {
|
||||
margin: 8px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#tray,
|
||||
#wireplumber,
|
||||
#language,
|
||||
#network,
|
||||
#clock {
|
||||
margin: 8px;
|
||||
padding: 0;
|
||||
color: @foreground;
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
{
|
||||
"label": "lock",
|
||||
"action": "$HOME/dotfiles/bin/lock.sh just-lock",
|
||||
"text": "",
|
||||
"keybind": "l"
|
||||
},
|
||||
{
|
||||
"label": "logout",
|
||||
"action": "swaymsg exit",
|
||||
"text": "",
|
||||
"keybind": "e"
|
||||
},
|
||||
{
|
||||
"label": "shutdown",
|
||||
"action": "systemctl poweroff",
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"label": "reboot",
|
||||
"action": "systemctl reboot",
|
||||
"text": "",
|
||||
"keybind": "r"
|
||||
},
|
||||
{
|
||||
"label": "suspend",
|
||||
"action": "systemctl suspend",
|
||||
"text": "",
|
||||
"keybind": "s"
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
* {
|
||||
background-image: none;
|
||||
}
|
||||
window {
|
||||
background-color: #191e2a;
|
||||
}
|
||||
button {
|
||||
color: #cbccc6;
|
||||
border: 1px solid transparent;
|
||||
background-color: #202734;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: 20%;
|
||||
font-size: 15px;
|
||||
box-shadow: 0 5px 4px 4px rgba(0, 0, 0, 0.1);
|
||||
text-shadow: none;
|
||||
margin: 10px;
|
||||
padding: 50px;
|
||||
}
|
||||
|
||||
button:focus,
|
||||
button:active {
|
||||
background-color: #ffa759;
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
border-color: #ffa759;
|
||||
}
|
||||
|
||||
#lock {
|
||||
background-image: image(
|
||||
url("/usr/share/wlogout/icons/lock.png"),
|
||||
url("/usr/local/share/wlogout/icons/lock.png")
|
||||
);
|
||||
}
|
||||
|
||||
#logout {
|
||||
background-image: image(
|
||||
url("/usr/share/wlogout/icons/logout.png"),
|
||||
url("/usr/local/share/wlogout/icons/logout.png")
|
||||
);
|
||||
}
|
||||
|
||||
#suspend {
|
||||
background-image: image(
|
||||
url("/usr/share/wlogout/icons/suspend.png"),
|
||||
url("/usr/local/share/wlogout/icons/suspend.png")
|
||||
);
|
||||
}
|
||||
|
||||
#hibernate {
|
||||
background-image: image(
|
||||
url("/usr/share/wlogout/icons/hibernate.png"),
|
||||
url("/usr/local/share/wlogout/icons/hibernate.png")
|
||||
);
|
||||
}
|
||||
|
||||
#shutdown {
|
||||
background-image: image(
|
||||
url("/usr/share/wlogout/icons/shutdown.png"),
|
||||
url("/usr/local/share/wlogout/icons/shutdown.png")
|
||||
);
|
||||
}
|
||||
|
||||
#reboot {
|
||||
background-image: image(
|
||||
url("/usr/share/wlogout/icons/reboot.png"),
|
||||
url("/usr/local/share/wlogout/icons/reboot.png")
|
||||
);
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
anchor=bottom
|
||||
width=600
|
||||
margin=70
|
||||
@@ -1,23 +0,0 @@
|
||||
local wezterm = require("wezterm")
|
||||
|
||||
local config = wezterm.config_builder()
|
||||
|
||||
config.color_scheme = "ayu"
|
||||
|
||||
config.enable_tab_bar = false
|
||||
config.enable_wayland = true
|
||||
|
||||
config.window_padding = {
|
||||
left = 0,
|
||||
right = 0,
|
||||
top = 0,
|
||||
bottom = 0,
|
||||
}
|
||||
|
||||
config.font = wezterm.font("JetBrains Mono", {
|
||||
weight = "Medium",
|
||||
})
|
||||
|
||||
config.harfbuzz_features = { "calt=0", "clig=0", "liga=0" }
|
||||
|
||||
return config
|
||||
Reference in New Issue
Block a user