Added mako

This commit is contained in:
dbroqua 2021-01-06 11:33:51 +01:00
parent c97df6b70a
commit fbe6053c91
2 changed files with 30 additions and 5 deletions

18
config/mako/config Normal file
View file

@ -0,0 +1,18 @@
layer=top
font=Droid Sans Mono Slashed for Powerline 9
max-visible=5
anchor=top-right
width=400
height=150
margin=20
border-size=2
border-radius=10
max-icon-size=32
background-color=#4c566add
text-color=#d8dee9
border-color=#434c5e
default-timeout=10000
ignore-timeout=1

View file

@ -5,15 +5,15 @@ input "type:keyboard" {
xkb_options "compose:rwin"
}
# Screens definitions
output HDMI-A-3 resolution 2560x1080@75Hz position 0,0 adaptive_sync on
output DP-1 resolution 1920x1080@75Hz position 2560,0
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
# Displays
set $display1 HDMI-A-3
set $display2 DP-1
# Your preferred terminal emulator
set $term /usr/bin/termite
@ -31,6 +31,10 @@ set $wallpapers_path $HOME/Nextcloud/images/Wallpaper/Rotation
set $modalWidth 1280
set $modalHeight 800
# Screens definitions
output $display1 resolution 2560x1080@75Hz position 0,0 adaptive_sync on
output $display2 resolution 1920x1080@75Hz position 2560,0
### Gnome settings
# TODO: à vérifier/modifier
set $gnome-schema org.gnome.desktop.interface
@ -54,7 +58,8 @@ exec swayidle -w \
before-sleep 'swaylock -f'
### Autostart
exec nm-applet --indicator
exec dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus
exec mako
### Window config
for_window [app_id=".*"] border pixel 4
@ -162,6 +167,8 @@ bindsym $mod+Shift+0 move container to workspace number 10
# switch to previous/next workspace
bindsym Mod1+Control+a workspace prev_on_output
bindsym Mod1+Control+d workspace next_on_output
# Default placement
workspace 1 output $display1
#