Browse Source

big things in that

master
Jibreil 2 years ago
parent
commit
80ab541a8d
  1. 8
      home/.config/user-dirs.dirs
  2. 13
      home/.zshrc
  3. 15
      home/user-dirs.dirs
  4. 9
      i3/.config/i3/config
  5. 4
      nvim/.config/nvim/init.vim
  6. 47
      polybar/.config/polybar/config

8
home/.config/user-dirs.dirs

@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
XDG_DOCUMENTS_DIR="$HOME/documents"
XDG_DOWNLOAD_DIR="$HOME/downloads"
XDG_PICTURES_DIR="$HOME/pictures"
XDG_VIDEOS_DIR="$HOME/videos"
XDG_DESKTOP_DIR="$HOME/"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/"

13
home/.zshrc

@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
# Aliases (personal aliases set here override default oh-my-zsh aliases)
alias nautilus='GTK_THEME=oomox-sage nautilus'
alias thunar='GTK_THEME=oomox-sage thunar'
alias Thunar='GTK_THEME=oomox-sage thunar'
#alias nautilus='GTK_THEME=oomox-sage nautilus'
#alias thunar='GTK_THEME=oomox-sage thunar'
#alias Thunar='GTK_THEME=oomox-sage thunar'
alias dl='cd ~/downloads'
alias dots='cd ~/github/dotfiles'
alias uni='cd ~/uni/year2/sem1'
alias irc='irc -n kingk22 -s chat.freenode.net'
source .pw
alias birch='~/github/birch/birch -u kingk22 -x '/msg NickServ IDENTIFY $IRCPASS' -c '#kisslinux''
alias irc='~/github/icyrc/irc -n kingk22 -s chat.freenode.net'
alias 6cord='TERM=xterm-256color 6cord'
alias clock='tty-clock -scD -C 5'
@ -45,6 +45,9 @@ c() { @@ -45,6 +45,9 @@ c() {
fi
}
# source password file
source $HOME/.pw
# default editor
export EDITOR="nvim"

15
home/user-dirs.dirs

@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DOCUMENTS_DIR="$HOME/documents"
XDG_DOWNLOAD_DIR="$HOME/downloads"
XDG_PICTURES_DIR="$HOME/pictures"
XDG_VIDEOS_DIR="$HOME/videos"
XDG_DESKTOP_DIR="$HOME/"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/"

9
i3/.config/i3/config

@ -3,17 +3,17 @@ @@ -3,17 +3,17 @@
# locker
exec --no-startup-id betterlockscreen -l dim
# auto tiling
exec_always --no-startup-id ~/.config/i3/alternating_layouts.py
#exec_always --no-startup-id ~/.config/i3/alternating_layouts.py
# bar
exec_always --no-startup-id ~/.config/polybar/launch.sh
# compton
exec_always --no-startup-id .config/compton/launch.sh
exec_always --no-startup-id ~/.config/compton/launch.sh
# dunst
exec_always --no-startup-id ~/.config/dunst/launch.sh
# keyboard remap
exec_always --no-startup-id xmodmap ~/.Xmodmap
# wallpaper
exec_always --no-startup-id hsetroot -solid "#a074c4"
exec_always --no-startup-id hsetroot -solid "#44475a"
#exec_always --no-startup-id feh --bg-fill ~/pictures/wp.jpg
# load xresources
exec_always --no-startup-id xrdb -load ~/.Xresources
@ -125,7 +125,8 @@ mode "resize" { @@ -125,7 +125,8 @@ mode "resize" {
}
# rofi (launcher)
bindsym $mod+d exec rofi -show run
#bindsym $mod+d exec rofi -show run
bindsym $mod+d exec rofi -show run -run-list-command ". ~/.config/rofi/zsh_aliases_functions" -run-command "/bin/zsh -i -c '{cmd}'" -rnow
bindsym $mod+w exec rofi -show window
# scratchpad

4
nvim/.config/nvim/init.vim

@ -19,6 +19,10 @@ hi TabLineSel ctermfg=5 ctermbg=0 @@ -19,6 +19,10 @@ hi TabLineSel ctermfg=5 ctermbg=0
hi TabLine ctermfg=7 ctermbg=0
hi TabLineFill ctermfg=0 ctermbg=1
" compiling
autocmd Filetype c set makeprg=gcc\ -o\ '%<'.out\ '%'
autocmd Filetype cpp,c++ set makeprg=g++\ -o\ '%<'.out\ '%'\ -std=c++17
" disable bells
set t_vb=
set visualbell

47
polybar/.config/polybar/config

@ -69,7 +69,7 @@ font-2 = FontAwesome:size=18;5 @@ -69,7 +69,7 @@ font-2 = FontAwesome:size=18;5
modules-left = i3
modules-center = xwindow
modules-right = xkeyboard bluetooth wlan backlight-acpi pulseaudio-rofi battery date
modules-right = xkeyboard bluetooth wlan backlight-acpi pulseaudio battery date
;separator = |
@ -249,7 +249,7 @@ label-visible-underline = ${colours.black} @@ -249,7 +249,7 @@ label-visible-underline = ${colours.black}
label-visible-padding = 1
label-urgent = ""
label-urgent-foreground = ${colours.black}
label-urgent-foreground = ${colours.white}
label-urgent-padding = 1
;=====================================================
@ -304,7 +304,7 @@ format-disconnected-foreground = ${colours.white} @@ -304,7 +304,7 @@ format-disconnected-foreground = ${colours.white}
[module/eth]
type = internal/network
interface = enp2s0
interface = enp0s31f6
interval = 3.0
format-connected = <label-connected>
@ -361,20 +361,33 @@ scroll-down = ~/.config/polybar/pulseaudio-rofi.sh --volume_down @@ -361,20 +361,33 @@ scroll-down = ~/.config/polybar/pulseaudio-rofi.sh --volume_down
format = <label>
format-foreground = ${colours.black}
;[module/volume]
;type = internal/volume
;format-volume = <label-volume>
;label-volume = %percentage%%
;format-muted = <label-muted>
;label-muted = mute
;format-volume-foreground = ${colours.primary}
;format-muted-foreground = ${colours.purple}
;[module/pulseaudio]
;type = internal/pulseaudio
;sink = (from 'pacmd list-sinks | grep -i "name.*>"'
;use-ui-max = true
;interval = 5
[module/volume]
type = internal/volume
format-volume = <label-volume>
label-volume = %percentage%%
format-muted = <label-muted>
label-muted = mute
format-volume-foreground = ${colours.primary}
format-muted-foreground = ${colours.purple}
[module/pulseaudio]
type = internal/pulseaudio
sink = (from 'pacmd list-sinks | grep -i "name.*>"'
use-ui-max = true
interval = 5
format-volume = <ramp-volume> <label-volume>
format-volume-foreground = ${colours.primary}
label-muted = muted
label-muted-foreground = ${colours.white}
;ramp-volume-0 =
ramp-volume-0 =
ramp-volume-1 =
click-right = pavucontrol &
;=====================================================

Loading…
Cancel
Save