diff --git a/i3wm/config.fc28 b/i3wm/config.fc28 index 08fda66..ab498b0 100644 --- a/i3wm/config.fc28 +++ b/i3wm/config.fc28 @@ -30,7 +30,8 @@ font pango:DejaVu Sans Mono 9 floating_modifier $mod # start a terminal -bindsym $mod+Return exec i3-sensible-terminal +# bindsym $mod+Return exec i3-sensible-terminal +bindsym $mod+Return exec konsole # kill focused window bindsym $mod+Shift+q kill @@ -179,27 +180,96 @@ bar { ## RENATO ## +## Screenshot Lock Screen +# $ scrot /tmp/screenshot.png +# $ convert /tmp/screenshot.png -blur 0x5 /tmp/screenshotblur.png +# $ i3lock -i /tmp/screenshotblur.png +set $lock "scrot /tmp/i3lock.png; convert /tmp/i3lock.png -blur 0x5 /tmp/i3lock-blur.png; i3lock -i /tmp/i3lock-blur.png -c 00001e" + ### KEYBINDINGS ### -bindsym $mod+z exec i3lock -c 00001e -bindsym $mod+Shift+z exec i3lock -c 00001e && systemctl suspend +## xmodmap -pke +bindsym $mod+z exec $lock +bindsym $mod+Shift+z exec $lock && systemctl suspend bindsym $mod+Shift+d exec --no-startup-id i3-dmenu-desktop +bindsym $mod+backslash move scratchpad +bindsym $mod+Shift+bar scratchpad show +bindsym $mod+comma move scratchpad +bindsym $mod+period scratchpad show + +# Pulse Audio controls +# bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume +# bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume +# bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound + +# Alsa Mixer Audio controls +bindsym XF86AudioRaiseVolume exec amixer -q set Master 4%+ unmute +bindsym XF86AudioLowerVolume exec amixer -q set Master 4%- unmute +bindsym XF86AudioMute exec amixer -q set Master toggle + +# Sreen brightness controls +bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness +bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness + +# Touchpad controls +# bindsym XF85TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad + +# Media player controls +bindsym XF86AudioPlay exec playerctl play +bindsym XF86AudioPause exec playerctl pause +bindsym XF86AudioNext exec playerctl next +bindsym XF86AudioPrev exec playerctl previous ### EXEC ### # Tapping Enabled -exec xinput set-prop 15 298 1 - +#exec_always xinput set-prop "SynPS/2 Synaptics TouchPad" 302 1 +exec_always xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1 # KDE Connect -exec kdeconnect-indicator +#exec kdeconnect-indicator # Mattermost Desktop -exec /opt/Mattermost/mattermost-desktop --hidden +#exec /opt/Mattermost/mattermost-desktop --hidden # Skype For Linux -exec /usr/bin/skypeforlinux +#exec /usr/bin/skypeforlinux # Remmina Applet -exec remmina -i +#exec remmina -i # Wallpaper -exec ~/.fehbg +exec --no-startup-id feh --bg-scale ~/src/wallpapers/default.jpg + +# NetworkManager Tray Icon +#exec nm-tray + +# Window Rules + +assign [title="Área de Trabalho — Plasma"] 0 +for_window [class="plasmashell"] floating enable, border none +for_window [class="(?i)skype"] floating enable, border none + + + +# Float by type +for_window [window_role="pop-up"] floating enable +for_window [window_role="task_dialog"] floating enable +for_window [window_type="dialog"] floating enable +for_window [window_type="menu"] floating enable + + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + + +#---( focus related )---) +#focus_follows_mouse no + +no_focus [class="plasmashell"] +no_focus [window_role="pop-up"] +no_focus [window_type="notification"] + +# focus_on_window_activation none + +exec_always --no-startup-id compton -b + +###