From 256ff4c43c4617fda4289150c6614a334650c491 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Tue, 18 Feb 2020 17:50:03 +0530 Subject: ... --- bin/.local/bin/prime-run | 2 ++ bin/.local/bin/unblock | 2 +- bspwm/.config/bspwm/bspwmrc | 5 ++++- nvim/.config/nvim/init.vim | 2 ++ polybar/.config/polybar/config | 2 +- rofi/.config/rofi/rofi-power.sh | 6 +++--- sxhkd/.config/sxhkd/sxhkdrc | 2 +- x/.Xresources | 39 ++++++++++++++++++++------------------- zsh/.zshrc | 2 +- 9 files changed, 35 insertions(+), 27 deletions(-) create mode 100755 bin/.local/bin/prime-run diff --git a/bin/.local/bin/prime-run b/bin/.local/bin/prime-run new file mode 100755 index 0000000..ee073fa --- /dev/null +++ b/bin/.local/bin/prime-run @@ -0,0 +1,2 @@ +#!/bin/sh +__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only "$@" diff --git a/bin/.local/bin/unblock b/bin/.local/bin/unblock index 1d0ea7f..0b4b99b 100755 --- a/bin/.local/bin/unblock +++ b/bin/.local/bin/unblock @@ -4,6 +4,6 @@ set -e printf "\033[0;35mSetting wlo1 down....\033[0m\n" sudo ip link set wlo1 down printf "\033[0;36mChanging MAC address....\033[0m\n" -sudo macchanger -a wlo1 +sudo macchanger --mac=04:B1:A1:6A:4E:A1 wlo1 printf "\033[0;32mEnjoy....\033[0m\n" diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index 1daa022..2e78161 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc @@ -3,11 +3,14 @@ sxhkd & dunst & xset b off & +xset s 600 & +xbacklight -set 40 & +xss-lock -- /home/ssaini/.local/bin/lock & unclutter & compton --config ~/.config/compton.conf & ~/scrypts/bat_check.sh & redshift -l 13.082680:80.270718 & -feh --bg-fill ~/Pictures/beach.jpg & +feh --bg-fill ~/Pictures/road.jpg & urxvtd & bspc monitor -d term web music files code virt chat game IX X diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index a95b92b..5ef2de0 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -38,6 +38,8 @@ set copyindent " copy indent from the previous line " deoplete let g:deoplete#enable_at_startup = 1 +let g:python3_host_prog= '/bin/python3' +let g:python_host_prog= '/bin/python2' " git gutter settings let g:gitgutter_override_sign_column_highlight = 0 diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 6710ac1..90d308f 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -64,7 +64,7 @@ ws-icon-7 = game;戮 ws-icon-default =  label-focused = %name% -label-focused-foreground = ${xrdb:color4:#ffd7b1} +label-focused-foreground = ${xrdb:color6:#ffd7b1} label-focused-padding = 1 ;label-focused-font = 10 diff --git a/rofi/.config/rofi/rofi-power.sh b/rofi/.config/rofi/rofi-power.sh index 6aecdbb..67f6814 100755 --- a/rofi/.config/rofi/rofi-power.sh +++ b/rofi/.config/rofi/rofi-power.sh @@ -21,16 +21,16 @@ then eval $1 ;; Reboot) - reboot + sudo reboot ;; Shut-down) - poweroff + sudo poweroff ;; Suspend) suspend ;; Lock) - light-locker-command -l + /home/ssaini/.local/bin/lock ;; *) ;; diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index c333197..694eaea 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -163,4 +163,4 @@ XF86Audio{Play,Next,Prev} #light XF86MonBrightness{Down,Up} - light {-U 3,-A 3} + xbacklight {-dec 3,-inc 3} diff --git a/x/.Xresources b/x/.Xresources index 54e7237..8ad8a5e 100644 --- a/x/.Xresources +++ b/x/.Xresources @@ -5,7 +5,6 @@ URxvt.iso14755_52: off URxvt.meta8: false URxvt.depth: 32 URxvt.metaSendsEscape: true - URxvt.scrollBar: off URxvt.cursorBlink: true URxvt.cursorUnderline: true @@ -36,24 +35,26 @@ URxvt*tintColor: #ffffff URxvt*shading: 0 URxvt*inheritPixmap: False -*.foreground: #F8F8F2 -*.background: #121212 -*.color0: #000000 -*.color8: #4D4D4D -*.color1: #FF5555 -*.color9: #FF6E67 -*.color2: #50FA7B -*.color10: #5AF78E -*.color3: #F1FA8C -*.color11: #F4F99D -*.color4: #BD93F9 -*.color12: #CAA9FA -*.color5: #FF79C6 -*.color13: #FF92D0 -*.color6: #8BE9FD -*.color14: #9AEDFE -*.color7: #BFBFBF -*.color15: #E6E6E6 +*background: #0b0d12 +*foreground: #b3b8c4 + +*color0: #3e4853 +*color1: #b06a58 +*color2: #95b47b +*color3: #e5c078 +*color4: #58698c +*color5: #7b5e8d +*color6: #82a1b2 +*color7: #cccaca + +*color8: #525c67 +*color9: #ba7e6c +*color10: #a9c88f +*color11: #f9d48c +*color12: #6c7da0 +*color13: #8f72a1 +*color14: #96b5c6 +*color15: #e0dede ! Perls URxvt.perl-ext-common : default,matcher,keyboard-select,url-select,resize-font diff --git a/zsh/.zshrc b/zsh/.zshrc index d64be24..6d9567b 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -13,7 +13,7 @@ export XDG_CURRENT_DESKTOP=bspwm # load a random theme each time oh-my-zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes -ZSH_THEME="theunraveler" +ZSH_THEME="michelebologna" # Set list of themes to pick from when loading at random # Setting this variable when ZSH_THEME=random will cause zsh to load -- cgit v1.2.3