From 0c386baf4f6d24cbdf22a2df21935dd029f12277 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 14 May 2015 13:49:16 +0200 Subject: i3: Change keybindings slightly to fit dvorak better --- i3/config | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'i3/config') diff --git a/i3/config b/i3/config index 4175450..c27518e 100644 --- a/i3/config +++ b/i3/config @@ -21,12 +21,12 @@ bindsym $mod+Shift+j move down bindsym $mod+Shift+k move up bindsym $mod+Shift+l move right -bindsym $mod+b split h +bindsym $mod+w split h bindsym $mod+v split v bindsym $mod+f fullscreen bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed +bindsym $mod+t layout tabbed bindsym $mod+e layout toggle split bindsym $mod+Shift+space floating toggle # change focus between tiling / floating windows @@ -153,9 +153,9 @@ bindsym XF86AudioRaiseVolume exec volumecontrol.bash raise bindsym XF86ScreenSaver exec screenlock.bash new_window 1pixel -bindsym $mod+t border normal -bindsym $mod+y border 1pixel -bindsym $mod+u border none +bindsym $mod+b border normal +bindsym $mod+p border 1pixel +bindsym $mod+n border none for_window [class="Gifview"] floating enable -- cgit v1.2.3-70-g09d2 From b21ac4212688fe34f54819f81f1d6b5549a1baba Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 16 May 2015 01:48:53 +0200 Subject: i3: volumecontrol.bash was renamed --- i3/config | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'i3/config') diff --git a/i3/config b/i3/config index c27518e..7160ada 100644 --- a/i3/config +++ b/i3/config @@ -145,11 +145,11 @@ bindsym XF86AudioNext exec --no-startup-id mpc next bindsym XF86AudioPrev exec --no-startup-id mpc prev # control PulseAudio from media keys -bindsym XF86AudioMute exec volumecontrol.bash mute -bindsym XF86Back exec volumecontrol.bash lower -bindsym XF86AudioLowerVolume exec volumecontrol.bash lower -bindsym XF86Forward exec volumecontrol.bash raise -bindsym XF86AudioRaiseVolume exec volumecontrol.bash raise +bindsym XF86AudioMute exec volumecontrol mute +bindsym XF86Back exec volumecontrol lower +bindsym XF86AudioLowerVolume exec volumecontrol lower +bindsym XF86Forward exec volumecontrol raise +bindsym XF86AudioRaiseVolume exec volumecontrol raise bindsym XF86ScreenSaver exec screenlock.bash new_window 1pixel -- cgit v1.2.3-70-g09d2 From e252166331f4186c4a6c3861a6a0615533c52eef Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 29 May 2015 13:09:06 +0200 Subject: i3: Add scratchpad shortcuts --- i3/config | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'i3/config') diff --git a/i3/config b/i3/config index 7160ada..85ebb1c 100644 --- a/i3/config +++ b/i3/config @@ -157,6 +157,12 @@ bindsym $mod+b border normal bindsym $mod+p border 1pixel bindsym $mod+n border none +# Make the currently focused window a scratchpad +bindsym $mod+Shift+minus move scratchpad + +# Show the first scratchpad window +bindsym $mod+minus scratchpad show + for_window [class="Gifview"] floating enable exec --no-startup-id dex -s $HOME/.config/autostart -a -e i3 -- cgit v1.2.3-70-g09d2 From 3ec77c52913f286cd9d3baa9e06e4fd0ff09dbf0 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 10 Jul 2015 17:57:51 +0200 Subject: i3: Split trackpoint config out into script in bin repo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- i3/config | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'i3/config') diff --git a/i3/config b/i3/config index 85ebb1c..998bc89 100644 --- a/i3/config +++ b/i3/config @@ -125,18 +125,13 @@ bar { } } +for_window [class="Gifview"] floating enable + + bindsym $mod+Shift+g exec --no-startup-id setxkbmap us #bindsym $mod+Shift+u exec --no-startup-id setxkbmap dvp bindsym $mod+Shift+u exec --no-startup-id setxkbmap dvorak -# TrackPoint scrolling -exec --no-startup-id xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1 -exec --no-startup-id xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2 -exec --no-startup-id xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 150 -exec --no-startup-id xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5 -exec --no-startup-id xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Middle Button Emulation" 1 -exec --no-startup-id xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Inertia" 25 -exec --no-startup-id xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Off" 1 # control ncmpcpp / mpd from media keys bindsym XF86AudioPlay exec --no-startup-id mpc toggle @@ -144,6 +139,7 @@ bindsym XF86AudioStop exec --no-startup-id mpc stop bindsym XF86AudioNext exec --no-startup-id mpc next bindsym XF86AudioPrev exec --no-startup-id mpc prev + # control PulseAudio from media keys bindsym XF86AudioMute exec volumecontrol mute bindsym XF86Back exec volumecontrol lower @@ -152,17 +148,22 @@ bindsym XF86Forward exec volumecontrol raise bindsym XF86AudioRaiseVolume exec volumecontrol raise bindsym XF86ScreenSaver exec screenlock.bash + new_window 1pixel bindsym $mod+b border normal bindsym $mod+p border 1pixel bindsym $mod+n border none + # Make the currently focused window a scratchpad bindsym $mod+Shift+minus move scratchpad # Show the first scratchpad window bindsym $mod+minus scratchpad show -for_window [class="Gifview"] floating enable + +# TrackPoint scrolling +exec setup-trackpoint + exec --no-startup-id dex -s $HOME/.config/autostart -a -e i3 -- cgit v1.2.3-70-g09d2 From 005336ba8c3ce50cb7fa445252b0139f1bf7bcf4 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 11 Jul 2015 06:30:02 +0200 Subject: i3: add mic mute binding --- i3/config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'i3/config') diff --git a/i3/config b/i3/config index 998bc89..c392c69 100644 --- a/i3/config +++ b/i3/config @@ -142,10 +142,11 @@ bindsym XF86AudioPrev exec --no-startup-id mpc prev # control PulseAudio from media keys bindsym XF86AudioMute exec volumecontrol mute -bindsym XF86Back exec volumecontrol lower +bindsym XF86AudioMicMute exec volumecontrol mute-mic bindsym XF86AudioLowerVolume exec volumecontrol lower -bindsym XF86Forward exec volumecontrol raise bindsym XF86AudioRaiseVolume exec volumecontrol raise + + bindsym XF86ScreenSaver exec screenlock.bash -- cgit v1.2.3-70-g09d2 From 2d80651057d2d2b4ac501e2976547379340d034d Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 10 Jul 2015 13:49:20 +0200 Subject: Update i3 configs for zorg --- i3/bar.py | 4 ++-- i3/config | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'i3/config') diff --git a/i3/bar.py b/i3/bar.py index a7a585d..064eafc 100644 --- a/i3/bar.py +++ b/i3/bar.py @@ -18,7 +18,7 @@ status.register("battery", "CHR": "↑", "FULL": "=", }, - battery_ident="BAT1",) + battery_ident="BAT0",) status.register("temp", @@ -36,7 +36,7 @@ status.register("pulseaudio", # },) status.register("network", - interface="wlp3s0", + interface="wlp4s0", format_up="{essid:.10s}: {v4cidr} {quality:3.0f}%",) # Shows disk usage of / diff --git a/i3/config b/i3/config index c392c69..0fb298d 100644 --- a/i3/config +++ b/i3/config @@ -111,7 +111,7 @@ bindsym $mod+r mode "resize" # i3bar bar { - status_command python ~/.config/i3/bar.py + status_command ~/.local/venv/bin/python ~/.config/i3/bar.py position bottom workspace_buttons yes colors { -- cgit v1.2.3-70-g09d2 From bf10243ef430c895c1bf06940a5d39a9a08a3056 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 10 Jul 2015 20:04:48 +0200 Subject: increase i3/termite font size to 10. --- i3/config | 2 +- termite/config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'i3/config') diff --git a/i3/config b/i3/config index 0fb298d..0152531 100644 --- a/i3/config +++ b/i3/config @@ -1,7 +1,7 @@ set $mod Mod4 #font pango:visitor tt2 brk 10 -font pango:Source Code Pro 8 +font pango:Source Code Pro 9 floating_modifier $mod bindsym $mod+Return exec termite diff --git a/termite/config b/termite/config index 2d11307..fa2247e 100644 --- a/termite/config +++ b/termite/config @@ -9,7 +9,7 @@ allow_bold = true dynamic_title = true urgent_on_bell = true clickable_url = true -font = FNCP6 9.2 +font = FNCP6 10.2 scrollback_lines = 1000 search_wrap = true icon_name = terminal -- cgit v1.2.3-70-g09d2 From 76c826827a7693924e68f274b338f87d59dcca30 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 16 Jul 2015 22:19:37 +0200 Subject: i3: Add brightnes keybindings --- i3/config | 2 ++ 1 file changed, 2 insertions(+) (limited to 'i3/config') diff --git a/i3/config b/i3/config index 0152531..0cabb5c 100644 --- a/i3/config +++ b/i3/config @@ -132,6 +132,8 @@ bindsym $mod+Shift+g exec --no-startup-id setxkbmap us #bindsym $mod+Shift+u exec --no-startup-id setxkbmap dvp bindsym $mod+Shift+u exec --no-startup-id setxkbmap dvorak +bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10 +bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10 # control ncmpcpp / mpd from media keys bindsym XF86AudioPlay exec --no-startup-id mpc toggle -- cgit v1.2.3-70-g09d2