Skip to content

Commit

Permalink
Added autorandr configs, removed .switchoutputs
Browse files Browse the repository at this point in the history
  • Loading branch information
notthebee committed Dec 30, 2018
1 parent 47a8c9f commit 4495e01
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 67 deletions.
2 changes: 1 addition & 1 deletion cmus/.cmus/blue.theme
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ set color_info=blue
set color_win_cur=magenta

# Color of the separator line between windows in view (1).
set color_separator=8
set color_separator=100

# Color of window titles (topmost line of the screen).
set color_win_title_bg=default
Expand Down
Binary file modified cmus/.cmus/cache
Binary file not shown.
1 change: 1 addition & 0 deletions compton/.compton.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ shadow = false;
fading = false;
mark-ovredir-focused = true;
inactive-dim = 0.1;
detect-client-opacity = true;
14 changes: 8 additions & 6 deletions i3/.config/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,23 @@ client.background $black
# AUTOSTART
exec_always "xrdb -merge $HOME/.Xresources"
exec syncthing -no-browser
exec "$HOME/.switchoutputs" # auto-switch between external and internal monitors
exec_always "dunst -conf $HOME/.dunstrc -lb \"$alt_black\" -nb \"$white\" -cb \"$alt_white\" -lf \"$br_black\" -cf \"$black\" -nf \"$alt_black\""
exec_always "setxkbmap de,ru -option caps:escape -option grp:shifts_toggle && xset r rate 280 35"
bindsym $mod+Tab exec "setxkbmap de,ru -option caps:escape -option grp:shifts_toggle && xset r rate 280 35"
exec_always --no-startup-id "$HOME/.config/polybar/launch.sh"
exec "polybar example -r"
exec_always "polybar-msg cmd restart"
exec_always --no-startup-id "nitrogen --restore"
exec --no-startup-id "udiskie -A"
exec "compton"
exec "xautolock -corners --00 -time 10 -locker slock -notify 5"
exec autocutsel -fork # clipboard manager
exec autocutsel -selection PRIMARY -fork # et encore
exec unclutter --timeout 1 # hide mouse cursor when inactive
exec udiskie # mount external drives as user

# CUSTOM MAPPINGS
# rofi
bindsym $mod+d exec rofi -show run -modi run
# dmenu-frecency
# https://github.com/kspi/dmenu-frecency
bindsym $mod+d exec dmenu-frecency

# lock the screen
bindsym $mod+Shift+Control+l exec "xautolock -locknow"
Expand All @@ -72,7 +73,7 @@ bindsym $mod+g exec --no-startup-id "if [ `i3-msg -t get_tree | grep -Po \
# launch apps
bindsym $mod+b exec qutebrowser
bindsym $mod+r exec st -e "ranger"
bindsym $mod+m exec st -e "cmus"
bindsym $mod+m exec "udiskie-dmenu -h 24"
bindsym $mod+Shift+c exec --no-startup-id $HOME/.config/i3/layouts/chat.sh

# media keys
Expand Down Expand Up @@ -158,3 +159,4 @@ bindsym $mod+Shift+9 move container to workspace $ws9
assign [class="qutebrowser"] $ws2
bindsym $mod+Shift+p reload
bindsym $mod+Shift+r restart

2 changes: 1 addition & 1 deletion ksh/.kshrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export EDITOR=nvim

export PATH=$HOME/.local/bin:$PATH
export LANG=en_US.UTF-8
export LC_CTYPE=en_US.UTF-8
export CLICOLOR=1
Expand Down
2 changes: 1 addition & 1 deletion nvim/.vim/bundle/vimtex
Submodule vimtex updated from 0715b2 to 0746f2
3 changes: 2 additions & 1 deletion polybar/.config/polybar/config
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ secondary = #e60053
alert = ${xrdb:color1:#222}

[bar/example]
enable-ipc = true
width = 100%
height = 24
radius = 0
Expand Down Expand Up @@ -35,7 +36,7 @@ font-3 = Noto Sans CJK JP:style=Medium:pixelsize=9;1

modules-left = i3
modules-center = date
modules-right = xkeyboard player-cmus wireless openvpn battery
modules-right = xkeyboard player-cmus wireless battery

[module/title]
type = internal/xwindow
Expand Down
7 changes: 0 additions & 7 deletions polybar/.config/polybar/launch.sh

This file was deleted.

5 changes: 5 additions & 0 deletions qutebrowser/.config/qutebrowser/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,9 @@ def read_xresources(prefix):
c.colors.tabs.selected.even.bg = xresources['*.background']
c.colors.webpage.bg = "white"

# web fonts
c.fonts.web.family.serif = "Liberation Serif"
c.fonts.web.family.sans_serif = "Liberation Sans"
c.fonts.web.family.standard = "Liberation Sans"
c.fonts.web.family.fixed = "Fira Code"
# custom css
8 changes: 4 additions & 4 deletions qutebrowser/.config/qutebrowser/qsettings/QtProject.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[FileDialog]
history=file:///home/notthebee/Documents/Notes/Python, file:///home/notthebee/Downloads, file:///home/notthebee, file:///home/notthebee/Documents/Notes/Python/Numpy, file:///home/notthebee/Documents/Notes/Python/Lorenz
lastVisited=file:///home/notthebee/Downloads
history=file:///home/notthebee/Pictures, file:///home/notthebee/Pictures/Screenshots, file:///home/notthebee/Pictures/Wallpapers, file:///home/notthebee/Pictures/Channel, file:///home/notthebee/Downloads/Telegram Desktop
lastVisited=file:///home/notthebee/Pictures/Screenshots
qtVersion=5.11.1
shortcuts=file:, file:///home/notthebee
sidebarWidth=83
treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2x\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x1\xa4\0\0\0\x1\0\0\0\0\0\0\0\x39\0\0\0\x1\0\0\0\0\0\0\0\x39\0\0\0\x1\0\0\0\0\0\0\0\x62\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff)
viewMode=Detail
treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\x3\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2x\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x65\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x1\xa4\0\0\0\x1\0\0\0\0\0\0\0\x39\0\0\0\x1\0\0\0\0\0\0\0\x39\0\0\0\x1\0\0\0\0\0\0\0\x62\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff)
viewMode=List
9 changes: 7 additions & 2 deletions scripts/.Xresources
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,10 @@ rofi.color-window: S_base02, S_base02, S_base00
rofi.color-normal: S_base02, S_base03, S_base02, #00323E, S_base00
rofi.kb-row-select: Tab
rofi.kb-row-tab:
! rofi.color-urgent: argb:2c1d1f21, #cc6666, argb:e54b5160, #a54242, #f9f9f9
! rofi.color-active: argb:2c1d1f21, #65acff, argb:e44b5160, #4491ed, #f9f9f9

! dmenu
dmenu.font: Fira Code-9
dmenu.background: S_base02
dmenu.foreground: S_base03
dmenu.selforeground: S_base00
dmenu.selbackground: S_base02
44 changes: 0 additions & 44 deletions scripts/.switchoutputs

This file was deleted.

0 comments on commit 4495e01

Please sign in to comment.