From 821f9035d22bbe075eae311de039852a0ae81867 Mon Sep 17 00:00:00 2001 From: Yuri Date: Thu, 1 Mar 2018 00:19:05 +0100 Subject: [PATCH] Various updates! (asus ux350fa) --- .Xresources | 5 +++-- .config/i3/config | 9 +++++---- .gtkrc-2.0 | 25 +++++++++++++++++++++++++ .i3blocks.conf | 3 ++- .local/rofi/config | 2 +- .spacemacs | 5 ++--- .zshrc | 6 ++++-- 7 files changed, 42 insertions(+), 13 deletions(-) create mode 100644 .gtkrc-2.0 diff --git a/.Xresources b/.Xresources index 680a95a..8a0e7da 100644 --- a/.Xresources +++ b/.Xresources @@ -1,5 +1,5 @@ !!! Scaling, fonts !!! -Xft.dpi: 190 +Xft.dpi: 136 Xft.autohint: 1 Xft.lcdfilter: lcddefault Xft.hintstyle: hintfull @@ -53,7 +53,8 @@ Xft.rgba: rgb !!! Urxvt options !!! ! font -URxvt*font: xft:Fira Mono Medium:size=10,xft:Noto Emoji:size=10 +!URxvt*font: xft:Fira Mono Medium:size=10,xft:Noto Emoji:size=10 +URxvt*font: xft:Fira Mono Medium:size=8,xft:Noto Emoji:size=8 ! Fix letter spacing; this is not needed in patched urxvt ! URxvt*letterSpace: -1 ! hide scrollbar diff --git a/.config/i3/config b/.config/i3/config index 69fd480..3a35ff2 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -12,7 +12,7 @@ set $mod Mod4 # DPI scaling -exec xrandr --dpi 190 +exec xrandr --dpi 136 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. @@ -213,7 +213,7 @@ bar { #font pango:Fira Mono, Icons 10 font pango:FontAwesome Regular 9, Iosevka Medium 9 strip_workspace_numbers yes - height 46 + height 36 tray_padding 2 #output eDP1 } @@ -231,8 +231,10 @@ client.background #222222 # Touchpad tap to click exec --no-startup-id xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1 +exec --no-startup-id xinput set-prop "Elan Touchpad" "libinput Tapping Enabled" 1 # Touchpad natural scrolling exec --no-startup-id xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Natural Scrolling Enabled" 1 +exec --no-startup-id xinput set-prop "Elan Touchpad" "libinput Natural Scrolling Enabled" 1 # Cursor acceleration exec --no-startup-id xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Accel Speed" 0.456 @@ -257,7 +259,7 @@ exec nm-applet & exec_always --no-startup-id "setxkbmap -layout us,si -option grp:lctrl_lwin_toggle -option compose:caps" # gaps between windows -gaps inner 9 +gaps inner 7 gaps outer 0 smart_gaps on #smart_borders on @@ -303,7 +305,6 @@ bindsym $mod+Ctrl+q exec --no-startup-id "xterm -e xkill" bindsym $mod+d exec --no-startup-id "rofi -combi-modi window,drun -show combi -modi combi -config ~/.local/rofi/config" # Screen brightness -set $brt_sig_cmd pkill -RTMIN+5 i3blocks bindsym XF86MonBrightnessUp exec "xbacklight -inc 8.333 -time 222 && $brt_sig_cmd" bindsym XF86MonBrightnessDown exec "xbacklight -dec 8.333 -time 222 && $brt_sig_cmd" diff --git a/.gtkrc-2.0 b/.gtkrc-2.0 new file mode 100644 index 0000000..e0ab91e --- /dev/null +++ b/.gtkrc-2.0 @@ -0,0 +1,25 @@ +[Settings] +gtk-application-prefer-dark-theme=0 +gtk-theme-name=Arc-Darker +gtk-fallback-icon-theme=Numix +gtk-icon-theme-name=Numix-Square +gtk-font-name=Lato 8 +gtk-auto-mnemonics=1 +gtk-visible-focus=automatic +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle=hintfull +gtk-xft-rgba=rgb +gtk-cursor-theme-name=Adwaita +gtk-cursor-theme-size=24 +gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ +gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR +gtk-button-images=0 +gtk-menu-images=0 +gtk-enable-event-sounds=1 +gtk-enable-input-feedback-sounds=1 +gtk-xft-antialias=1 +gtk-xft-hinting=1 +gtk-xft-hintstyle="hintfull" +gtk-xft-rgba="rgb" +gtk-modules="gail:atk-bridge" diff --git a/.i3blocks.conf b/.i3blocks.conf index 1e3ac43..83e1a46 100644 --- a/.i3blocks.conf +++ b/.i3blocks.conf @@ -89,7 +89,8 @@ separator=false command=/home/g1smo/Sredstva/i3blocks-contrib/iface/iface [wifi] -instance=wlp4s0 +#instance=wlp4s0 +instance=wlp2s0 interval=10 label= color=#11DD00 diff --git a/.local/rofi/config b/.local/rofi/config index 945c2d4..39a14a9 100644 --- a/.local/rofi/config +++ b/.local/rofi/config @@ -3,5 +3,5 @@ rofi.color-urgent: #002d303b, #cc6666, #e52d303b, #a54242, #f9f9f9 rofi.color-active: #002d303b, #b5bd68, #e42d303b, #8c9440, #f9f9f9 rofi.color-window: #f22d303b, #7c8389, #1d1f21 rofi.separator-style: solid -rofi.font: terminus 17 +rofi.font: terminus 13 diff --git a/.spacemacs b/.spacemacs index 85c17eb..1db77ac 100644 --- a/.spacemacs +++ b/.spacemacs @@ -247,8 +247,8 @@ It should only modify the values of Spacemacs settings." ;; Default font, or prioritized list of fonts. `powerline-scale' allows to ;; quickly tweak the mode-line size to make separators look not too crappy. dotspacemacs-default-font '("Iosevka Medium" - :size 25 - ;;:size 18 + ;;:size 25 + :size 21 :weight bold :width normal :powerline-scale 1.1) @@ -586,7 +586,6 @@ before packages are loaded." ;; Use web mode for files ending in .tpl (add-to-list 'auto-mode-alist '("\\.tpl$" . web-mode)) ) - (defun dotspacemacs/emacs-custom-settings () "Emacs custom settings. This is an auto-generated function, do not modify its content directly, use diff --git a/.zshrc b/.zshrc index ab564b1..d8f41ae 100644 --- a/.zshrc +++ b/.zshrc @@ -91,8 +91,10 @@ export PHANTOMJS_BIN=/usr/bin/phantomjs # Guile things export GUILE_WARN_DEPRECATED="detailed" -#export GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/2.2:$GUILE_LOAD_PATH -#export GUILE_LOAD_COMPILED_PATH=$HOME/.guix-profile/lib/guile/2.2/site-ccache:$GUILE_LOAD_COMPILED_PATH + +# Guix things +export GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/2.2:$GUILE_LOAD_PATH +export GUILE_LOAD_COMPILED_PATH=$HOME/.guix-profile/lib/guile/2.2/site-ccache:$GUILE_LOAD_COMPILED_PATH