Browse Source

I did it for the lulz!

pull/1/head
Cian Butler 5 years ago
parent
commit
6539d0e62c
3 changed files with 67 additions and 14 deletions
  1. +1
    -0
      Xmodmap
  2. +15
    -14
      i3/config
  3. +51
    -0
      xbindkeysrc

+ 1
- 0
Xmodmap View File

@@ -0,0 +1 @@
pointer = 1 2 3 5 4 7 6 8 9 10 11 12

+ 15
- 14
i3/config View File

@@ -85,9 +85,9 @@ bindsym $mod+a focus parent
bindsym $mod+s focus child

# switch to workspace
bindsym $mod+1 workspace 1 irc
bindsym $mod+2 workspace 2 web
bindsym $mod+3 workspace 3 term
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
@@ -97,9 +97,9 @@ bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10

# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1 irc
bindsym $mod+Shift+2 move container to workspace 2 web
bindsym $mod+Shift+3 move container to workspace 3 term
bindsym $mod+Shift+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
@@ -141,8 +141,7 @@ mode "resize" {

bindsym $mod+r mode "resize"

# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
# Start yabar to display a workspace bar (plus the system information)
exec --no-startup-id yabar -c .i3/yabar.conf

# Colors
@@ -150,11 +149,13 @@ client.focused #007fbf #007fbf #ffffff
client.unfocused #666666 #666666 #ffffff
client.urgent #aa0000 #990000 #ffffff

# Startup programs
# Set background
exec --no-startup-id feh --bg-fill ~/pictures/wallpaper.jpg
exec --no-startup-id devmon --no-gui
# Start Audio
exec --no-startup-id pulseaudio --start
# Set Custom keyboard mapping
exec --no-startup-id xbindkeys
# Start Wifi
exec --no-startup-id wicd-gtk -t

# Custom KeyBinds
@@ -170,15 +171,15 @@ smart_gaps on
#Nautilus
bindsym $mod+Shift+U exec nautilus --no-desktop --browser

#rofi
# rofi
bindsym $mod+o exec rofi -show window
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 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
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

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


+ 51
- 0
xbindkeysrc View File

@@ -0,0 +1,51 @@
# 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

#End
"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

#Page 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

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

#Backlight Up
"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

#Decrease Volume
"pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo -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


Loading…
Cancel
Save