sway and waybar configs for fedora 29
This commit is contained in:
@@ -19,7 +19,8 @@ set $Right ccedilla
|
||||
|
||||
# Your preferred terminal emulator
|
||||
#set $term urxvt256c-ml
|
||||
set $term konsole
|
||||
set $term gnome-terminal
|
||||
#set $term konsole
|
||||
|
||||
# Your preferred application launcher
|
||||
set $menu-alt dmenu_run
|
||||
@@ -37,9 +38,14 @@ set $menu i3-dmenu-desktop
|
||||
|
||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
font pango:DejaVu Sans Mono 10
|
||||
font pango:DejaVu Sans Mono 9
|
||||
|
||||
gaps 20
|
||||
### GAPS AND STATUS BAR
|
||||
#gaps 20
|
||||
#gaps bottom 40
|
||||
|
||||
#exec $HOME/.config/polybar/launch.sh
|
||||
#for_window [class="Polybar"] sticky enable, floating enable, border none
|
||||
|
||||
### SWAY SETUP ###
|
||||
|
||||
@@ -60,7 +66,9 @@ output "*" bg ~/src/wallpapers/default.jpg fill
|
||||
|
||||
### Input configuration
|
||||
#
|
||||
input "2:7:SynPS\/2_Synaptics_TouchPad" {
|
||||
#input "2:7:SynPS\/2_Synaptics_TouchPad" {
|
||||
#input "*" {
|
||||
input "2:7:SynPS/2_Synaptics_TouchPad" {
|
||||
dwt enabled
|
||||
tap enabled
|
||||
scroll_method two_finger
|
||||
@@ -72,7 +80,12 @@ input "2:7:SynPS\/2_Synaptics_TouchPad" {
|
||||
# `swaymsg -t get_inputs`
|
||||
# Read `man 5 sway-input` for more information about this section.
|
||||
|
||||
|
||||
#input "*" {
|
||||
input "1:1:AT_Translated_Set_2_keyboard" {
|
||||
xkb_layout br,us
|
||||
xkb_variant abnt2,altgr-intl
|
||||
xkb_options grp:alt_caps_toggle,compose:menu,eurosign:e,nbsp:level2,nbsp:zwnj3nb4,terminate:ctrl_alt_bksp
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -120,7 +133,8 @@ bindsym $mod+h split h
|
||||
bindsym $mod+v split v
|
||||
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
#bindsym $mod+f fullscreen toggle
|
||||
bindsym $mod+f exec /home/renato/.config/sway/fullscreen.sh
|
||||
|
||||
# change container layout (stacked, tabbed, toggle split)
|
||||
bindsym $mod+s layout stacking
|
||||
@@ -179,7 +193,7 @@ bindsym $mod+Shift+0 move container to workspace $ws10
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
#bindsym $mod+Shift+r restart
|
||||
#bindsym $mod+Shift+rmestart
|
||||
|
||||
|
||||
# exit i3 (logs you out of your X session)
|
||||
@@ -232,9 +246,9 @@ bindsym $mod+r mode "resize"
|
||||
# Polybar
|
||||
#status_command $HOME/.config/polybar/launch.sh
|
||||
#status_command i3status
|
||||
status_command waybar
|
||||
}
|
||||
|
||||
for_window [class="Polybar"] sticky enable, floating enable, border none
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
|
||||
@@ -255,12 +269,17 @@ bindsym $mod+z exec $lock
|
||||
bindsym $mod+Shift+z mode "$mode_exit"
|
||||
|
||||
# Exit
|
||||
|
||||
# exit i3 (logs you out of your X session)
|
||||
set $exit "swaynag -t warning -m 'Do you really want to exit your current session? All unsaved work will be lost!' -s 'No! Cancel!' -b 'Yes, exit!' 'swaymsg exit'"
|
||||
|
||||
#bindsym $mod+Shift+e mode "$mode_exit"
|
||||
|
||||
# exit sway (logs you out of your wayland session)
|
||||
bindsym $mod+Shift+e exit
|
||||
bindsym $mod+Shift+e exec $exit
|
||||
bindsym $mod+Shift+Escape exit
|
||||
|
||||
|
||||
# dmenu
|
||||
bindsym $mod+d exec --no-startup-id $menu
|
||||
# Move: `Mod+\` Show: `Mod+|`
|
||||
@@ -291,8 +310,6 @@ mode "$mode_exit" {
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
# exit i3 (logs you out of your X session)
|
||||
#bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
||||
|
||||
# XKBOPTIONS compose key
|
||||
exec_always --no-startup-id setxkbmap -option "compose:menu"
|
||||
|
||||
Reference in New Issue
Block a user