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
3 changed files with 43 additions and 14 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 64 KiB

24
config
View File

@ -24,13 +24,21 @@ set $term alacritty
#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
### Basic input configuration
input * {
xkb_layout "fr"
xkb_variant "azerty"
xkb_options ""
repeat_delay 300
repeat_rate 60
}
### Idle configuration
exec_always swayidle -w \
timeout 70 '$screenlock' \
@ -42,18 +50,6 @@ exec_always swayidle -w \
# 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
#
input * {
xkb_layout "fr"
xkb_variant "azerty"
xkb_options ""
repeat_delay 300
repeat_rate 60
}
input * xkb_numlock enable
### Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.

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'