This commit is contained in:
CramMK
2020-06-03 15:53:35 +02:00
parent 67714a0882
commit b1030cd57f
12 changed files with 20 additions and 221 deletions

View File

@@ -31,8 +31,9 @@ My personal configurations, managed with the 'dotdrop' submodule.
+ Audio Visualizer: `cava` + Audio Visualizer: `cava`
+ Wallpaper: `teh` + Wallpaper: `teh`
+ Filebrowser: `ranger (with w3m-img)` + Filebrowser: `ranger (with w3m-img)`
+ pdf-Preview: `zathura` + pdf-Viewer: `zathura`
+ Image-Preview: `feh` + Image-Viewer: `feh`
+ Movie-Viewer: `mpv`
## Profiles ## Profiles
+ `laptop`: All of the dotfiles + `laptop`: All of the dotfiles

View File

@@ -15,7 +15,7 @@ dotfiles:
dst: ~/.bashrc dst: ~/.bashrc
f_zshrc: f_zshrc:
src: zsh/zshrc src: zsh/zshrc
dst: ~/.zshrc dst: ~/.zshrc
d_ohmyzsh: d_ohmyzsh:
src: zsh/ohmyzsh src: zsh/ohmyzsh
dst: ~/.ohmyzsh dst: ~/.ohmyzsh

Submodule dotdrop updated: c29fb58700...6474a48961

View File

@@ -1,8 +1,8 @@
# Opacity # Opacity
opacity-rule = [ opacity-rule = [
"85:class_g = 'XTerm'", "85:class_g = 'XTerm'",
"85:class_g = 'discord'", "95:class_g = 'discord'",
"80:class_g *?= 'spotify'", "90:class_g *?= 'spotify'",
"90:class_g *?= 'Rofi'", "90:class_g *?= 'Rofi'",
]; ];

View File

@@ -36,7 +36,7 @@ bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
#sound control # Sound control
bindsym XF86AudioPlay exec playerctl play bindsym XF86AudioPlay exec playerctl play
bindsym XF86AudioPause exec playerctl pause bindsym XF86AudioPause exec playerctl pause
bindsym XF86AudioNext exec playerctl next bindsym XF86AudioNext exec playerctl next
@@ -53,37 +53,25 @@ set $terminal xterm
# kill focused window # kill focused window
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
bindsym $mod+Shift+d exec dmenu_run
# Rofi # Rofi
bindsym $mod+space exec "rofi -show" bindsym $mod+space exec "rofi -show"
bindsym $mod+d exec "rofi -show run"
bindsym $mod+c exec "rofi -show ssh" bindsym $mod+c exec "rofi -show ssh"
# dmenu
bindsym $mod+d exec "dmenu_run -fn 'InconsolataLGC Nerd Font Mono' -nb '#2E3440' -sb '#2E3440' -nf '#ECEFF4' -sf '#A3BE8C' -p 'ﰌ' -l 3"
# change focus # change focus
bindsym $mod+h focus left bindsym $mod+h focus left
bindsym $mod+j focus down bindsym $mod+j focus down
bindsym $mod+k focus up bindsym $mod+k focus up
bindsym $mod+l focus right bindsym $mod+l focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window # move focused window
bindsym $mod+Shift+h move left bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right bindsym $mod+Shift+l move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# Splitting # Splitting
bindsym $mod+Shift+s split v bindsym $mod+Shift+s split v
bindsym $mod+Shift+v split h bindsym $mod+Shift+v split h
@@ -205,7 +193,7 @@ bar {
} }
# Locking # Locking
bindsym $mod+Shift+BackSpace exec "xlock -mode rain -startCmd /share/bin/isweg -endCmd /share/bin/isda -bg '#6843bf' -info ''" bindsym $mod+Shift+BackSpace exec "xlock -mode grav -startCmd /share/bin/isweg -endCmd /share/bin/isda -bg '#6843bf' -info ''"
# Custom Workspaces # Custom Workspaces
exec --no-startup-id "firefox" exec --no-startup-id "firefox"
@@ -229,7 +217,7 @@ bindsym $mod+Ctrl+2 move workspace to output $monitor2
{%@@ if profile == "laptop" @@%} {%@@ if profile == "laptop" @@%}
# Locking # Locking
bindsym $mod+Shift+BackSpace exec "xlock -mode rain -info ''" bindsym $mod+Shift+BackSpace exec "xlock -mode grav -info ''"
# Custom Workspaces # Custom Workspaces
# exec --no-startup-id "chromium-browser" # exec --no-startup-id "chromium-browser"

View File

@@ -304,49 +304,3 @@ click-left = "pkill -n polybar"
type = custom/script type = custom/script
exec = ~/.config/polybar/scripts/load.sh exec = ~/.config/polybar/scripts/load.sh
interval = 5.0 interval = 5.0
###############################################################################
[module/wpchanger]
type = custom/text
content = "WP"
click-left = polybar wallpaper
[bar/wallpaper]
width = 200
height = 27
radius = 0
; 1920 - width - offset-y - mainbar-height
offset-x = 1720
offset-y = 1020
background = ${colors.background}
separator = %{F#33}|
font-0 = ${font.inconsolata}
modules-center = aincrad hp_nord closewpbar
override-redirect = true
[module/wpbase]
type = custom/text
content-background = ${colors.background}
content-foreground = ${colors.accent}
[module/aincrad]
inherit = module/powerbase
content = " Aincrad "
click-left = "feh --bg-scale ~/.wallpaper/aincrad.png; pkill -n polybar"
[module/hp_nord]
inherit = module/powerbase
content = " HP Nord "
click-left = "feh --bg-scale ~/.wallpaper/hp_nord.png; pkill -n polybar"
[module/closewpbar]
type = custom/text
content = " Cancel"
click-left = "pkill -n polybar"

View File

@@ -4,6 +4,6 @@ set preview_images true
default_linemode devicons default_linemode devicons
# separators, outline, both, none # separators, outline, both, none
set draw_borders both set draw_borders none
set mouse_enabled true set mouse_enabled true

View File

@@ -1,17 +1,12 @@
configuration { configuration {
modi: "drun,run,ssh"; modi: "drun,ssh";
hide-scrollbar: true; hide-scrollbar: true;
separator-style: none; separator-style: none;
show-icons: true; show-icons: true;
terminal: "xterm"; terminal: "xterm";
font: "Inconsolata 13"; font: "Inconsolata 13";
lines: 7; lines: 7;
// Marc theme
// width: 30;
// yoffset: -300;
// NORD
display-drun: "理"; display-drun: "理";
display-run: "ﰌ";
display-ssh: "力"; display-ssh: "力";
theme: "nord.rasi"; theme: "nord.rasi";
width: 750; width: 750;

View File

@@ -1,11 +0,0 @@
configuration {
modi: "drun,run";
//combi-modi: "drun,ssh,run";
show-icons: true;
theme: "marc.rasi";
terminal: "xterm";
font: "Inconsolata 13";
lines: 7;
width: 30;
yoffset: -300;
}

View File

@@ -1,131 +0,0 @@
* {
none: rgba ( 0, 0, 0, 0% );
nord-green: rgba ( 163, 190, 140, 100% );
nord0: rgba ( 46, 52, 64, 100% );
nord3: rgba ( 67, 76, 94, 100% );
frost0: rgba ( 216, 222, 233, 100% );
frost2: rgba ( 236, 239, 244, 100% );
selected-normal-foreground: @frost0;
foreground: @frost2;
normal-foreground: @foreground;
alternate-normal-background: @nord0;
alternate-urgent-background: @nord3;
alternate-active-background: @nord0;
background: @nord0;
alternate-normal-foreground: @foreground;
normal-background: @nord0;
selected-normal-background: @nord3;
border-color: @none;
spacing: 2;
separatorcolor: @none;
urgent-background: @nord0;
alternate-urgent-foreground: @urgent-foreground;
background-color: @none;
alternate-active-foreground: @active-foreground;
active-background: @nord0;
}
#window {
background-color: @background;
border: 5;
padding: 5;
}
#mainbox {
border: 0;
padding: 0;
}
#message {
border: 1px dash 0px 0px ;
border-color: @separatorcolor;
padding: 1px ;
}
#textbox {
text-color: @foreground;
}
#listview {
fixed-height: 0;
border: 2px dash 0px 0px ;
border-color: @separatorcolor;
spacing: 2px ;
scrollbar: true;
padding: 2px 0px 0px ;
}
#element {
border: 0;
padding: 1px ;
}
#element.normal.normal {
background-color: @normal-background;
text-color: @normal-foreground;
}
#element.normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
#element.normal.active {
background-color: @active-background;
text-color: @active-foreground;
}
#element.selected.normal {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
#element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
#element.selected.active {
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}
#element.alternate.normal {
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
#element.alternate.urgent {
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
#element.alternate.active {
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
#scrollbar {
width: 4px ;
border: 0;
handle-width: 8px ;
padding: 0;
}
#mode-switcher {
border: 2px dash 0px 0px ;
border-color: @separatorcolor;
}
#button.selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
#inputbar {
spacing: 0;
text-color: @normal-foreground;
padding: 1px ;
}
#case-indicator {
spacing: 0;
text-color: @normal-foreground;
}
#entry {
spacing: 0;
text-color: @normal-foreground;
}
#prompt {
spacing: 0;
text-color: @normal-foreground;
}
#inputbar {
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
#textbox-prompt-colon {
expand: false;
str: ":";
margin: 0px 0.3em 0em 0em ;
text-color: @normal-foreground;
}

View File

@@ -49,7 +49,8 @@ let g:pear_tree_pairs = {
\ } \ }
" Vimwiki " Vimwiki
let g:vimwiki_list = [{'path': '~/vimwiki/'}] let g:vimwiki_list = [{'path': '~/vimwiki/',
\ 'syntax': 'markdown', 'ext': '.md'}]
" Other configurations " Other configurations
" Colors " Colors

View File

@@ -34,7 +34,9 @@ alias fonts="/home/$USER/.local/share/fonts"
alias listfonts="fc-list :scalable=true:spacing=mono: family" alias listfonts="fc-list :scalable=true:spacing=mono: family"
alias cachefonts="fc-cache -f -v" alias cachefonts="fc-cache -f -v"
alias wiki="vim ~/vimwiki/index.wiki" alias c="clear"
alias v="vim"
alias w="vim ~/vimwiki/index.md"
# Allow local aliases # Allow local aliases
if [ -f ~/.zshrc_local ]; then if [ -f ~/.zshrc_local ]; then