Browse Source

overhaul

master
Jibreil 3 years ago
parent
commit
367dbb35aa
  1. BIN
      bin/6cord
  2. BIN
      bin/compton
  3. 5
      bin/power
  4. 238
      compton/.config/compton/compton.conf
  5. 10
      compton/.config/compton/launch.sh
  6. 29
      home/.Xresources
  7. 36
      home/.zshrc
  8. 106
      i3/.config/i3/alternating_layouts.py
  9. 177
      i3/.config/i3/config
  10. 1
      nvim/.config/nvim/init.vim
  11. 0
      oh-my-zsh/.oh-my-zsh/themes/jibreil.zsh-theme
  12. 100
      polybar/.config/polybar/config

BIN
bin/6cord

Binary file not shown.

BIN
bin/compton

Binary file not shown.

5
bin/power

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#!/bin/sh
output=$(printf "lock\nhibernate\nreboot\nsuspend\nshutdown\n" | rofi -dmenu)
output=$(printf "lock\nreboot\nsuspend\nshutdown\n" | rofi -dmenu)
case "$output" in
lock)
@ -9,9 +9,6 @@ case "$output" in @@ -9,9 +9,6 @@ case "$output" in
suspend)
betterlockscreen -s dim
;;
hibernatl)
systemctl hibernate
;;
reboot)
systemctl reboot
;;

238
compton/.config/compton/compton.conf

@ -1,227 +1,11 @@ @@ -1,227 +1,11 @@
# Thank you code_nomad: http://9m.no/ꪯ鵞
# and Arch Wiki contributors: https://wiki.archlinux.org/index.php/Compton
#################################
#
# Backend
#
#################################
# Backend to use: "xrender" or "glx".
# GLX backend is typically much faster but depends on a sane driver.
backend = "glx";
#################################
#
# GLX backend
#
#################################
glx-no-stencil = true;
# GLX backend: Copy unmodified regions from front buffer instead of redrawing them all.
# My tests with nvidia-drivers show a 10% decrease in performance when the whole screen is modified,
# but a 20% increase when only 1/4 is.
# My tests on nouveau show terrible slowdown.
glx-copy-from-front = false;
# GLX backend: Use MESA_copy_sub_buffer to do partial screen update.
# My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated.
# May break VSync and is not available on some drivers.
# Overrides --glx-copy-from-front.
# glx-use-copysubbuffermesa = true;
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe).
# Recommended if it works.
# glx-no-rebind-pixmap = true;
# GLX backend: GLX buffer swap method we assume.
# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1).
# undefined is the slowest and the safest, and the default value.
# copy is fastest, but may fail on some drivers,
# 2-6 are gradually slower but safer (6 is still faster than 0).
# Usually, double buffer means 2, triple buffer means 3.
# buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers.
# Useless with --glx-use-copysubbuffermesa.
# Partially breaks --resize-damage.
# Defaults to undefined.
#glx-swap-method = "undefined";
#################################
#
# Shadows
#
#################################
# Enabled client-side shadows on windows.
shadow = true;
# The blur radius for shadows. (default 12)
shadow-radius = 5;
# The left offset for shadows. (default -15)
shadow-offset-x = -5;
# The top offset for shadows. (default -15)
shadow-offset-y = -5;
# The translucency for shadows. (default .75)
shadow-opacity = 0.5;
# Set if you want different colour shadows
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
# The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
shadow-exclude = [
"window_type = 'dock'",
"! name~=''",
"name = 'Notification'",
"name = 'Plank'",
"name = 'Docky'",
"name = 'Kupfer'",
"name = 'xfce4-notifyd'",
"name *= 'VLC'",
"name *= 'compton'",
"name *= 'Chromium'",
"name *= 'Chrome'",
"class_g = 'Firefox' && argb",
"class_g = 'Conky'",
"class_g = 'Kupfer'",
"class_g = 'Synapse'",
"class_g ?= 'Notify-osd'",
"class_g ?= 'Cairo-dock'",
"class_g ?= 'Xfce4-notifyd'",
"class_g ?= 'Xfce4-power-manager'",
"_GTK_FRAME_EXTENTS@:c",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
shadow-ignore-shaped = false;
#################################
#
# Opacity
#
#################################
inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
# Dim inactive windows. (0.0 - 1.0)
# inactive-dim = 0.2;
# Do not let dimness adjust based on window opacity.
# inactive-dim-fixed = true;
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
# blur-background = true;
# Blur background of opaque windows with transparent frames as well.
# blur-background-frame = true;
# Do not let blur radius adjust based on window opacity.
blur-background-fixed = false;
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'"
];
#################################
#
# Fading
#
#################################
# Fade windows during opacity changes.
fading = true;
# The time between steps in a fade in milliseconds. (default 10).
fade-delta = 4;
# Opacity change between steps while fading in. (default 0.028).
fade-in-step = 0.03;
# Opacity change between steps while fading out. (default 0.03).
fade-out-step = 0.03;
# Fade windows in/out when opening/closing
# no-fading-openclose = true;
# Specify a list of conditions of windows that should not be faded.
fade-exclude = [ ];
#################################
#
# Other
#
#################################
# Try to detect WM windows and mark them as active.
mark-wmwin-focused = true;
# Mark all non-WM but override-redirect windows active (e.g. menus).
mark-ovredir-focused = true;
# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events.
# Usually more reliable but depends on a EWMH-compliant WM.
use-ewmh-active-win = true;
# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
detect-rounded-corners = true;
# Detect _NET_WM_OPACITY on client windows, useful for window managers not passing _NET_WM_OPACITY of client windows to frame windows.
# This prevents opacity being ignored for some apps.
# For example without this enabled my xfce4-notifyd is 100% opacity no matter what.
detect-client-opacity = true;
# Specify refresh rate of the screen.
# If not specified or 0, compton will try detecting this with X RandR extension.
refresh-rate = 0;
# Vertical synchronization: match the refresh rate of the monitor
vsync = true;
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
# Reported to have no effect, though.
dbe = false;
# Limit compton to repaint at most once every 1 / refresh_rate second to boost performance.
# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,
# unless you wish to specify a lower refresh rate than the actual value.
#sw-opti = true;
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
# Known to cause flickering when redirecting/unredirecting windows.
unredir-if-possible = false;
# Specify a list of conditions of windows that should always be considered focused.
focus-exclude = [ ];
# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
detect-transient = true;
# Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time.
# WM_TRANSIENT_FOR has higher priority if --detect-transient is enabled, too.
detect-client-leader = true;
#################################
#
# Window type settings
#
#################################
wintypes:
{
tooltip =
{
# fade: Fade the particular type of windows.
fade = true;
# shadow: Give those windows shadow
shadow = false;
# opacity: Default opacity for the type of windows.
opacity = 0.85;
# focus: Whether to always consider windows of this type focused.
focus = true;
};
};
######################
#
# XSync
# See: https://github.com/yshui/compton/commit/b18d46bcbdc35a3b5620d817dd46fbc76485c20d
#
######################
# Use X Sync fence to sync clients' draw calls. Needed on nvidia-drivers with GLX backend for some users.
xrender-sync-fence = true;
# rounded corners
corner-radius: 15;
# shadows
shadow = true;
xinerama-shadow-crop = true;
shadow-radius = 32;
shadow-offset-x = -32;
shadow-offset-y = -32;
shadow-opacity = 0.4;
shadow-exclude = "window_type = 'dock'";

10
compton/.config/compton/launch.sh

@ -0,0 +1,10 @@ @@ -0,0 +1,10 @@
#!/usr/bin/env sh
# Terminate already running bar instances
killall -q compton
# Wait until the processes have been shut down
while pgrep -u $UID -x compton > /dev/null; do sleep 1; done
# Launch bar
compton

29
home/.Xresources

@ -1,3 +1,8 @@ @@ -1,3 +1,8 @@
URxvt.perl-ext-common: ...,clipboard,...
URxvt.clipboard.autocopy: true
URxvt.keysym.M-c: perl:clipboard:copy
URxvt.keysym.M-v: perl:clipboard:paste
! Fonts
Xft.dpi: 96
@ -9,30 +14,24 @@ Xft.lcdfilter: lcddefault @@ -9,30 +14,24 @@ Xft.lcdfilter: lcddefault
! URxvt
!URxvt.font: xft:scientifica:size=8
!URxvt.boldFont: xft:scientifica:size=8
!URxvt.font:xft:curie:size=8
!URxvt.boldFont:xft:curie:size=8
URxvt.font: xft:Iosevka Term:style=regular:size=18
URxvt.boldFont: xft:Iosevka Term:style=bold:size=18
URxvt.italicFont: xft:Iosevka Term:style=italic:size=18
URxvt.boldItalicFont: xft:Iosevka Term:style=medium:size=18
URxvt.font: xft:SF Mono:style=Medium:size=16
URxvt.boldFont: xft:SF Mono:style=Bold:size=16
URxvt.italicFont: xft:SF Mono:style=Medium Italic:size=16
URxvt.boldItalicFont: xft:SF Mono:style=Bold Italic:size=16
URxvt.cursorUnderline: true
URxvt.cursorBlink: 1
URxvt.letterSpace: 0
URxvt.letterSpace: -1
URxvt.scrollBar: false
URxvt.externalBorder: 0
URxvt.internalBorder: 60
! rofi
rofi.bw: 8
rofi.font: Iosevka Term Regular 14
rofi.bw: 4
rofi.font: SF Mono Regular 12
rofi.color-enabled: true
rofi.color-window: #151718, #a074c4, #2c2e2f
rofi.color-window: #151718, #151718, #2c2e2f
rofi.color-normal: #151718, #d0d0d0, #151718, #a074c4, #151718
rofi.color-active: #151718, #d0d0d0, #151718, #a074c4, #151718
rofi.color-urgent: #151718, #d0d0d0, #151718, #a074c4, #151718
@ -41,7 +40,7 @@ rofi.line-margin: 5 @@ -41,7 +40,7 @@ rofi.line-margin: 5
rofi.hide-scrollbar: true
rofi.matching: fuzzy
rofi.lines: 5
rofi.width: 30
rofi.width: 20
! rofi.location: 2
rofi.padding: 40
rofi.fullscreen: false

36
home/.zshrc

@ -2,30 +2,25 @@ @@ -2,30 +2,25 @@
alias dl='cd ~/downloads'
alias dots='cd ~/github/dotfiles'
alias uni='cd ~/uni/year2/sem1'
alias uni='cd ~/uni/year1/sem2'
alias appsprog='cd ~/uni/year1/sem2/appsprog'
alias brm='cd ~/uni/year1/sem2/brm'
alias fid='cd ~/uni/year1/sem2/fid'
alias netfun='cd ~/uni/year1/sem2/netfun'
alias 6cord='TERM=xterm-256color 6cord'
alias clock='tty-clock -scD -C 5'
alias e='fzf | xargs -r $EDITOR'
alias el='exal'
alias exa='exa --group-directories-first'
alias exal='exa -lFh --group-directories-first'
alias gif='giph -s -l -c 1,1,1,0.3 -b 5 -p -5 ~/recordings/recording-$(date +'%Y-%m-%dT%H:%M:%S').gif'
alias n='nvim'
alias nf='neofetch --colors 5 7 7 5 5 7 --underline off --ascii_colors 5 5 5 5 5 5 --w3m --source ~/pictures/lock.png'
alias q='exit'
alias r='ranger'
alias usb='sudo mount -o gid=users,fmask=113,dmask=002'
alias za='zathura'
alias add='git add -A'
alias commit='git commit'
alias pull='git pull'
alias push='git push'
alias pullall="find . -maxdepth 1 -type d -exec sh -c '(cd {} && git pull)' ';'"
sendit() {
git add -A
@ -43,35 +38,18 @@ c() { @@ -43,35 +38,18 @@ c() {
fi
}
# Set default editor
# default editor
export EDITOR="nvim"
# Set path
# export PATH=$PATH:/home/jibreil/bin
# path
export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
# path to your omz install
export ZSH=/home/jibreil/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
# theme
ZSH_THEME="jibreil"
# Set list of themes to load
# Setting this variable when ZSH_THEME=random
# cause zsh load theme from this variable instead of
# looking in ~/.oh-my-zsh/themes/
# An empty array have no effect
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

106
i3/.config/i3/alternating_layouts.py

@ -0,0 +1,106 @@ @@ -0,0 +1,106 @@
#!/usr/bin/env python
import i3
import re
import subprocess
import getopt
import sys
import os
def find_parent(window_id):
"""
Find the parent of a given window id
"""
root_window = i3.get_tree()
result = [None]
def finder(n, p=None):
if result[0] is not None:
return
for node in n:
if node['id'] == window_id:
result[0] = p
return
if len(node['nodes']):
finder(node['nodes'], node)
finder(root_window['nodes'])
return result[0]
def set_layout():
"""
Set the layout/split for the currently
focused window to either vertical or
horizontal, depending on its width/height
"""
current_win = i3.filter(nodes=[], focused=True)
for win in current_win:
parent = find_parent(win['id'])
if (parent and "rect" in parent
and parent['layout'] != 'tabbed'
and parent['layout'] != 'stacked'):
height = parent['rect']['height']
width = parent['rect']['width']
if height > width:
new_layout = 'vertical'
else:
new_layout = 'horizontal'
i3.split(new_layout)
def print_help():
print("Usage: " + sys.argv[0] + " [-p path/to/pid.file]")
print("")
print("Options:")
print(" -p path/to/pid.file Saves the PID for this program in the filename specified")
print("")
def main():
"""
Main function - listen for window focus
changes and call set_layout when focus
changes
"""
opt_list, args = getopt.getopt(sys.argv[1:], 'hp:')
pid_file = None
for opt in opt_list:
if opt[0] == "-h":
print_help()
sys.exit()
if opt[0] == "-p":
pid_file = opt[1]
if pid_file:
with open(pid_file, 'w') as f:
f.write(str(os.getpid()))
process = subprocess.Popen(
['xprop', '-root', '-spy'],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE
)
regex = re.compile(b'^_NET_CLIENT_LIST_STACKING|^_NET_ACTIVE_WINDOW')
last_line = ""
while True:
line = process.stdout.readline()
if line == b'': #X is dead
break
if line == last_line:
continue
if regex.match(line):
set_layout()
last_line = line
process.kill()
sys.exit()
if __name__ == "__main__":
main()

177
i3/.config/i3/config

@ -1,54 +1,65 @@ @@ -1,54 +1,65 @@
## auto start locker
exec --no-startup-id betterlockscreen -l dim
## swap backspace and backslash
exec_always --no-startup-id xmodmap ~/.Xmodmap
## autostart
for_window [title="BlueJ: Create Jar File"] floating disable
## bar
# locker
exec --no-startup-id betterlockscreen -l dim
# auto tiling
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
# 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 feh --bg-fill ~/pictures/wp.jpg
# load xresources
exec_always --no-startup-id xrdb -load ~/.Xresources
## borders
for_window [class=".*"] border pixel 0
#for_window [class="URxvt"] border pixel 8
#for_window [class="Zathura"] border pixel 8
## brightness
bindsym XF86MonBrightnessUp exec brightnessctl set +10% && sleep 0.1 && brightnessctl get
bindsym XF86MonBrightnessDown exec brightnessctl set 10%- && sleep 0.1 && brightnessctl get
## appearance
## colours
# colours
# class border bg text indicator child_border
client.focused #151718 #151718 #A074C4 #A074C4 #A074C4
client.focused #151718 #151718 #A074C4 #ffffff #ffffff
client.focused_inactive #151718 #151718 #d0d0d0 #2c2e2f #2c2e2f
client.unfocused #151718 #151718 #d0d0d0 #2c2e2f #2c2e2f
client.urgent #151718 #151718 #e6cd69 #e6cd69
## compton
exec_always --no-startup-id compton
# font
font pango:SF Mono 18
## change window focus
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# gaps
gaps inner 60
## dunst
exec_always --no-startup-id ~/.config/dunst/launch.sh
# no borders
for_window [class=".*"] border pixel 0
# window titles
for_window [class=".*"] title_format " %title"
## keybinds
# mod key
set $mod Mod4
# brightness
bindsym XF86MonBrightnessUp exec brightnessctl set +10% && sleep 0.1 && brightnessctl get
bindsym XF86MonBrightnessDown exec brightnessctl set 10%- && sleep 0.1 && brightnessctl get
## floating windows
# floating windows
floating_modifier $mod
bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle
bindsym $mod+Control+space move position center
## font
font pango:iosevka 18
# fullscreen
bindsym $mod+f fullscreen toggle
## gaps
gaps inner 60
gaps outer 0
# gaps
bindsym $mod+g mode "gaps: [i]nner | [o]uter"
mode "gaps: [i]nner | [o]uter" {
bindsym o mode "gaps_outer"
@ -76,61 +87,33 @@ mode "gaps_outer" { @@ -76,61 +87,33 @@ mode "gaps_outer" {
bindsym Escape mode "default"
}
## kill window
bindsym $mod+Shift+q kill
## layout
bindsym $mod+f fullscreen toggle
# layout (tiling, tabbed, stacked)
bindsym $mod+t layout toggle
## lock + suspend
# lock/suspend
bindsym $mod+l exec betterlockscreen -l dim
bindsym $mod+s exec betterlockscreen -s dim
## media controls
# kill window
bindsym $mod+Shift+q kill
# media controls
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
bindsym XF86AudioStop exec playerctl stop
## mod key
set $mod Mod4
## move window to workspace
bindsym $mod+Shift+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10
## move window to workspace and go to workspace
bindsym $mod+Ctrl+1 move container to workspace 1; workspace 1
bindsym $mod+Ctrl+2 move container to workspace 2; workspace 2
bindsym $mod+Ctrl+3 move container to workspace 3; workspace 3
bindsym $mod+Ctrl+4 move container to workspace 4; workspace 4
bindsym $mod+Ctrl+5 move container to workspace 5; workspace 5
bindsym $mod+Ctrl+6 move container to workspace 6; workspace 6
bindsym $mod+Ctrl+7 move container to workspace 7; workspace 7
bindsym $mod+Ctrl+8 move container to workspace 8; workspace 8
bindsym $mod+Ctrl+9 move container to workspace 9; workspace 9
bindsym $mod+Ctrl+0 move container to workspace 10; workspace 10
## move window within workspace
# move window within workspace
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
## reload/restart i3
# reload/restart i3
bindsym $mod+Shift+w reload
bindsym $mod+Shift+r restart
## resize windows
# resizing windows
bindsym $mod+r mode "resize"
mode "resize" {
bindsym Up resize grow height
@ -138,54 +121,47 @@ mode "resize" { @@ -138,54 +121,47 @@ mode "resize" {
bindsym Right resize grow width
bindsym Left resize shrink width
bindsym Return mode "default"
bindsym Escape mode "default"
}
## rofi
# rofi (launcher)
bindsym $mod+d exec rofi -show run
bindsym $mod+w exec rofi -show window
## scratchpad
# scratchpad
bindsym $mod+End move scratchpad
bindsym $mod+Home scratchpad show
## screenshot (nougat)
bindsym $mod+Ctrl+f exec nougat --screenshot -fcs && dunstify "fullscreen screenshot saved"
bindsym $mod+Shift+f exec nougat --screenshot -fcst && dunstify "fullscreen screenshot copied"
bindsym $mod+Ctrl+s exec nougat --screenshot -cs && dunstify "area/window screenshot saved"
# screenshots and recording
bindsym $mod+Shift+s exec nougat --screenshot -cst && dunstify "area/window screenshot copied"
bindsym Print exec nougat --screenshot -fcst && dunstify "fullscreen screenshot copied"
bindsym $mod+Print exec nougat --screenshot -fcs && dunstify "fullscreen screenshot saved"
## URxvt
# terminal
bindsym $mod+Return exec urxvt --depth 32
## volume
# window focus
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# volume
bindsym XF86AudioRaiseVolume exec pulseaudio-ctl up 5
bindsym XF86AudioLowerVolume exec pulseaudio-ctl down 5
bindsym XF86AudioMute exec pulseaudio-ctl mute
## wallpaper/colours
exec_always --no-startup-id xrdb -load ~/.Xresources
#exec_always --no-startup-id hsetroot -solid "#151718"
exec_always --no-startup-id feh --bg-fill ~/pictures/wp.png
## window titles
for_window [class=".*"] title_format " %title"
## window split direction
# window split direction
bindsym $mod+h split h
bindsym $mod+v split v
## workspace switching settings
# workspaces
workspace_auto_back_and_forth yes
bindsym $mod+Tab workspace next
bindsym $mod+Shift+Tab workspace prev
bindsym $mod+Next workspace next
bindsym $mod+Prior workspace prev
## workspace switching
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
@ -196,3 +172,26 @@ bindsym $mod+7 workspace 7 @@ -196,3 +172,26 @@ bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
bindsym $mod+Shift+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10
bindsym $mod+Ctrl+1 move container to workspace 1; workspace 1
bindsym $mod+Ctrl+2 move container to workspace 2; workspace 2
bindsym $mod+Ctrl+3 move container to workspace 3; workspace 3
bindsym $mod+Ctrl+4 move container to workspace 4; workspace 4
bindsym $mod+Ctrl+5 move container to workspace 5; workspace 5
bindsym $mod+Ctrl+6 move container to workspace 6; workspace 6
bindsym $mod+Ctrl+7 move container to workspace 7; workspace 7
bindsym $mod+Ctrl+8 move container to workspace 8; workspace 8
bindsym $mod+Ctrl+9 move container to workspace 9; workspace 9
bindsym $mod+Ctrl+0 move container to workspace 10; workspace 10

1
nvim/.config/nvim/init.vim

@ -63,6 +63,7 @@ call plug#begin('~/.vim/plugged') @@ -63,6 +63,7 @@ call plug#begin('~/.vim/plugged')
Plug 'google/vim-codefmt'
Plug 'google/vim-maktaba'
Plug 'google/vim-glaive'
Plug 'kovetskiy/sxhkd-vim'
call plug#end()
" searching

0
oh-my-zsh/jibreil.zsh-theme → oh-my-zsh/.oh-my-zsh/themes/jibreil.zsh-theme

100
polybar/.config/polybar/config

@ -1,21 +1,19 @@ @@ -1,21 +1,19 @@
[colours]
; dark
background = ${xrdb:color0}
background-alt = #1B1D1E
foreground = #d6d6d6
primary = ${xrdb:color4}
purple = ${xrdb:color5}
alert = ${xrdb:color1}
; end
; light
;background = ${xrdb:color7}
;background-alt = #cccccc
;foreground = ${xrdb:color0}
;background = ${xrdb:color0}
;background-alt = #1B1D1E
;foreground = #d6d6d6
;primary = ${xrdb:color4}
; end
;purple = ${xrdb:color5}
;alert = ${xrdb:color1}
;secondary = #bf5f4d
background = #00000000
background-alt = #1B1D1E
foreground = #d6d6d6
primary = ${xrdb:color0}
purple = ${xrdb:color0}
alert = ${xrdb:color7}
secondary = #bf5f4d
;=====================================================
@ -24,9 +22,11 @@ secondary = #bf5f4d @@ -24,9 +22,11 @@ secondary = #bf5f4d
bar-width = 2500
bar-height = 80
bar-offset-x = 60
bar-top-gap = 20
bar-bottom-gap = 40
;bar-offset-x = 60
bar-offset-x = 10
bar-top-gap = 10
;bar-bottom-gap = 40
bar-bottom-gap = 10
;=====================================================
@ -51,16 +51,14 @@ border-left-size = ${sizes.bar-offset-x} @@ -51,16 +51,14 @@ border-left-size = ${sizes.bar-offset-x}
border-bottom-size = ${sizes.bar-bottom-gap}
padding-left = 2
padding-right = 5
padding-right = 0
module-margin-left = 2
module-margin-right = 2
module-margin-left = 1
module-margin-right = 1
font-0 = Wuncon Siji;5
font-1 = FontAwesome:size=18;5
font-2 = Iosevka:weight=medium:pixelsize=18;5
font-3 = NotoSans-Regular:size=8;0
font-4 = Kochi Gothic:size=8;0
font-1 = Wuncon Siji;5
font-0 = SF Mono:weight=medium:pixelsize=18;5
font-2 = FontAwesome:size=18;5
modules-left = i3
modules-center = xwindow
@ -109,7 +107,7 @@ inherit = module/xbacklight @@ -109,7 +107,7 @@ inherit = module/xbacklight
type = internal/backlight
card = intel_backlight
format-foreground = ${colours.primary}
format-foreground = ${colours.purple}
;=====================================================
@ -130,22 +128,16 @@ full-at = 100 @@ -130,22 +128,16 @@ full-at = 100
battery = BAT0
adapter = AC0
format-charging = <animation-charging> <label-charging>
format-charging-foreground = ${colours.purple}
;format-charging-underline = ${colours.primary}
format-discharging = <ramp-capacity> <label-discharging>
format-discharging-foreground = ${colours.primary}
;format-discharging-underline = ${colours.primary}
format-full = <label-full>
format-full-foreground = ${colours.purple}
format-full-foreground = ${colours.primary}
format-charging = <animation-charging> <label-charging>
label-charging = %percentage%%
label-charging-foreground = ${colours.purple}
label-charging-foreground = ${colours.primary}
format-discharging = <ramp-capacity> <label-discharging>
label-discharging = %percentage%%
label-discharging-foreground = ${colours.primary}
label-discharging-foreground = ${colours.purple}
label-full = fully charged
@ -154,14 +146,14 @@ ramp-capacity-1 = @@ -154,14 +146,14 @@ ramp-capacity-1 = 
ramp-capacity-2 =
ramp-capacity-3 =
ramp-capacity-4 =
ramp-capacity-foreground = ${colours.primary}
ramp-capacity-foreground = ${colours.purple}
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-3 =
animation-charging-4 =
animation-charging-foreground = ${colours.purple}
animation-charging-foreground = ${colours.primary}
animation-charging-framerate = 250
;=====================================================
@ -206,11 +198,11 @@ interval = 1 @@ -206,11 +198,11 @@ interval = 1
label = %time%
time = %l:%M %p
time-alt = %A, %e %B %Y
time = %R %p
time-alt = %d/%m/%y
format = %{A1:~/bin/time-date:}<label>%{A}
format-foreground = ${colours.primary}
format-foreground = ${colours.purple}
;=====================================================
@ -234,24 +226,24 @@ index-sort = true @@ -234,24 +226,24 @@ index-sort = true
wrapping-scroll = true
label-mode = " %mode%"
label-mode-padding = 2
label-mode-foreground = ${colours.purple}
label-mode-padding = 1
label-focused = ""
label-focused-foreground = ${colours.purple}
label-focused-padding = 4
label-focused-foreground = ${colours.primary}
label-focused-padding = 1
label-unfocused = ""
label-unfocused-padding = 4
label-unfocused-foreground = ${colours.primary}
label-unfocused-foreground = ${colours.purple}
label-unfocused-padding = 1
label-visible = %name%
label-visible-underline = ${colours.primary}
label-visible-padding = 4
label-visible-underline = ${colours.purple}
label-visible-padding = 1
label-urgent = ""
label-urgent-foreground = ${colours.alert}
label-urgent-padding = 4
label-urgent-padding = 1
;=====================================================
@ -298,8 +290,8 @@ label-connected = wifi: %essid% @@ -298,8 +290,8 @@ label-connected =  wifi: %essid%
format-disconnected = <label-disconnected>
label-disconnected = wifi: dc
format-connected-foreground = ${colours.primary}
format-disconnected-foreground = ${colours.purple}
format-connected-foreground = ${colours.purple}
format-disconnected-foreground = ${colours.primary}
;==========================
@ -360,7 +352,7 @@ scroll-up = ~/.config/polybar/pulseaudio-rofi.sh --volume_up @@ -360,7 +352,7 @@ scroll-up = ~/.config/polybar/pulseaudio-rofi.sh --volume_up
scroll-down = ~/.config/polybar/pulseaudio-rofi.sh --volume_down
format = <label>
format-foreground = ${colours.primary}
format-foreground = ${colours.purple}
;[module/volume]
;type = internal/volume
@ -410,7 +402,7 @@ type = internal/xwindow @@ -410,7 +402,7 @@ type = internal/xwindow
label = %title%
label-maxlen = 60
format-foreground = ${colours.purple}
format-foreground = ${colours.primary}
;=====================================================
;

Loading…
Cancel
Save