vdotfiles

Cem's Dotfiles for Void Linux
git clone git://git.ckyln.com/vdotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 7a947cd4353af0da9c29a506b88025f258892e56
parent dabe5f68939087a5631cd283b0a69276ba06a682
Author: Cem Keylan <warc1998@gmail.com>
Date:   Fri, 24 May 2019 12:52:57 +0300

Slight Adjustments and fixes

Diffstat:
M.bashrc | 6++++--
M.config/i3/config | 21+++++++++++++++++----
M.config/polybar/config | 28+++++++++++++++++++---------
3 files changed, 40 insertions(+), 15 deletions(-)

diff --git a/.bashrc b/.bashrc @@ -114,14 +114,14 @@ complete -cf sudo # it regains control. #65623 # http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11) shopt -s checkwinsize - +shopt -s autocd shopt -s expand_aliases # export QT_SELECT=4 # Enable history appending instead of overwriting. #139609 shopt -s histappend - +HISTSIZE= HISTFILESIZE= # # # ex - archive extractor # # usage: ex <file> @@ -156,3 +156,5 @@ export PATH=/home/cem/bin/:$PATH export PATH=/home/cem/.scripts/:$PATH export PATH=/usr/local/bin/:$PATH export EDITOR="vim" +export TERMINAL="terminator" +export BROWSER="qutebrowser" diff --git a/.config/i3/config b/.config/i3/config @@ -170,26 +170,36 @@ bindsym $mod+r mode "resize" # Auto Locking exec --no-startup-id xautolock -time 10 -locker 'i3lock -i /home/cem/background2.png' -exec_always --no-startup-id /home/cem/bin/polyrestart # Pulse Audio controls bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% && mpv /usr/share/sounds/LinuxMint/stereo/volume.oga #increase sound volume bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% && mpv /usr/share/sounds/LinuxMint/stereo/volume.oga #decrease sound volume bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle && mpv /usr/share/sounds/LinuxMint/stereo/volume.oga # mute sound +########### Nightmode Commands ######### + +# Change Wallpaper +bindsym $altmod+w exec --no-startup-id $HOME/bin/wallset + +# Change to a random wallpaper according to the theme +bindsym $altmod+Shift+w exec --no-startup-id $HOME/bin/nightmodetoggle cron + +# Override Nightmode +bindsym $altmod+e exec --no-startup-id $HOME/bin/nightmodetoggle click + +# Disable Nightmode override +bindsym $altmod+Shift+e exec --no-startup-id $HOME/bin/nightmodetoggle disable # Sreen brightness controls bindsym XF86MonBrightnessUp exec xbacklight -inc 10 # increase screen brightness bindsym XF86MonBrightnessDown exec xbacklight -dec 10 # decrease screen brightness -# Change Wallpaper -bindsym $altmod+w exec --no-startup-id $HOME/bin/wallset - # Shutdown Command bindsym $altmod+Shift+n exec --no-startup-id $HOME/bin/yousure # Reboot Command bindsym $altmod+Shift+r exec --no-startup-id $HOME/bin/yousurereb +######################################## ######## Application Shortcuts ######### @@ -216,6 +226,9 @@ bindsym $mod+u exec --no-startup-id rofi -show run -theme Arc-Dark # Launch Mutt bindsym $mod+Shift+m exec --no-startup-id $term -e "neomutt && exit" + +# Launch Calcurse +bindsym $mod+c exec --no-startup-id $term -e "calcurse && exit" ######################################## diff --git a/.config/polybar/config b/.config/polybar/config @@ -22,12 +22,12 @@ background-alt = #444 foreground = #fff foreground-alt = #fff primary = #1a94ff -mornprim = #bdbdbd +mornprim = #222 secondary = #e60053 alert = #bd2c40 ;barnight = #aa222222 barnight = #aa282e44 -barback = #ffffff +barback = #aaffde9b [bar/top] width = 100% @@ -56,7 +56,7 @@ font-color = #000 modules-left = rofi mlaunch mpd modules-center = title -modules-right = backlight pulseaudio wlan eth battery time powermenu +modules-right = backlight pulseaudio wlan eth battery calcurse time powermenu tray-position = none @@ -89,7 +89,7 @@ font-3 = Material Icons:style=Regular:size=13;4 modules-left = rofi mlaunch mpd modules-center = title -modules-right = backlight pulseaudio wlan eth battery time powermenu +modules-right = backlight pulseaudio wlan eth battery calcurse time powermenu tray-position = none @@ -104,6 +104,7 @@ fixed-center = true background = ${colors.barback} foreground = #222 primary = ${colors.mornprim} +secondary = #ffa667 bottom = true line-size = 3 @@ -139,6 +140,7 @@ background = ${colors.barnight} foreground = ${colors.foreground} primary = ${colors.primary} bottom = true +secondary = ${self.primary} line-size = 3 line-color = #f00 @@ -172,7 +174,7 @@ type = internal/bspwm label-focused = %index% label-focused-background = ${colors.background-alt} -label-focused-underline= ${root.primary} +label-focused-underline= ${root.secondary} label-focused-padding = 2 label-occupied = %index% @@ -219,11 +221,11 @@ wrapping-scroll = false label-mode-padding = 2 label-mode-foreground = #000 -label-mode-background = ${root.primary} +label-mode-background = ${root.secondary} ; focused = Active workspace on focused monitor label-focused = %index% -label-focused-background = ${root.primary} +label-focused-background = ${root.secondary} ;label-focused-background = ${module/bspwm.label-focused-background} label-focused-underline = ${module/bspwm.label-focused-underline} label-focused-padding = ${module/bspwm.label-focused-padding} @@ -370,12 +372,20 @@ label-connected = %local_ip% format-disconnected = +[module/calcurse] +type = custom/text +content =  + +click-left = terminator -e calcurse && exit +click-middle = terminator -e calcurse && exit +click-right = terminator -e calcurse && exit + [module/time] type = internal/date interval = 1 -date = " %A" -date-alt =" %e %B %Y" +date = "%A" +date-alt ="%e %B %Y" time = " %H:%M" time-alt = " %H:%M:%S"