encore des configs
parent
83f591c4e4
commit
654b749f2a
|
|
@ -28,16 +28,17 @@ set $ws12 "12:"
|
||||||
# default apps
|
# default apps
|
||||||
set $term "footclient"
|
set $term "footclient"
|
||||||
set $browser "export MOZ_ENABLE_WAYLAND=1 && firefox"
|
set $browser "export MOZ_ENABLE_WAYLAND=1 && firefox"
|
||||||
set $mailer "export MOZ_ENABLE_WAYLAND=1 && thunderbird"
|
#set $mailer "export MOZ_ENABLE_WAYLAND=1 && thunderbird"
|
||||||
set $p2p "transmission-gtk"
|
#set $p2p "transmission-gtk"
|
||||||
set $player "$term --title=player --app-id=player mocp"
|
#set $player "$term --title=player --app-id=player mocp"
|
||||||
set $mixer "$term -W 80x25 --title=mixer --app-id=mixer alsamixer"
|
#set $mixer "$term -W 80x25 --title=mixer --app-id=mixer alsamixer"
|
||||||
set $infosbox "xterm -g 110x30 -e 'neowofetch;$SHELL'"
|
#set $infosbox "xterm -g 110x30 -e 'neowofetch;$SHELL'"
|
||||||
set $infosystem "foot -W 140x40 --title Infos-System btop"
|
#set $infosystem "foot -W 140x40 --title Infos-System btop"
|
||||||
|
set $cheatsheet "foot -W 200x200 --title Cheat sway-bindings"
|
||||||
|
|
||||||
# menu by rofi
|
# menu by rofi
|
||||||
set $menup "popmenu 0"
|
#set $menup "popmenu 0"
|
||||||
set $menud "rofi -modi 'run,drun,ssh' -show run -sidebar-mode"
|
#set $menud "rofi -modi 'run,drun,ssh' -show run -sidebar-mode"
|
||||||
|
|
||||||
# nice locker
|
# nice locker
|
||||||
set $locker "nakedquit lock"
|
#set $locker "nakedquit lock"
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
# You can send windows there and get them back later.
|
# You can send windows there and get them back later.
|
||||||
|
|
||||||
# launch a terminal and move it to scratch at launch
|
# launch a terminal and move it to scratch at launch
|
||||||
exec --no-startup-id "sleep 10 && $term -t scratch -a scratch -m -e byobu"
|
#exec --no-startup-id "sleep 10 && $term -t scratch -a scratch -m -e byobu"
|
||||||
for_window [app_id="scratch"] floating enable, move absolute position center
|
for_window [app_id="scratch"] floating enable, move absolute position center
|
||||||
for_window [app_id="scratch"] move scratchpad
|
for_window [app_id="scratch"] move scratchpad
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,6 @@ seat * hide_cursor 5000
|
||||||
exec python3 $HOME/.config/sway/scripts/inactive-windows-transparency.py -o 0.95
|
exec python3 $HOME/.config/sway/scripts/inactive-windows-transparency.py -o 0.95
|
||||||
|
|
||||||
# wallpaper
|
# wallpaper
|
||||||
output * bg /home/gil/.local/share/background/layout.jpg fit
|
#output * bg /home/gil/.local/share/background/layout.jpg fit
|
||||||
#exec_always --no-startup-id "$HOME/.config/sway/scripts/wallrdm"
|
#exec_always --no-startup-id "$HOME/.config/sway/scripts/wallrdm"
|
||||||
#exec --no-startup-id "while $HOME/.config/sway/scripts/wallrdm; do sleep 179; done"
|
#exec --no-startup-id "while $HOME/.config/sway/scripts/wallrdm; do sleep 179; done"
|
||||||
|
|
|
||||||
|
|
@ -36,12 +36,11 @@ for_window [class="Sxiv|Nsxiv|Gimp"] title_format " %title"
|
||||||
|
|
||||||
# assign clients to specific workspace
|
# assign clients to specific workspace
|
||||||
# ws1 mail
|
# ws1 mail
|
||||||
assign [app_id="thunderbird*"] $ws1
|
assign [app_id="thunderbird*|Mattermost*"] $ws1
|
||||||
# ws2 web
|
# ws2 web
|
||||||
assign [app_id="firefox-esr"] $ws2
|
assign [app_id="firefox"] $ws2
|
||||||
assign [class="Firefox-esr|Dillo"] $ws2
|
# ws3 dev
|
||||||
# ws3 irc
|
assign [app_id="irc|xmpp|jetbrains-idea"] $ws3
|
||||||
assign [app_id="irc|xmpp"] $ws3
|
|
||||||
# ws4 edit
|
# ws4 edit
|
||||||
assign [app_id="geany|libreoffice*"] $ws4
|
assign [app_id="geany|libreoffice*"] $ws4
|
||||||
# ws5 media
|
# ws5 media
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,8 @@ bindsym $mad+y exec 'grim -g "$(slurp)" - | wl-copy'
|
||||||
# apps launchers keybinds
|
# apps launchers keybinds
|
||||||
bindsym $mad+r exec "$term --title=filer --app-id=filer lf"
|
bindsym $mad+r exec "$term --title=filer --app-id=filer lf"
|
||||||
bindsym $mad+Shift+r exec "pcmanfm --no-desktop"
|
bindsym $mad+Shift+r exec "pcmanfm --no-desktop"
|
||||||
bindsym $mad+e exec "$term --title=vim --app-id=vim vim"
|
#bindsym $mad+e exec "$term --title=vim --app-id=vim vim"
|
||||||
bindsym $mad+Shift+e exec "geany"
|
hindsym $mad+Shift+e exec "geany"
|
||||||
bindsym $mad+x exec "foot --title=irc --app-id=irc weechat-curses"
|
bindsym $mad+x exec "foot --title=irc --app-id=irc weechat-curses"
|
||||||
bindsym $mad+Shift+x exec "$mailer"
|
bindsym $mad+Shift+x exec "$mailer"
|
||||||
bindsym $mad+w exec "$browser"
|
bindsym $mad+w exec "$browser"
|
||||||
|
|
@ -54,7 +54,7 @@ bindsym XF86MonBrightnessUp exec --no-startup-id "brightnessctl s 5%+"
|
||||||
bindsym XF86MonBrightnessDown exec --no-startup-id "brightnessctl s 5%-"
|
bindsym XF86MonBrightnessDown exec --no-startup-id "brightnessctl s 5%-"
|
||||||
|
|
||||||
# mocp bindings
|
# mocp bindings
|
||||||
bindsym $mad+z exec "$player"
|
#bindsym $mad+z exec "$player"
|
||||||
bindsym XF86AudioPrev exec --no-startup-id "mocp --previous"
|
bindsym XF86AudioPrev exec --no-startup-id "mocp --previous"
|
||||||
bindsym XF86AudioPlay exec --no-startup-id "mocp --toggle-pause"
|
bindsym XF86AudioPlay exec --no-startup-id "mocp --toggle-pause"
|
||||||
bindsym XF86AudioNext exec --no-startup-id "mocp --next"
|
bindsym XF86AudioNext exec --no-startup-id "mocp --next"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue