From b8b83b8cba05d42900954db7fcb2d753d8ada029 Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Sun, 11 Oct 2015 12:33:36 +0200 Subject: [PATCH] some updates --- .Xresources | 3 ++- bin/lock | 2 +- bspwmrc | 2 ++ configuration.nix | 4 ++-- sxhkdrc | 20 +++----------------- 5 files changed, 10 insertions(+), 21 deletions(-) diff --git a/.Xresources b/.Xresources index 4001907..4347a04 100644 --- a/.Xresources +++ b/.Xresources @@ -49,7 +49,8 @@ URxvt*scrollstyle: rxvt URxvt*internalBorder: 18 ! font -*font: -gohu-gohufont-medium-r-normal--14-100-100-100-c-80-iso10646-1 +! *font: -gohu-gohufont-medium-r-normal--14-100-100-100-c-80-iso10646-1 +*font: xft:DejaVu Sans Mono:size=12 URxvt*LetterSpace: -1 ! cursor diff --git a/bin/lock b/bin/lock index 5753427..5f83545 100755 --- a/bin/lock +++ b/bin/lock @@ -1,2 +1,2 @@ #!/bin/sh -DISPLAY=":0.0" /run/current-system/sw/bin/i3lock -c 1d1f21 +DISPLAY=":0.0" /run/current-system/sw/bin/i3lock -c 1d1f21 -i ~/Pictures/lockscreen.png diff --git a/bspwmrc b/bspwmrc index 156303c..edbc7f5 100755 --- a/bspwmrc +++ b/bspwmrc @@ -5,7 +5,9 @@ setxkbmap it # Dont show ugly X shaped cursor xsetroot -cursor_name left_ptr udiskie & +unclutter -idle 1 & amixer set Master 0 +xrandr --dpi 108 # Start lemonbar sh ~/.config/bspwm/lemonbar.sh & diff --git a/configuration.nix b/configuration.nix index 57e0b0b..38ddfd9 100644 --- a/configuration.nix +++ b/configuration.nix @@ -93,7 +93,7 @@ # Media beets mpd mpc_cli ncmpcpp popcorntime mpv # Drivers, file systems and other compatibility-aimed packages - ntfs3g utillinuxCurses gptfdisk encfs xlibs.xbacklight + ntfs3g exfat utillinuxCurses gptfdisk encfs xlibs.xbacklight acpi powertop ]; @@ -101,7 +101,7 @@ enableFontDir = true; enableGhostscriptFonts = true; fonts = with pkgs; [ - gohufont + gohufont dejavu_fonts ]; }; diff --git a/sxhkdrc b/sxhkdrc index fe647c7..1b3eeb0 100755 --- a/sxhkdrc +++ b/sxhkdrc @@ -90,37 +90,23 @@ super + space # media XF86MonBrightnessUp - xbacklight -inc 10 + xbacklight -inc 5 XF86MonBrightnessDown - xbacklight -dec 10 -XF86KbdBrightnessUp - kbdlight up 10 -XF86KbdBrightnessDown - kbdlight down 10 -XF86AudioNext - mpc next -XF86AudioPrev - mpc prev + xbacklight -dec 5 XF86AudioRaiseVolume amixer set Master 3+ unmute XF86AudioLowerVolume amixer set Master 3- unmute XF86AudioMute sh ~/bin/togglemute.sh -XF86AudioPlay - mpc toggle XF86HomePage chromium -XF86Calculator - urxvt -e bc -XF86Mail - chromium --app=https://inbox.google.com # lock XF86Sleep XF86LaunchB - i3lock -u -c 1d1f21 -i ~/Pictures/background.* + i3lock -u -c 1d1f21 -i ~/Pictures/lockscreen.png # screenshots Print