Cleaning stuff up.
This commit is contained in:
parent
eee76db779
commit
bfaec7f5e3
@ -1,10 +1,14 @@
|
|||||||
!
|
!
|
||||||
! URxvt settings
|
! URxvt settings
|
||||||
|
! x.y > straight child
|
||||||
|
! x*y > any depth in resources hierarchy
|
||||||
!
|
!
|
||||||
URxvt.transparent: true
|
URxvt.transparent: true
|
||||||
URxvt.shading:20
|
URxvt.shading:20
|
||||||
! Included this so you know how to make your foreground not match the color of your background
|
! Included this so you know how to make your foreground not match the color of your background
|
||||||
URxvt.foreground: #eeeeee
|
! light0_hard gruvbox
|
||||||
|
URxvt.foreground: #f9f5d7
|
||||||
|
! dark0 gruvbox
|
||||||
URxvt*background: #1d2021
|
URxvt*background: #1d2021
|
||||||
URxvt*scrollBar: false
|
URxvt*scrollBar: false
|
||||||
URxvt*scrollstyle: plain
|
URxvt*scrollstyle: plain
|
||||||
@ -13,7 +17,7 @@ URxvt*saveLines: 65500
|
|||||||
! starts as a login shell, prepending - to argv[0] of the shell.
|
! starts as a login shell, prepending - to argv[0] of the shell.
|
||||||
URxvt*loginShell: false
|
URxvt*loginShell: false
|
||||||
!URxvt*termName: screen-256color
|
!URxvt*termName: screen-256color
|
||||||
URxvt.font: xft:Fura Code Nerd Font Mono:size=8
|
URxvt.font: xft:Fura Code Nerd Font Mono:size=8:antialias=true
|
||||||
URxvt.boldfont: xft:Fura Code Nerd Font Mono:bold:size=8
|
URxvt.boldfont: xft:Fura Code Nerd Font Mono:bold:size=8
|
||||||
|
|
||||||
! Give us a nice cursor then
|
! Give us a nice cursor then
|
||||||
|
|||||||
@ -6,13 +6,11 @@ set $mod Mod4
|
|||||||
# Font for window titles. Will also be used by the bar unless a different font
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
# is used in the bar {} block below.
|
# is used in the bar {} block below.
|
||||||
# font pango:monospace 8
|
# font pango:monospace 8
|
||||||
|
|
||||||
# overrides title bars -> makes sure i3-gaps can do its thing
|
# overrides title bars -> makes sure i3-gaps can do its thing
|
||||||
for_window [class="^.*"] border pixel 2
|
for_window [class="^.*"] border pixel 2
|
||||||
|
|
||||||
# for jetbrains windows... focus on dialogs!
|
# for jetbrains windows... focus on dialogs!
|
||||||
for_window [class="^jetbrains-.+"][window_type=dialog] focus
|
for_window [class="^jetbrains-.+"][window_type=dialog] focus
|
||||||
|
|
||||||
# fix citrix windows
|
# fix citrix windows
|
||||||
for_window [class="Wfica_Seamless"] floating enable
|
for_window [class="Wfica_Seamless"] floating enable
|
||||||
|
|
||||||
@ -51,26 +49,19 @@ gaps outer 5
|
|||||||
# Disallow endless looping of focus: extreme right is extreme right, don't flip to extreme left whenever you want...
|
# Disallow endless looping of focus: extreme right is extreme right, don't flip to extreme left whenever you want...
|
||||||
focus_wrapping no
|
focus_wrapping no
|
||||||
|
|
||||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
|
||||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
|
||||||
# font pango:DejaVu Sans Mono 8
|
# font pango:DejaVu Sans Mono 8
|
||||||
# font xft:Fantasque Sans Mono 9
|
# font xft:Fantasque Sans Mono 9
|
||||||
font xft:FuraCode Nerd Font 8
|
font xft:FuraCode Nerd Font 8
|
||||||
|
|
||||||
# Before i3 v4.8, we used to recommend this one as the default:
|
|
||||||
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
|
||||||
# The font above is very space-efficient, that is, it looks good, sharp and
|
|
||||||
# clear in small sizes. However, its unicode glyph coverage is limited, the old
|
|
||||||
# X core fonts rendering does not support right-to-left and this being a bitmap
|
|
||||||
# font, it doesn’t scale on retina/hidpi displays.
|
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
# bindsym $mod+Return exec i3-sensible-terminal
|
|
||||||
bindsym $mod+Shift+Return exec xfce4-terminal
|
|
||||||
bindsym $mod+Return exec urxvt
|
bindsym $mod+Return exec urxvt
|
||||||
|
bindsym $mod+Shift+Return exec kitty
|
||||||
|
|
||||||
|
# TODO make this help window a bit fancier
|
||||||
|
bindsym $mod+F1 exec urxvt -e vim ~/.dotfiles/README.md
|
||||||
|
|
||||||
# screenshotting
|
# screenshotting
|
||||||
# Desktop screenshot
|
# Desktop screenshot
|
||||||
@ -79,7 +70,7 @@ bindsym $mod+Return exec urxvt
|
|||||||
#bindsym --release Mod1+Sys_Req exec "import -window `xwininfo | awk '/.*Window id:.*/ {print $4}'` ~/Bilder/Bildschirmfotos/$(date --iso-8601='seconds').png"
|
#bindsym --release Mod1+Sys_Req exec "import -window `xwininfo | awk '/.*Window id:.*/ {print $4}'` ~/Bilder/Bildschirmfotos/$(date --iso-8601='seconds').png"
|
||||||
# Selection screenshot
|
# Selection screenshot
|
||||||
#bindsym --release Shift+Print exec "scrot ~/Bilder/Bildschirmfotos/$(date --iso-8601='seconds').png -s -e 'xclip -selection c -t image/png < $f'"
|
#bindsym --release Shift+Print exec "scrot ~/Bilder/Bildschirmfotos/$(date --iso-8601='seconds').png -s -e 'xclip -selection c -t image/png < $f'"
|
||||||
bindsym --release Print exec /home/jnieland/.config/i3/screenshot.sh
|
bindsym --release Print exec ~/.config/i3/screenshot.sh
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
@ -92,7 +83,7 @@ bindsym $mod+c exec rofi -modi "clipboard:greenclip print" -show clipboard -run-
|
|||||||
|
|
||||||
# do a nice menu with mode
|
# do a nice menu with mode
|
||||||
# lock / logout / sleep / hibernate / restart / poweroff
|
# lock / logout / sleep / hibernate / restart / poweroff
|
||||||
set $mode_system l e s鈴 h rﰇ וּsﮤ
|
set $mode_system System l e s鈴 h rﰇ וּsﮤ
|
||||||
mode "$mode_system" {
|
mode "$mode_system" {
|
||||||
bindsym l exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh lock, mode "default"
|
bindsym l exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh lock, mode "default"
|
||||||
bindsym e exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh logout, mode "default"
|
bindsym e exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh logout, mode "default"
|
||||||
@ -100,7 +91,6 @@ mode "$mode_system" {
|
|||||||
bindsym h exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh hibernate, mode "default"
|
bindsym h exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh hibernate, mode "default"
|
||||||
bindsym r exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh reboot, mode "default"
|
bindsym r exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh reboot, mode "default"
|
||||||
bindsym Shift+s exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh shutdown, mode "default"
|
bindsym Shift+s exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh shutdown, mode "default"
|
||||||
|
|
||||||
# back to normal: Enter or Escape
|
# back to normal: Enter or Escape
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
@ -125,8 +115,9 @@ mode "$mode_redshift" {
|
|||||||
}
|
}
|
||||||
bindsym $mod+F9 mode "$mode_redshift"
|
bindsym $mod+F9 mode "$mode_redshift"
|
||||||
|
|
||||||
|
|
||||||
# do a nice menu for keyboard layouts
|
# do a nice menu for keyboard layouts
|
||||||
set $mode_xkbmap Layout (a) us, (b) us-intl (c) us-altgr (d) gb (e) gb-intl (f) dvorak
|
set $mode_xkbmap Layout aus bus-intl cus-altgr dgb egb-intl fdvorak
|
||||||
mode "$mode_xkbmap" {
|
mode "$mode_xkbmap" {
|
||||||
bindsym a exec --no-startup-id setxkbmap us, mode "default"
|
bindsym a exec --no-startup-id setxkbmap us, mode "default"
|
||||||
bindsym b exec --no-startup-id setxkbmap us intl, mode "default"
|
bindsym b exec --no-startup-id setxkbmap us intl, mode "default"
|
||||||
@ -143,7 +134,7 @@ bindsym $mod+Ctrl+k mode "$mode_xkbmap"
|
|||||||
|
|
||||||
# this is a menu dedicated to audio stuff
|
# this is a menu dedicated to audio stuff
|
||||||
# some nice symbols to try here: 0| 論b籠i錄
|
# some nice symbols to try here: 0| 論b籠i錄
|
||||||
set $mode_audio - + 0 y
|
set $mode_audio Audio - + 0 y
|
||||||
mode "$mode_audio" {
|
mode "$mode_audio" {
|
||||||
# Pulse Audio controls
|
# Pulse Audio controls
|
||||||
# Increase sound volume
|
# Increase sound volume
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
# =============================================================================
|
# =============================================================================
|
||||||
# Plugins
|
# Plugins
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
export ZPLUG_LOADED=blabla
|
|
||||||
# Check if zplug is installed
|
# Check if zplug is installed
|
||||||
[ ! -d ~/.zplug ] && git clone https://github.com/zplug/zplug ~/.zplug
|
[ ! -d ~/.zplug ] && git clone https://github.com/zplug/zplug ~/.zplug
|
||||||
|
|
||||||
@ -74,10 +73,6 @@ zplug "tarrasch/zsh-bd"
|
|||||||
# Simple zsh calculator
|
# Simple zsh calculator
|
||||||
zplug "arzzen/calc.plugin.zsh"
|
zplug "arzzen/calc.plugin.zsh"
|
||||||
|
|
||||||
# Directory colors
|
|
||||||
zplug "seebi/dircolors-solarized", ignore:"*", as:plugin
|
|
||||||
zplug "pinelibg/dircolors-solarized-zsh"
|
|
||||||
|
|
||||||
zplug "plugins/common-aliase", from:oh-my-zsh
|
zplug "plugins/common-aliase", from:oh-my-zsh
|
||||||
zplug "plugins/command-not-found", from:oh-my-zsh
|
zplug "plugins/command-not-found", from:oh-my-zsh
|
||||||
zplug "plugins/copydir", from:oh-my-zsh
|
zplug "plugins/copydir", from:oh-my-zsh
|
||||||
|
|||||||
@ -78,9 +78,9 @@ padding-right = 2
|
|||||||
;font-0 = "Wuncon Siji:pixelsize=15;1"
|
;font-0 = "Wuncon Siji:pixelsize=15;1"
|
||||||
;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||||
;font-2 = "Inconsolata\ For\ Powerline:pixelsize=10;1"
|
;font-2 = "Inconsolata\ For\ Powerline:pixelsize=10;1"
|
||||||
font-0 = FuraCode Nerd Font:pixelsize=11;1
|
font-1 = FuraCode Nerd Font:pixelsize=11;1
|
||||||
;font-1 = Siji:style=Regular:pixelsize=11
|
;font-1 = Siji:style=Regular:pixelsize=11
|
||||||
font-1 = Siji:pixelsize=14;0
|
font-0 = Siji:pixelsize=14;0
|
||||||
; override pointers
|
; override pointers
|
||||||
cursor-click = pointer
|
cursor-click = pointer
|
||||||
cursor-scroll = pointer
|
cursor-scroll = pointer
|
||||||
@ -325,7 +325,7 @@ label =
|
|||||||
|
|
||||||
; format-underline = ${colors.bright_green}
|
; format-underline = ${colors.bright_green}
|
||||||
;format-underline = ${colors.col6}
|
;format-underline = ${colors.col6}
|
||||||
format-prefix-foreground = ${colors.underline-cpu}
|
format-prefix-foreground = ${colors.bright_green}
|
||||||
|
|
||||||
bar-width = 10
|
bar-width = 10
|
||||||
bar-indicator = |
|
bar-indicator = |
|
||||||
@ -360,9 +360,9 @@ ramp-coreload-5 = ▆
|
|||||||
ramp-coreload-6 = ▇
|
ramp-coreload-6 = ▇
|
||||||
ramp-coreload-7 = █
|
ramp-coreload-7 = █
|
||||||
format-prefix = " "
|
format-prefix = " "
|
||||||
format-prefix-foreground = ${colors.underline-cpu}
|
format-prefix-foreground = ${colors.bright_blue}
|
||||||
;format-underline = #f90000
|
;format-underline = #f90000
|
||||||
format-underline = ${colors.underline-cpu}
|
;format-underline = ${colors.underline-cpu}
|
||||||
label = %percentage-cores%
|
label = %percentage-cores%
|
||||||
|
|
||||||
[module/memory]
|
[module/memory]
|
||||||
@ -428,11 +428,8 @@ unknown-as-up = false
|
|||||||
|
|
||||||
[module/net]
|
[module/net]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
{{- if eq .chezmoi.hostname "carbonraptor" }}
|
|
||||||
interface = net0
|
interface = net0
|
||||||
{{ else if eq .chezmoi.hostname "raptorjesus" }}
|
|
||||||
interface = net1
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
interval = 3.0
|
interval = 3.0
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
# Initialization code that may require console input (password prompts, [y/n]
|
# Initialization code that may require console input (password prompts, [y/n]
|
||||||
# confirmations, etc.) must go above this block; everything else may go below.
|
# confirmations, etc.) must go above this block; everything else may go below.
|
||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
#source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Path to your oh-my-zsh installation.
|
# Path to your oh-my-zsh installation.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user