Changes
This commit is contained in:
@@ -31,8 +31,9 @@ My personal configurations, managed with the 'dotdrop' submodule.
|
||||
+ Audio Visualizer: `cava`
|
||||
+ Wallpaper: `teh`
|
||||
+ Filebrowser: `ranger (with w3m-img)`
|
||||
+ pdf-Preview: `zathura`
|
||||
+ Image-Preview: `feh`
|
||||
+ pdf-Viewer: `zathura`
|
||||
+ Image-Viewer: `feh`
|
||||
+ Movie-Viewer: `mpv`
|
||||
|
||||
## Profiles
|
||||
+ `laptop`: All of the dotfiles
|
||||
|
||||
@@ -15,7 +15,7 @@ dotfiles:
|
||||
dst: ~/.bashrc
|
||||
f_zshrc:
|
||||
src: zsh/zshrc
|
||||
dst: ~/.zshrc
|
||||
dst: ~/.zshrc
|
||||
d_ohmyzsh:
|
||||
src: zsh/ohmyzsh
|
||||
dst: ~/.ohmyzsh
|
||||
|
||||
2
dotdrop
2
dotdrop
Submodule dotdrop updated: c29fb58700...6474a48961
@@ -1,8 +1,8 @@
|
||||
# Opacity
|
||||
opacity-rule = [
|
||||
"85:class_g = 'XTerm'",
|
||||
"85:class_g = 'discord'",
|
||||
"80:class_g *?= 'spotify'",
|
||||
"95:class_g = 'discord'",
|
||||
"90:class_g *?= 'spotify'",
|
||||
"90:class_g *?= 'Rofi'",
|
||||
];
|
||||
|
||||
|
||||
@@ -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 XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||
|
||||
#sound control
|
||||
# Sound control
|
||||
bindsym XF86AudioPlay exec playerctl play
|
||||
bindsym XF86AudioPause exec playerctl pause
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
@@ -53,37 +53,25 @@ set $terminal xterm
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+Shift+d exec dmenu_run
|
||||
# Rofi
|
||||
bindsym $mod+space exec "rofi -show"
|
||||
bindsym $mod+d exec "rofi -show run"
|
||||
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
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
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
|
||||
bindsym $mod+Shift+h move left
|
||||
bindsym $mod+Shift+j move down
|
||||
bindsym $mod+Shift+k move up
|
||||
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
|
||||
bindsym $mod+Shift+s split v
|
||||
bindsym $mod+Shift+v split h
|
||||
@@ -205,7 +193,7 @@ bar {
|
||||
}
|
||||
|
||||
# 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
|
||||
exec --no-startup-id "firefox"
|
||||
@@ -229,7 +217,7 @@ bindsym $mod+Ctrl+2 move workspace to output $monitor2
|
||||
|
||||
{%@@ if profile == "laptop" @@%}
|
||||
# Locking
|
||||
bindsym $mod+Shift+BackSpace exec "xlock -mode rain -info ''"
|
||||
bindsym $mod+Shift+BackSpace exec "xlock -mode grav -info ''"
|
||||
|
||||
# Custom Workspaces
|
||||
# exec --no-startup-id "chromium-browser"
|
||||
|
||||
@@ -304,49 +304,3 @@ click-left = "pkill -n polybar"
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/load.sh
|
||||
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"
|
||||
|
||||
@@ -4,6 +4,6 @@ set preview_images true
|
||||
default_linemode devicons
|
||||
|
||||
# separators, outline, both, none
|
||||
set draw_borders both
|
||||
set draw_borders none
|
||||
|
||||
set mouse_enabled true
|
||||
|
||||
@@ -1,17 +1,12 @@
|
||||
configuration {
|
||||
modi: "drun,run,ssh";
|
||||
modi: "drun,ssh";
|
||||
hide-scrollbar: true;
|
||||
separator-style: none;
|
||||
show-icons: true;
|
||||
terminal: "xterm";
|
||||
font: "Inconsolata 13";
|
||||
lines: 7;
|
||||
// Marc theme
|
||||
// width: 30;
|
||||
// yoffset: -300;
|
||||
// NORD
|
||||
display-drun: "理";
|
||||
display-run: "ﰌ";
|
||||
display-ssh: "力";
|
||||
theme: "nord.rasi";
|
||||
width: 750;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -49,7 +49,8 @@ let g:pear_tree_pairs = {
|
||||
\ }
|
||||
|
||||
" Vimwiki
|
||||
let g:vimwiki_list = [{'path': '~/vimwiki/'}]
|
||||
let g:vimwiki_list = [{'path': '~/vimwiki/',
|
||||
\ 'syntax': 'markdown', 'ext': '.md'}]
|
||||
|
||||
" Other configurations
|
||||
" Colors
|
||||
|
||||
@@ -34,7 +34,9 @@ alias fonts="/home/$USER/.local/share/fonts"
|
||||
alias listfonts="fc-list :scalable=true:spacing=mono: family"
|
||||
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
|
||||
if [ -f ~/.zshrc_local ]; then
|
||||
|
||||
Reference in New Issue
Block a user