1
0
This commit is contained in:
devenblake 2020-10-17 23:42:43 -04:00
parent 1d6285656c
commit 69586cbc0d
3 changed files with 94 additions and 69 deletions

View File

@ -33,29 +33,57 @@ xterm*faceSize: 12
! black on white (first uncomment white's stuff)
!*reverseVideo: true
! "quantified colors" but every nybble
! is decremented ======================
! black/dark-gray
*.color0: #000000
*.color8: #343434
! red/orange
*.color1: #DE9591
*.color9: #D09E74
! green/aquamarine
*.color2: #70B880
*.color10: #49BB9E
! amber/yellow
*.color3: #958350
*.color11: #B7B763
! blue/violet
*.color4: #92A7DE
*.color12: #BB9BDC
! magenta/rose
*.color5: #D592CB
*.color13: #E190B1
! cyan/azure
*.color6: #40B9BC
*.color14: #63B2D3
! gray/white
*.color7: #707070
*.color15: #B0B0B0
! =====================================
! "quantified colors" =================
! black/dark-gray
*.color0: #101010
*.color8: #454545
!*.color0: #101010
!*.color8: #454545
! red/orange
*.color1: #EFA6A2
*.color9: #E0AF85
!*.color1: #EFA6A2
!*.color9: #E0AF85
! green/aquamarine
*.color2: #80C990
*.color10: #5ACCAF
!*.color2: #80C990
!*.color10: #5ACCAF
! amber/yellow
*.color3: #A69460
*.color11: #C8C874
!*.color3: #A69460
!*.color11: #C8C874
! blue/violet
*.color4: #A3B8EF
*.color12: #CCACED
!*.color4: #A3B8EF
!*.color12: #CCACED
! magenta/rose
*.color5: #E6A3DC
*.color13: #F2A1C2
!*.color5: #E6A3DC
!*.color13: #F2A1C2
! cyan/azure
*.color6: #50CACD
*.color14: #74C3E4
!*.color6: #50CACD
!*.color14: #74C3E4
! gray/white
*.color7: #808080
*.color15: #C0C0C0
!*.color7: #808080
!*.color15: #C0C0C0
! =====================================

View File

@ -2,16 +2,24 @@ complete -c man which
PS1="> "
PS2=">> "
PS3=">>> "
alias cls="clear"
# this is a thing I work on, it won't be useful to anyone else
ytfeed() {
cd /home/ibukimaya/github/ytfeed.py
./ytfeed.py
}
export PATH=$PATH":$HOME/bin"
# again, something specific to me (my media hard drive)
partone() {
sudo mount -L "PARTONE" /mnt/partone
}
alias 1702off="xrandr --output HDMI1 --off"
alias 1702on="xrandr --output HDMI1 --auto --mode 720x480 --right-of LVDS1"
alias cat="bat --theme=ansi-light"
alias cls="clear"
alias iftoggle="sudo ip link set"
alias ifswitch="iftoggle $1 down && iftoggle $1 up"
alias imount="idevicepair pair && sudo ifuse -o allow_other /mnt/iphone/"
alias p="ping 1.1.1.1"
alias partone="sudo mount -L 'PARTONE' /mnt/partone"
vgaoff() {
xsetwacom set "Wacom Intuos2 6x8 Pen stylus" MapToOutput LVDS1
xrandr --output VGA1 --off
}
vgaon() {
xrandr --output VGA1 --auto --left-of LVDS1
xsetwacom set "Wacom Intuos2 6x8 Pen stylus" MapToOutput VGA1
}
alias ytfeed="cd $HOME/github/ytfeed.py && ./cli.py"
eval "$(rbenv init -)"

View File

@ -51,8 +51,9 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec i3-sensible-terminal
bindsym XF86Launch1 exec i3-sensible-terminal
#bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Return exec uxterm
bindsym XF86Launch1 exec uxterm
# kill focused window
bindsym $mod+Shift+q kill
@ -68,31 +69,19 @@ bindsym $mod+d exec rofi -show run
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+semicolon focus right
# alternatively, you can use the cursor keys:
#bindsym $mod+Left focus left
#bindsym $mod+Down focus down
#bindsym $mod+Up focus up
#bindsym $mod+Right focus right
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right
# alternatively, you can use the cursor keys:
#bindsym $mod+Shift+Left move left
#bindsym $mod+Shift+Down move down
#bindsym $mod+Shift+Up move up
#bindsym $mod+Shift+Right move right
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
# split in horizontal orientation
bindsym $mod+h split h
bindsym $mod+g split h
# split in vertical orientation
bindsym $mod+v split v
@ -169,34 +158,30 @@ bindsym $mod+Shift+0 move container to workspace number $ws10
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym semicolon resize grow width 10 px or 10 ppt
# Pressing left will shrink the windows width.
# 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 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 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
# back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
# back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
}
bindsym $mod+r mode "resize"
@ -256,6 +241,10 @@ bindsym Control+Shift+Escape exec xfce4-taskmanager
# Wallpaper
exec --no-startup-id feh --bg-center /home/ibukimaya/Pictures/Wallpapers/Asuka\ 98.jpg
# moving workspaces
bindsym $mod+Shift+greater move container to output right
bindsym $mod+Shift+less move container to output left
# Gaps
gaps inner 10
gaps outer 10
@ -264,4 +253,4 @@ gaps vertical 10
gaps top 10
gaps right 10
gaps bottom 10
gaps left 10
gaps left 10