More misc linux stuff

master
Dustin Swan 6 years ago
parent fb118697b6
commit 44693bb3b8

@ -13,6 +13,7 @@ rofi.run-command: fish -c '{cmd}'
! urxvt ! urxvt
urxvt*internalBorder: 12 urxvt*internalBorder: 12
urxvt*borderColor: #00000000
urxvt*loginShell: true urxvt*loginShell: true
urxvt*scrollBar: false urxvt*scrollBar: false
urxvt*secondaryScroll: true urxvt*secondaryScroll: true
@ -27,4 +28,5 @@ urxvt*boldFont: xft:Iosevka Nerd Font:Bold:size=8,xft:Siji:Regular:size=8
! Colors ! Colors
urxvt*depth: 32 urxvt*depth: 32
urxvt*foreground: #ffffff 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. # Units are physical pixels; this is not DPI aware.
# (change requires restart) # (change requires restart)
padding: padding:
x: 2 x: 12
y: 2 y: 12
# Window decorations # Window decorations
# Setting this to false will result in window without borders and title bar. # Setting this to false will result in window without borders and title bar.
@ -158,7 +158,7 @@ visual_bell:
duration: 0 duration: 0
# Background opacity # Background opacity
background_opacity: 0.8 background_opacity: 0.9
# Mouse bindings # Mouse bindings
# #

24
i3

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

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

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

@ -108,7 +108,7 @@ values."
;; configuration in `dotspacemacs/user-config'. ;; configuration in `dotspacemacs/user-config'.
dotspacemacs-additional-packages dotspacemacs-additional-packages
'( '(
weechat ;; weechat
all-the-icons all-the-icons
spaceline-all-the-icons spaceline-all-the-icons
hackernews 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, explicitly specified that a variable should be set before a package is loaded,
you should place your code here." you should place your code here."
(require 'weechat) ;; (require 'weechat)
(use-package spaceline-all-the-icons (use-package spaceline-all-the-icons
:after spaceline :after spaceline
@ -391,7 +391,7 @@ you should place your code here."
(spaceline-all-the-icons-theme)) (spaceline-all-the-icons-theme))
(setq neo-theme 'icons) (setq neo-theme 'icons)
(setq monokai-background "#000000") ;; (setq monokai-background "#000000")
;; fix Fish prompts ;; fix Fish prompts
(add-hook 'term-mode-hook 'spacemacs/toggle-truncate-lines-on) (add-hook 'term-mode-hook 'spacemacs/toggle-truncate-lines-on)
@ -413,7 +413,7 @@ you should place your code here."
(use-package vue-mode) (use-package vue-mode)
(spacemacs/enable-transparency) ;; (spacemacs/enable-transparency)
(defun my-focus-new-frame (frame) (defun my-focus-new-frame (frame)
(spacemacs/toggle-transparent-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 ln -sf ~/dotfiles/fishfile ~/.config/fish/fishfile
mkdir ~/.ghc; ln -sf ~/dotfiles/ghci.conf ~/.ghc/ghci.conf mkdir ~/.ghc; ln -sf ~/dotfiles/ghci.conf ~/.ghc/ghci.conf
ln -sf ~/dotfiles/gitconfig ~/.gitconfig ln -sf ~/dotfiles/gitconfig ~/.gitconfig
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
ln -sf ~/dotfiles/tmux.conf ~/.tmux.conf ln -sf ~/dotfiles/tmux.conf ~/.tmux.conf
mkdir -p ~/.config/khal; ln -sf ~/dotfiles/khal.conf ~/.config/khal/config mkdir -p ~/.config/khal; ln -sf ~/dotfiles/khal.conf ~/.config/khal/config
mkdir ~/.vdirsyncer; ln -sf ~/dotfiles/vdirsyncer/config ~/.vdirsyncer/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/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/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/alacritty; ln -sf ~/dotfiles/alacritty.yml ~/.config/alacritty/alacritty.py
mkdir -p ~/.config/rtv; ln -sf ~/dotfiles/rtv.cfg ~/.config/rtv.cfg
# Mail stuff # Mail stuff
ln -sf ~/dotfiles/offlineimaprc ~/.offlineimaprc 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 'christoomey/vim-tmux-navigator'
set -g @plugin 'nhdaly/tmux-better-mouse-mode' set -g @plugin 'nhdaly/tmux-better-mouse-mode'
set -g @continuum-restore 'on'
set -g status-right '' set -g status-right ''
set -g status-left '' set -g status-left ''
@ -80,8 +82,8 @@ set-option -g display-panes-colour white
# clock # clock
set-window-option -g clock-mode-colour white set-window-option -g clock-mode-colour white
# Initialize TMUX plugin manager
run '~/.tmux/plugins/tpm/tpm'
# mouse # mouse
set-option -g mouse on 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 setxkbmap -option ctrl:nocaps -option compose:ralt
xcape -e 'Control_L=Escape' xcape -e 'Control_L=Escape'
xmodmap -e "keycode 96 = dead_greek dead_greek dead_greek dead_greek" 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 sh ~/dotfiles/logitech_linux_mouse.sh
xsetroot -solid black -cursor_name left_ptr xsetroot -solid black -cursor_name left_ptr
nitrogen --restore & nitrogen --restore &

Loading…
Cancel
Save