refactor: Get Sway config from tom
This commit is contained in:
parent
d8dad0762e
commit
18fdf1adc7
@ -226,6 +226,7 @@ bar 1 {
|
||||
}
|
||||
}
|
||||
|
||||
# Va lancer notamment session.sh pour les variables XDG_SESSION et touti quanti
|
||||
include /etc/sway/config.d/*
|
||||
|
||||
# Ajout pour Olivier
|
||||
|
@ -1,6 +1,9 @@
|
||||
# Presse-papiers
|
||||
|
||||
# La base
|
||||
exec wl-paste -t text --watch clipman store
|
||||
# Presse-papier primaire : avec sauvegarde de l'historique dans un fichier JSON
|
||||
## CLIPMAN
|
||||
exec wl-paste -t text --watch clipman store # Pour clipman
|
||||
## Presse-papier primaire : avec sauvegarde de l'historique dans un fichier JSON
|
||||
exec wl-paste -p -t text --watch clipman store -P --histpath="~/.local/share/clipman-primary.json"
|
||||
|
||||
# CLIPHIST (multimédia inclus)
|
||||
#exec wl-paste --watch cliphist store
|
||||
|
11
.config/sway/config.d/12-lanceur.conf
Normal file
11
.config/sway/config.d/12-lanceur.conf
Normal file
@ -0,0 +1,11 @@
|
||||
# Configuration du lanceur d'application
|
||||
|
||||
# Apparence d'une fenêtre nommée Launcher
|
||||
for_window [app_id="^launcher$"] floating enable, sticky enable, resize set 30 ppt 60 ppt, border pixel 10
|
||||
|
||||
# Choix d'un lanceur
|
||||
set $menu exec alacritty --class launcher -T 'Programmes' -e env TERMINAL_COMMAND='swaymsg exec' /usr/bin/sway-launcher-desktop
|
||||
|
||||
# On change le raccourci clavier en conséquence
|
||||
unbindsym $mod+d
|
||||
bindsym $mod+d exec $menu
|
@ -1,3 +1,3 @@
|
||||
|
||||
# Change background
|
||||
output * bg /home/od/.config/sway/abstract-blue-background-1920x1200.jpg fill
|
||||
output * bg /home/od/.config/i3/abstract-blue-background-1920x1200.jpg fill
|
||||
|
@ -10,12 +10,12 @@ assign [app_id="jetbrains-idea|Code"] workspace 1
|
||||
|
||||
# Bureau 2 (navigation web)
|
||||
assign [class="Google-chrome|Vivaldi-stable|Opera|Firefox|Navigator|Nightly|Chromium"] workspace 2
|
||||
assign [app_id="Google-chrome|Vivaldi-stable|Opera|Firefox|Navigator|Nightly|Chromium"] workspace 2
|
||||
assign [app_id="Google-chrome|Vivaldi-stable|opera|firefox|navigator|nightly|chromium"] workspace 2
|
||||
|
||||
# Bureau 3 (Courriel, PHPStorm)
|
||||
assign [class="Thunderbird|Mail|jetbrains-phpstorm"] workspace 3
|
||||
assign [app_id="Thunderbird|Mail|jetbrains-phpstorm"] workspace 3
|
||||
|
||||
# Bureau 4
|
||||
assign [class="Mattermost|mattermost-desktop|Rambox|Slack|Scudcloud|Gitter|Dino"] workspace 4
|
||||
assign [app_id="Mattermost|mattermost-desktop|Rambox|Slack|Scudcloud|Gitter|Dino|dino"] workspace 4
|
||||
assign [class="Mattermost|mattermost-desktop|Rambox|Slack|Scudcloud|Gitter|Dino|Signal"] workspace 4
|
||||
assign [app_id="Mattermost|mattermost-desktop|Rambox|Slack|Scudcloud|Gitter|dino|signal"] workspace 4
|
||||
|
@ -8,3 +8,6 @@ bindsym XF86AudioStop exec playerctl stop # arrêt musique/film/fichier
|
||||
|
||||
# Bouton impression écran
|
||||
bindsym Print exec grim Images/$(date +'%Y-%m-%d-%s_screenshot.jpg')
|
||||
|
||||
# Arrête l'enregistrement d'une vidéo avec wf-recorder
|
||||
bindsym Ctrl+Shift+BackSpace exec killall -s SIGINT wf-recorder
|
||||
|
@ -1,3 +1,9 @@
|
||||
# Presse-papier
|
||||
unbindsym $mod+h
|
||||
|
||||
## CLIPMAN
|
||||
bindsym $mod+h exec clipman pick -t wofi
|
||||
|
||||
# CLIPHIST
|
||||
#bindsym $mod+h exec cliphist list | fzf --no-sort | cliphist decode | wl-copy
|
||||
#bindsym $mod+h exec cliphist list | wofi -S dmenu | cliphist decode | wl-copy
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Économie des yeux (48.5680685:7.7709942 = Neudorf, rue de Fegersheim)
|
||||
exec gammastep-indicator
|
||||
exec_always "killall wlsunset ; wlsunset -t 3500 -T 5700 -l 48.5 -L 7.7 &"
|
||||
|
||||
# Notifications de bureau
|
||||
exec dunst
|
||||
|
Loading…
Reference in New Issue
Block a user