Compare commits

..

3 Commits

Author SHA1 Message Date
Steins7
9a74ff0cd5 Configured device mappings
+ added function keys actions
+ enabled tap to touch
! tried adding screenshot shortcuts
2021-12-06 16:23:23 +01:00
Steins7
7d721893c3 Updated device branch 2021-12-06 15:28:43 +01:00
Steins7
65d1b75ce9 Added current fly-away files
+ added fly-away config
2021-11-04 16:40:10 +01:00
4 changed files with 46 additions and 20 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 64 KiB

30
config
View File

@ -23,27 +23,14 @@ set $term alacritty
# on the original workspace that the command was run on.
#set $menu dmenu_path | dmenu | xargs swaymsg exec --
set $menu j4-dmenu-desktop --dmenu='bemenu -i --tf "#04819E" --nb "#000000" --hb "#000000" --nf "#A65200" --hf "#FF7F00" --fn "pango:DejaVu Sans Mono 12"' --term='alacritty'
### Output configuration
### Basic output configuration
#
set $bg_picture /home/main/.config/sway/background.jpg
output * bg $bg_picture fill
set $screenlock swaylock -f -i $bg_picture -c 000000
### Idle configuration
exec_always swayidle -w \
timeout 300 '$screenlock' \
timeout 280 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep '$screenlock'
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
### Input configuration
#
### Basic input configuration
input * {
xkb_layout "fr"
xkb_variant "azerty"
@ -52,7 +39,16 @@ input * {
repeat_rate 60
}
input * xkb_numlock enable
### Idle configuration
exec_always swayidle -w \
timeout 70 '$screenlock' \
timeout 60 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep '$screenlock'
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
### Status Bar:
#

33
config.d/fly_away Normal file
View File

@ -0,0 +1,33 @@
### Inputs config
#
input 1739:0:Synaptics_TM3075-002 {
tap enabled
}
### Function keys
#
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindsym XF86MonBrightnessDown exec brightnessctl set 5%- #TODO fix that
bindsym XF86MonBrightnessUp exec brightnessctl set +5% #TODO fix that
#bindsym XF86Display nothing for now
#bindsym XF86WLAN already implemented, toggles Wifi via rfkill
#bindsym XF86Tools nothing for now
bindsym XF86Search exec firefox
bindsym XF86Explorer exec $term -e ranger
bindsym XF86Launcha exec '$screenlock'
### Screenshots
#
# Take a screenshot with all outputs and save it into screenshots
bindsym Print exec '$screeshot'
# Take a screenshot of the active window
bindsym Print+Ctrl exec '$screenshot_window'
# Take a screenshot with the region selection
bindsym Print+Alt exec '$screenshot_select'

View File

@ -1,6 +1,3 @@
# Import and start relevant systemd services at Sway startup
exec_always "systemctl --user import-environment; systemctl --user start sway-session.target"
# Start nextcloud client
exec_always "nextcloud --background"