Cleaning stuff up.
This commit is contained in:
parent
eee76db779
commit
bfaec7f5e3
@ -1,19 +1,23 @@
|
||||
!
|
||||
! URxvt settings
|
||||
! x.y > straight child
|
||||
! x*y > any depth in resources hierarchy
|
||||
!
|
||||
URxvt.transparent: true
|
||||
URxvt.shading:20
|
||||
! Included this so you know how to make your foreground not match the color of your background
|
||||
URxvt.foreground: #eeeeee
|
||||
URxvt*background: #1d2021
|
||||
URxvt*scrollBar: false
|
||||
URxvt*scrollstyle: plain
|
||||
! light0_hard gruvbox
|
||||
URxvt.foreground: #f9f5d7
|
||||
! dark0 gruvbox
|
||||
URxvt*background: #1d2021
|
||||
URxvt*scrollBar: false
|
||||
URxvt*scrollstyle: plain
|
||||
URxvt.internalBorder: 8
|
||||
URxvt*saveLines: 65500
|
||||
URxvt*saveLines: 65500
|
||||
! starts as a login shell, prepending - to argv[0] of the shell.
|
||||
URxvt*loginShell: false
|
||||
URxvt*loginShell: false
|
||||
!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
|
||||
|
||||
! 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
|
||||
# is used in the bar {} block below.
|
||||
# font pango:monospace 8
|
||||
|
||||
# overrides title bars -> makes sure i3-gaps can do its thing
|
||||
for_window [class="^.*"] border pixel 2
|
||||
|
||||
# for jetbrains windows... focus on dialogs!
|
||||
for_window [class="^jetbrains-.+"][window_type=dialog] focus
|
||||
|
||||
# fix citrix windows
|
||||
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...
|
||||
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 xft:Fantasque Sans Mono 9
|
||||
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
|
||||
floating_modifier $mod
|
||||
|
||||
# start a terminal
|
||||
# bindsym $mod+Return exec i3-sensible-terminal
|
||||
bindsym $mod+Shift+Return exec xfce4-terminal
|
||||
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
|
||||
# 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"
|
||||
# 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 Print exec /home/jnieland/.config/i3/screenshot.sh
|
||||
bindsym --release Print exec ~/.config/i3/screenshot.sh
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
@ -92,15 +83,14 @@ bindsym $mod+c exec rofi -modi "clipboard:greenclip print" -show clipboard -run-
|
||||
|
||||
# do a nice menu with mode
|
||||
# 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" {
|
||||
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 s exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh suspend, 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 Shift+s exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh shutdown, 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 s exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh suspend, 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 Shift+s exec --no-startup-id /home/jnieland/.config/i3/i3exit.sh shutdown, mode "default"
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
@ -111,22 +101,23 @@ bindsym $mod+F12 mode "$mode_system"
|
||||
# do a nice menu for redshift values
|
||||
set $mode_redshift Redshift <2,3,4,5,6,7,8>k
|
||||
mode "$mode_redshift" {
|
||||
bindsym 2 exec --no-startup-id redshift -P -O 2000
|
||||
bindsym 3 exec --no-startup-id redshift -P -O 3000
|
||||
bindsym 4 exec --no-startup-id redshift -P -O 4000
|
||||
bindsym 5 exec --no-startup-id redshift -P -O 5000
|
||||
bindsym 6 exec --no-startup-id redshift -P -O 6000
|
||||
bindsym 7 exec --no-startup-id redshift -P -O 7000
|
||||
bindsym 8 exec --no-startup-id redshift -P -O 8000
|
||||
bindsym 2 exec --no-startup-id redshift -P -O 2000
|
||||
bindsym 3 exec --no-startup-id redshift -P -O 3000
|
||||
bindsym 4 exec --no-startup-id redshift -P -O 4000
|
||||
bindsym 5 exec --no-startup-id redshift -P -O 5000
|
||||
bindsym 6 exec --no-startup-id redshift -P -O 6000
|
||||
bindsym 7 exec --no-startup-id redshift -P -O 7000
|
||||
bindsym 8 exec --no-startup-id redshift -P -O 8000
|
||||
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
bindsym $mod+F9 mode "$mode_redshift"
|
||||
|
||||
|
||||
# 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" {
|
||||
bindsym a exec --no-startup-id setxkbmap us, 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
|
||||
# some nice symbols to try here: 0| 論b籠i錄
|
||||
set $mode_audio - + 0 y
|
||||
set $mode_audio Audio - + 0 y
|
||||
mode "$mode_audio" {
|
||||
# Pulse Audio controls
|
||||
# Increase sound volume
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
# =============================================================================
|
||||
# Plugins
|
||||
# =============================================================================
|
||||
export ZPLUG_LOADED=blabla
|
||||
# Check if zplug is installed
|
||||
[ ! -d ~/.zplug ] && git clone https://github.com/zplug/zplug ~/.zplug
|
||||
|
||||
@ -74,10 +73,6 @@ zplug "tarrasch/zsh-bd"
|
||||
# Simple zsh calculator
|
||||
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/command-not-found", 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-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||
;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:pixelsize=14;0
|
||||
font-0 = Siji:pixelsize=14;0
|
||||
; override pointers
|
||||
cursor-click = pointer
|
||||
cursor-scroll = pointer
|
||||
@ -325,7 +325,7 @@ label =
|
||||
|
||||
; format-underline = ${colors.bright_green}
|
||||
;format-underline = ${colors.col6}
|
||||
format-prefix-foreground = ${colors.underline-cpu}
|
||||
format-prefix-foreground = ${colors.bright_green}
|
||||
|
||||
bar-width = 10
|
||||
bar-indicator = |
|
||||
@ -360,9 +360,9 @@ ramp-coreload-5 = ▆
|
||||
ramp-coreload-6 = ▇
|
||||
ramp-coreload-7 = █
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.underline-cpu}
|
||||
format-prefix-foreground = ${colors.bright_blue}
|
||||
;format-underline = #f90000
|
||||
format-underline = ${colors.underline-cpu}
|
||||
;format-underline = ${colors.underline-cpu}
|
||||
label = %percentage-cores%
|
||||
|
||||
[module/memory]
|
||||
@ -428,11 +428,8 @@ unknown-as-up = false
|
||||
|
||||
[module/net]
|
||||
type = internal/network
|
||||
{{- if eq .chezmoi.hostname "carbonraptor" }}
|
||||
interface = net0
|
||||
{{ else if eq .chezmoi.hostname "raptorjesus" }}
|
||||
interface = net1
|
||||
{{- end }}
|
||||
|
||||
|
||||
interval = 3.0
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# 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
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
#source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user