From 60769ffaba3886ce6c5e0decd7afd079fa7167ac Mon Sep 17 00:00:00 2001 From: Nemo Date: Mon, 13 Nov 2017 13:04:04 +0530 Subject: [PATCH] Updates from Mac --- files/i3/.i3/config | 6 ++++++ files/x11/.Xresources | 4 ++-- files/x11/.xinitrc | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) mode change 100755 => 100644 files/x11/.xinitrc diff --git a/files/i3/.i3/config b/files/i3/.i3/config index 4ad5386..376843b 100644 --- a/files/i3/.i3/config +++ b/files/i3/.i3/config @@ -61,6 +61,12 @@ bindsym $mod+Escape exec snippy.sh # kill focused window bindsym $mod+Shift+q kill +# keyboard backlight, for Mac + +# increase/decrease keyboard brightness +bindsym XF86KbdBrightnessUp exec /home/nemo/projects/scripts/backlight up +bindsym XF86KbdBrightnessDown exec /home/nemo/projects/scripts/backlight down + #### Lock screen config ##### # Use i3lock as screensaver (works on suspend) exec --no-startup-id "xss-lock /home/nemo/projects/scripts/i3lock.sh > /home/nemo/projects/scripts/xss-lock.log" diff --git a/files/x11/.Xresources b/files/x11/.Xresources index 2954c7a..bcdfb89 100644 --- a/files/x11/.Xresources +++ b/files/x11/.Xresources @@ -21,7 +21,7 @@ ! Xcursor -------------------------------------------------------------------- Xcursor.theme: Vanilla-DMZ-AA -Xcursor.size: 22 +Xcursor.size: 18 ! xterm ---------------------------------------------------------------------- @@ -54,7 +54,7 @@ Xft.rgba: rgb Xft.hinting: true Xft.hintstyle: hintslight -URxvt.font: xft:Input Mono:size=16:pixelsize=16 +URxvt.font: xft:Input Mono:size=12:pixelsize=12 URxvt.scrollBar: false URxvt.resize-font.smaller: C-Down URxvt.resize-font.bigger: C-Up diff --git a/files/x11/.xinitrc b/files/x11/.xinitrc old mode 100755 new mode 100644 index c45f5da..c510063 --- a/files/x11/.xinitrc +++ b/files/x11/.xinitrc @@ -1,6 +1,6 @@ #!/bin/sh xrdb ~/.Xresources xset -b -export PATH="${PATH}:/home/nemo/.nvm/versions/node/v8.7.0/bin:/home/nemo/projects/scripts" +export PATH="${PATH}:/home/nemo/.nvm/versions/node/v8.9.1/bin:/home/nemo/projects/scripts" dbus-update-activation-environment --systemd DISPLAY -exec i3 +exec i3 \ No newline at end of file