More misc linux stuff

master
Dustin Swan 7 years ago
parent fb118697b6
commit 44693bb3b8

@ -13,6 +13,7 @@ rofi.run-command: fish -c '{cmd}'
! urxvt
urxvt*internalBorder: 12
urxvt*borderColor: #00000000
urxvt*loginShell: true
urxvt*scrollBar: false
urxvt*secondaryScroll: true
@ -27,4 +28,5 @@ urxvt*boldFont: xft:Iosevka Nerd Font:Bold:size=8,xft:Siji:Regular:size=8
! Colors
urxvt*depth: 32
urxvt*foreground: #ffffff
urxvt*background: rgba:0000/0000/0000/dddd
urxvt*transparent: true
urxvt*shading: 10

@ -24,8 +24,8 @@ window:
# Units are physical pixels; this is not DPI aware.
# (change requires restart)
padding:
x: 2
y: 2
x: 12
y: 12
# Window decorations
# Setting this to false will result in window without borders and title bar.
@ -158,7 +158,7 @@ visual_bell:
duration: 0
# Background opacity
background_opacity: 0.8
background_opacity: 0.9
# Mouse bindings
#

24
i3

@ -7,6 +7,14 @@ smart_borders on
for_window [class="^.*"] border pixel 0
new_window pixel 1
for_window [class="mpv"] floating enable
for_window [class="mpv"] resize set 1500px 1000px
for_window [class="mpv"] move absolute position center
for_window [class="feh"] floating enable
for_window [class="feh"] resize set 1500px 1000px
for_window [class="feh"] move absolute position center
font pango:Iosevka Nerd Font Regular 8
# Use Mouse+$mod to drag floating windows to their wanted position
@ -131,16 +139,16 @@ mode "resize" {
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym h resize shrink width 5 px or 5 ppt
bindsym k resize grow height 5 px or 5 ppt
bindsym j resize shrink height 5 px or 5 ppt
bindsym l resize grow width 5 px or 5 ppt
bindsym h resize shrink width 2 px or 2 ppt
bindsym k resize grow height 2 px or 2 ppt
bindsym j resize shrink height 2 px or 2 ppt
bindsym l resize grow width 2 px or 2 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
bindsym Left resize shrink width 2 px or 2 ppt
bindsym Down resize grow height 2 px or 2 ppt
bindsym Up resize shrink height 2 px or 2 ppt
bindsym Right resize grow width 2 px or 2 ppt
# back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"

@ -8,11 +8,11 @@
;=====================================================
[colors]
background = ${xrdb:color0:#222}
background = ${xrdb:color0:#000}
;background = #88000000
background-alt = #444444
foreground = ${xrdb:color7:#222}
;foreground = #ffffff
;foreground = ${xrdb:color7:#222}
foreground = #ffffff
foreground-alt = #aaaaaa
primary = #0a6cf5
secondary = #e60053

@ -46,44 +46,44 @@ c.colors.webpage.bg = 'white'
# Font used in the completion categories.
# Type: Font
c.fonts.completion.category = 'bold 12pt monospace'
c.fonts.completion.category = 'bold 9pt monospace'
# Font used in the completion widget.
# Type: Font
c.fonts.completion.entry = '12pt monospace'
c.fonts.completion.entry = '9pt monospace'
# Font used for the debugging console.
# Type: QtFont
c.fonts.debug_console = '12pt monospace'
c.fonts.debug_console = '9pt monospace'
# Font used for the downloadbar.
# Type: Font
c.fonts.downloads = '12pt monospace'
c.fonts.downloads = '9pt monospace'
# Font used for the hints.
# Type: Font
c.fonts.hints = 'bold 10pt monospace'
c.fonts.hints = 'bold 9pt monospace'
# Font used in the keyhint widget.
# Type: Font
c.fonts.keyhint = '12pt monospace'
c.fonts.keyhint = '9pt monospace'
# Font used for error messages.
# Type: Font
c.fonts.messages.error = '12pt monospace'
c.fonts.messages.error = '9pt monospace'
# Font used for info messages.
# Type: Font
c.fonts.messages.info = '12pt monospace'
c.fonts.messages.info = '9pt monospace'
# Font used for warning messages.
# Type: Font
c.fonts.messages.warning = '12pt monospace'
c.fonts.messages.warning = '9pt monospace'
# Default monospace fonts. Whenever "monospace" is used in a font
# setting, it's replaced with the fonts listed here.
# Type: Font
c.fonts.monospace = '"Iosevka Nerd Font"'
c.fonts.monospace = 'Iosevka Nerd Font'
# Font used for prompts.
# Type: Font
@ -91,11 +91,11 @@ c.fonts.prompts = '8pt sans-serif'
# Font used in the statusbar.
# Type: Font
c.fonts.statusbar = '12pt monospace'
c.fonts.statusbar = '9pt monospace'
# Font used in the tab bar.
# Type: QtFont
c.fonts.tabs = '12pt monospace'
c.fonts.tabs = '9pt monospace'
# Open new tabs (middleclick/ctrl+click) in the background.
# Type: Bool

@ -108,7 +108,7 @@ values."
;; configuration in `dotspacemacs/user-config'.
dotspacemacs-additional-packages
'(
weechat
;; weechat
all-the-icons
spaceline-all-the-icons
hackernews
@ -383,7 +383,7 @@ This is the place where most of your configurations should be done. Unless it is
explicitly specified that a variable should be set before a package is loaded,
you should place your code here."
(require 'weechat)
;; (require 'weechat)
(use-package spaceline-all-the-icons
:after spaceline
@ -391,7 +391,7 @@ you should place your code here."
(spaceline-all-the-icons-theme))
(setq neo-theme 'icons)
(setq monokai-background "#000000")
;; (setq monokai-background "#000000")
;; fix Fish prompts
(add-hook 'term-mode-hook 'spacemacs/toggle-truncate-lines-on)
@ -413,7 +413,7 @@ you should place your code here."
(use-package vue-mode)
(spacemacs/enable-transparency)
;; (spacemacs/enable-transparency)
(defun my-focus-new-frame (frame)
(spacemacs/toggle-transparent-frame))

@ -6,6 +6,7 @@ curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs https://git.io/fishe
ln -sf ~/dotfiles/fishfile ~/.config/fish/fishfile
mkdir ~/.ghc; ln -sf ~/dotfiles/ghci.conf ~/.ghc/ghci.conf
ln -sf ~/dotfiles/gitconfig ~/.gitconfig
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
ln -sf ~/dotfiles/tmux.conf ~/.tmux.conf
mkdir -p ~/.config/khal; ln -sf ~/dotfiles/khal.conf ~/.config/khal/config
mkdir ~/.vdirsyncer; ln -sf ~/dotfiles/vdirsyncer/config ~/.vdirsyncer/config
@ -14,6 +15,7 @@ mkdir ~/.ssh; ln -sf ~/dotfiles/ssh/config ~/.ssh/config
mkdir -p ~/.config/khard; ln -sf ~/dotfiles/khard.conf ~/.config/khard/khard.conf
mkdir -p ~/.config/qutebrowser; ln -sf ~/dotfiles/qutebrowser.py ~/.config/qutebrowser/config.py
mkdir -p ~/.config/alacritty; ln -sf ~/dotfiles/alacritty.yml ~/.config/alacritty/alacritty.py
mkdir -p ~/.config/rtv; ln -sf ~/dotfiles/rtv.cfg ~/.config/rtv.cfg
# Mail stuff
ln -sf ~/dotfiles/offlineimaprc ~/.offlineimaprc

@ -43,6 +43,8 @@ set -g @plugin 'jbnicolai/tmux-urlview'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'nhdaly/tmux-better-mouse-mode'
set -g @continuum-restore 'on'
set -g status-right ''
set -g status-left ''
@ -80,8 +82,8 @@ set-option -g display-panes-colour white
# clock
set-window-option -g clock-mode-colour white
# Initialize TMUX plugin manager
run '~/.tmux/plugins/tpm/tpm'
# mouse
set-option -g mouse on
# Initialize TMUX plugin manager
run '~/.tmux/plugins/tpm/tpm'

@ -1,7 +1,7 @@
setxkbmap -option ctrl:nocaps -option compose:ralt
xcape -e 'Control_L=Escape'
xmodmap -e "keycode 96 = dead_greek dead_greek dead_greek dead_greek"
compton -cGb --inactive-opacity 0.75
compton -b --inactive-opacity 0.90
sh ~/dotfiles/logitech_linux_mouse.sh
xsetroot -solid black -cursor_name left_ptr
nitrogen --restore &

Loading…
Cancel
Save