Cian Butler před 5 roky
rodič
revize
9f7b1bbd07
2 změnil soubory, kde provedl 41 přidání a 35 odebrání
  1. +5
    -5
      i3/config
  2. +36
    -30
      xbindkeysrc

+ 5
- 5
i3/config Zobrazit soubor

@@ -156,16 +156,16 @@ bindsym $mod+i exec rofi -show ssh
bindsym $mod+d exec rofi -show run

# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 1 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 1 -5% #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 1 toggle # mute sound
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 5%+ unmute#increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 10%- #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle # mute sound

# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness

# Media player controls
bindsym XF86AudioPlay exec playerctl play
bindsym XF86AudioPause exec playerctl pause
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioPause exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous

+ 36
- 30
xbindkeysrc Zobrazit soubor

@@ -1,51 +1,57 @@
# thumb button => play/pause music
# Credit to gregmuellegger https://bbs.archlinux.org/viewtopic.php?pid=1551271#p1551271
"sleep 0.1 && xte 'key XF86AudioPlay'"
m:0xc + c:23

# These Are for a chromebook c720 and stupid anywhere else
# added Home, End, Pg Up, Pg Down, and Del keys using the Alt+arrow key combos
#Delete
"xvkbd -xsendevent -text '\[Delete]'"
m:0x8 + c:22
Alt + BackSpace
#"xvkbd -xsendevent -text '\[Delete]'"
# m:0x8 + c:22
# Alt + BackSpace

#End
"xvkbd -xsendevent -text '\[End]'"
m:0x4 + m:0x8 + c:114
Ctrl + Alt + Right
#"xvkbd -xsendevent -text '\[End]'"
# m:0x4 + m:0x8 + c:114
# Ctrl + Alt + Right

#Home
"xvkbd -xsendevent -text '\[Home]'"
m:0x4 + m:0x8 + c:113
Ctrl + Alt + Left
#"xvkbd -xsendevent -text '\[Home]'"
# m:0x4 + m:0x8 + c:113
# Ctrl + Alt + Left

#Page Down
"xvkbd -xsendevent -text '\[Page_Down]'"
m:0x4 + m:0x8 + c:116
Ctrl + Alt + Down
#"xvkbd -xsendevent -text '\[Page_Down]'"
# m:0x4 + m:0x8 + c:116
# Ctrl + Alt + Down

#Page Up
"xvkbd -xsendevent -text '\[Page_Up]'"
m:0x4 + m:0x8 + c:111
Ctrl + Alt + Up
#"xvkbd -xsendevent -text '\[Page_Up]'"
# m:0x4 + m:0x8 + c:111
# Ctrl + Alt + Up

#Backlight Down
"xbacklight -dec 5"
m:0x8 + c:72
Alt + F6
#"xbacklight -dec 5"
# m:0x8 + c:72
# Alt + F6

#Backlight Up
"xbacklight -inc 5"
m:0x8 + c:73
Alt + F7
#"xbacklight -inc 5"
# m:0x8 + c:73
# Alt + F7

#Mute
"pactl set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo toggle"
m:0x8 + c:74
Alt + F8
#"amixer set Master toggle"
# m:0x8 + c:74
# Alt + F8

#Decrease Volume
"pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo -10%"
m:0x8 + c:75
Atl + F9
#"amixer set Master 10%-"
# m:0x8 + c:75
# Atl + F9

#Increase Volume
"pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo +10%"
m:0x8 + c:76
Alt + F10
#"amixer set Master 5%+ unmute"
# m:0x8 + c:76
# Alt + F10


Načítá se…
Zrušit
Uložit