Update dotfiles

This commit is contained in:
CramMK
2020-08-03 15:53:04 +02:00
parent 9b77e6ccd4
commit 5bda0fb49f
5 changed files with 8 additions and 51 deletions

View File

@@ -22,7 +22,6 @@ My personal configurations, managed with the 'dotdrop' submodule.
+ Audio Control: `playerctl and pactl` + Audio Control: `playerctl and pactl`
+ Backlight: `light` + Backlight: `light`
+ Bar: `polybar` + Bar: `polybar`
+ Browser: `firefox`
+ Filebrowser: `ranger` + Filebrowser: `ranger`
+ Image-Viewer: `feh` + Image-Viewer: `feh`
+ Locking: `i3lock-color` + Locking: `i3lock-color`

View File

@@ -77,7 +77,7 @@ profiles:
- vim - vim
- nvim - nvim
- i3 - i3
- x11 - xresources
- font - font
- picom - picom
- tmux - tmux
@@ -96,17 +96,6 @@ profiles:
- ranger - ranger
- dir_colors - dir_colors
- scripts - scripts
work:
include:
- zsh
- vim
- x11
- i3
- font
- picom
- tmux
- dir_colors
- scripts
dev: dev:
include: include:
- zsh - zsh
@@ -123,7 +112,7 @@ profiles:
vim: vim:
dotfiles: dotfiles:
- f_vimrc - f_vimrc
x11: xresources:
dotfiles: dotfiles:
- f_xresources - f_xresources
i3: i3:

View File

@@ -39,7 +39,7 @@ bindsym $mod+f fullscreen toggle
bindsym $mod+Shift+space floating toggle bindsym $mod+Shift+space floating toggle
# Layout # Layout
bindsym $mod+s layout stacking bindsym $mod+s layout toggle stacking splith
# Create splits just like in vim # Create splits just like in vim
bindsym $mod+Shift+s split v bindsym $mod+Shift+s split v
@@ -51,7 +51,7 @@ bindsym $mod+p workspace prev
# Rofi and dmenu # Rofi and dmenu
bindsym $mod+space exec "rofi -show" bindsym $mod+space exec "rofi -show"
bindsym $mod+d exec "dmenu_run -fn 'InconsolataLGC Nerd Font Mono' -nb '#2E3440' -sb '#2E3440' -nf '#ECEFF4' -sf '#5E81AC'" bindsym $mod+d exec "dmenu_run -fn 'InconsolataLGC Nerd Font Mono' -nb '#2E3440' -sb '#5E81AC' -nf '#ECEFF4' -sf '#ECEFF4'
bindsym --release $mod+Shift+p exec"import ~/screenshots/Screenshot-$(date '+%Y%m%d-%H%M%S').png" bindsym --release $mod+Shift+p exec"import ~/screenshots/Screenshot-$(date '+%Y%m%d-%H%M%S').png"
@@ -128,42 +128,11 @@ set $red "#bf616a"
# class border backgr. text indicator child_border # class border backgr. text indicator child_border
client.focused $blue3 $blue3 $frost2 $blue3 $blue3 client.focused $blue3 $blue3 $frost2 $blue3 $blue3
client.focused_inactive $nord0 $blue3 $nord0 $frost2 $nord0 client.focused_inactive $nord0 $blue3 $nord0 $nord0 $nord0
client.unfocused $nord0 $nord0 $frost0 $blue1 $nord0 client.unfocused $nord0 $nord0 $frost0 $blue1 $nord0
client.urgent $red $red $frost2 $red $red client.urgent $red $red $frost2 $red $red
client.background #ffffff client.background #ffffff
{%@@ if profile == "work" @@%}
# work start
bar {
position bottom
colors {
background #2e3440
statusline #2e3440
separator #2e3440
# class border backgr. text
focused_workspace #2e3440 #a3be8c #2e3440
active_workspace #2e3440 #2e3440 #eceff4
inactive_workspace #2e3440 #2e3440 #eceff4
urgent_workspace #2e3440 #bf616a #eceff4
}
status_command i3status
}
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Itterasshai!' -B 'Hai!' 'i3-msg exit'"
# Locking
bindsym $mod+Shift+BackSpace exec "~/scripts/lock-work"
# Monitors
set $monitor1 "HDMI-1"
set $monitor2 "HDMI-2"
# work end
{%@@ endif @@%}
{%@@ if profile == "laptop" @@%}
# laptop start
exec "~/scripts/startup-laptop" exec "~/scripts/startup-laptop"
# i3 doesnt let me put this in the startscript # i3 doesnt let me put this in the startscript
exec_always --no-startup-id ~/.config/polybar/start.sh & exec_always --no-startup-id ~/.config/polybar/start.sh &
@@ -181,8 +150,6 @@ set $monitor2 "HDMI-1"
gaps inner 8 gaps inner 8
# polybar height + gaps inner # polybar height + gaps inner
gaps top 35 gaps top 35
# laptop end
{%@@ endif @@%}
bindsym $mod+Ctrl+1 move workspace to output $monitor1 bindsym $mod+Ctrl+1 move workspace to output $monitor1
bindsym $mod+Ctrl+2 move workspace to output $monitor2 bindsym $mod+Ctrl+2 move workspace to output $monitor2

View File

@@ -1,4 +1,5 @@
# Opacity # Opacity
opacity-rule = [ opacity-rule = [
"95:class_g *?= 'Rofi'", "95:class_g *?= 'Rofi'",
"95:class_g *?= 'XTerm'",
]; ];

View File

@@ -43,6 +43,7 @@ alias gsh="git show"
alias gd="git diff" alias gd="git diff"
alias gc="git commit -v" alias gc="git commit -v"
alias gc!="git commit -v --amend" alias gc!="git commit -v --amend"
alias gco="git checkout"
alias gl="git pull" alias gl="git pull"
alias gp="git push" alias gp="git push"
alias glog="git log --oneline --decorate --graph" alias glog="git log --oneline --decorate --graph"
@@ -148,5 +149,5 @@ test -r "~/.dir_colors" && eval $(dircolors ~/.dir_colors)
## Syntax Highlighting ## Syntax Highlighting
if [ -f ~/.zsh-highlighting/zsh-syntax-highlighting.zsh ]; then if [ -f ~/.zsh-highlighting/zsh-syntax-highlighting.zsh ]; then
source /home/marc/.zsh-highlighting/zsh-syntax-highlighting.zsh source $HOME/.zsh-highlighting/zsh-syntax-highlighting.zsh
fi fi