mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2023-02-13 20:55:19 -05:00
Changing some keybindings.
This commit is contained in:
parent
73ab2f2142
commit
e5f7ba4ed0
8 changed files with 86 additions and 78 deletions
4
.bashrc
4
.bashrc
|
@ -150,9 +150,9 @@ ex ()
|
|||
# better yaourt colors
|
||||
export YAOURT_COLORS="nb=1:pkg=1:ver=1;32:lver=1;45:installed=1;42:grp=1;34:od=1;41;5:votes=1;44:dsc=0:other=1;35"
|
||||
|
||||
|
||||
neofetch
|
||||
|
||||
alias config='/usr/bin/git --git-dir=/home/dt/dotfiles --work-tree=/home/dt'
|
||||
alias tb="nc termbin.com 9999"
|
||||
alias tb="nc termbin.com 9999"
|
||||
|
||||
set -o vi
|
||||
|
|
|
@ -50,7 +50,7 @@ hc keybind $Mod-KP_Page_Up spawn st -e sh ./scripts/tig-script.sh
|
|||
|
||||
# Apps Launched with <SUPER> + <SHIFT> + <KEYPAD 0-9>
|
||||
hc keybind $Mod-Shift-KP_End spawn st -e ~/.config/vifm/scripts/vifmrun
|
||||
hc keybind $Mod-Shift-KP_Down spawn st -e htop
|
||||
hc keybind $Mod-Shift-KP_Down spawn st -e joplin
|
||||
hc keybind $Mod-Shift-KP_Page_Down spawn st -e cmus
|
||||
hc keybind $Mod-Shift-KP_Left spawn st -e irssi
|
||||
hc keybind $Mod-Shift-KP_Begin spawn st -e rtorrent
|
||||
|
@ -61,13 +61,13 @@ hc keybind $Mod-Shift-KP_Page_Up spawn st -e vim ~/.config/herbstluftwm/autostar
|
|||
|
||||
# Apps Launched with <SUPER> + <CONTROL> + <KEYPAD 0-9>
|
||||
hc keybind $Mod-Control-KP_End spawn st -e htop
|
||||
hc keybind $Mod-Control-KP_Down spawn st -e glances
|
||||
hc keybind $Mod-Control-KP_Down spawn st -e gtop
|
||||
hc keybind $Mod-Control-KP_Page_Down spawn st -e nmon
|
||||
hc keybind $Mod-Control-KP_Left spawn st -e httping -KY --draw-phase localhost
|
||||
hc keybind $Mod-Control-KP_Left spawn st -e glances
|
||||
hc keybind $Mod-Control-KP_Begin spawn st -e s-tui
|
||||
hc keybind $Mod-Control-KP_Right spawn st -e pianobar
|
||||
hc keybind $Mod-Control-KP_Right spawn st -e httping -KY --draw-phase localhost
|
||||
hc keybind $Mod-Control-KP_Home spawn st -e cmatrix -C cyan
|
||||
hc keybind $Mod-Control-KP_Up spawn st -e joplin
|
||||
hc keybind $Mod-Control-KP_Up spawn st -e pianobar
|
||||
hc keybind $Mod-Control-KP_Page_Up spawn st -e wopr report.xml
|
||||
|
||||
# basic movement
|
||||
|
@ -192,6 +192,10 @@ hc set swap_monitors_to_get_tag 1
|
|||
# rules
|
||||
hc unrule -F
|
||||
#hc rule class=XTerm tag=3 # move all xterms to tag 3
|
||||
hc rule class=VirtualBox tag=5 # move all VMs to tag 5
|
||||
hc rule title='Oracle VM VirtualBox Manager' tag=5
|
||||
hc rule class=VirtualBox pseudotile=on
|
||||
hc rule class=VirtualBox fullscreen=on
|
||||
hc rule focus=on # normally focus new clients
|
||||
#hc rule focus=off # normally do not focus new clients
|
||||
# give focus to most common terminals
|
||||
|
|
|
@ -46,7 +46,7 @@ format-offset =
|
|||
|
||||
[colors]
|
||||
; Nord theme ============
|
||||
background = #1D2330
|
||||
background = #292d3e
|
||||
foreground = #c0c5ce
|
||||
alert = #bd2c40
|
||||
volume-min = #a3be8c
|
||||
|
@ -630,40 +630,40 @@ format-background = ${colors.background}
|
|||
type = custom/text
|
||||
content = "%{T2} %{T-}"
|
||||
content-font = 2
|
||||
content-foreground = #84598D
|
||||
content-background = #1D2330
|
||||
content-foreground = #C3E88D
|
||||
content-background = #292d3e
|
||||
|
||||
[module/arrow2]
|
||||
; grey to Blue
|
||||
type = custom/text
|
||||
content = "%{T2} %{T-}"
|
||||
content-font = 2
|
||||
content-foreground = #4B5665
|
||||
content-background = #84598D
|
||||
content-foreground = #82AAFF
|
||||
content-background = #C3E88D
|
||||
|
||||
[module/arrow3]
|
||||
; grey to Blue
|
||||
type = custom/text
|
||||
content = "%{T2} %{T-}"
|
||||
content-font = 2
|
||||
content-foreground = #92969D
|
||||
content-background = #4B5665
|
||||
content-foreground = #C792EA
|
||||
content-background = #82AAFF
|
||||
|
||||
[module/arrow4]
|
||||
; grey to Blue
|
||||
type = custom/text
|
||||
content = "%{T2} %{T-}"
|
||||
content-font = 2
|
||||
content-foreground = #645377
|
||||
content-background = #92969D
|
||||
content-foreground = #FFE585
|
||||
content-background = #C792EA
|
||||
|
||||
[module/arrow5]
|
||||
; grey to Blue
|
||||
type = custom/text
|
||||
content = "%{T2} %{T-}"
|
||||
content-font = 2
|
||||
content-foreground = #AD69AF
|
||||
content-background = #645377
|
||||
content-foreground = #F07178
|
||||
content-background = #FFE585
|
||||
|
||||
[module/arrow6]
|
||||
; grey to Blue
|
||||
|
@ -671,7 +671,7 @@ type = custom/text
|
|||
content = "%{T2} %{T-}"
|
||||
content-font = 2
|
||||
content-foreground = #1D2330
|
||||
content-background = #AD69AF
|
||||
content-background = #F07178
|
||||
|
||||
|
||||
|
||||
|
@ -686,10 +686,10 @@ type = custom/script
|
|||
exec = ~/.config/polybar/scripts/check-all-updates.sh
|
||||
interval = 1000
|
||||
label = Updates: %output%
|
||||
format-foreground = #ededed
|
||||
format-background = #AD69AF
|
||||
format-foreground = #ffffff
|
||||
format-background = #F07178
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = #d7d7d7
|
||||
format-prefix-foreground = #ffffff
|
||||
|
||||
|
||||
[module/aur-updates]
|
||||
|
@ -867,8 +867,8 @@ type = internal/cpu
|
|||
; Seconds to sleep between updates
|
||||
; Default: 1
|
||||
interval = 1
|
||||
format-foreground = #1D2330
|
||||
format-background = #92969D
|
||||
format-foreground = ${colors.background}
|
||||
format-background = #C792EA
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.background}
|
||||
|
||||
|
@ -1102,9 +1102,9 @@ label = %percentage_used%%
|
|||
|
||||
format = Mem <label>
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.foreground}
|
||||
format-foreground = ${colors.foreground}
|
||||
format-background = #4B5665
|
||||
format-prefix-foreground = #292d3e
|
||||
format-foreground = #292d3e
|
||||
format-background = #82AAFF
|
||||
|
||||
################################################################################
|
||||
|
||||
|
@ -1167,9 +1167,9 @@ interface = enp3s0
|
|||
label-connected = "%upspeed:7%"
|
||||
format-connected = <label-connected>
|
||||
format-connected-prefix = " "
|
||||
format-connected-prefix-foreground = ${colors.foreground}
|
||||
format-connected-foreground = ${colors.foreground}
|
||||
format-connected-background = #84598D
|
||||
format-connected-prefix-foreground = #292d3e
|
||||
format-connected-foreground = #292d3e
|
||||
format-connected-background = #C3E88D
|
||||
|
||||
################################################################################
|
||||
|
||||
|
@ -1183,9 +1183,9 @@ interface = enp3s0
|
|||
label-connected = "%downspeed:7%"
|
||||
format-connected = <label-connected>
|
||||
format-connected-prefix = " "
|
||||
format-connected-prefix-foreground = ${colors.foreground}
|
||||
format-connected-foreground = ${colors.foreground}
|
||||
format-connected-background = #84598D
|
||||
format-connected-prefix-foreground = #292d3e
|
||||
format-connected-foreground = #292d3e
|
||||
format-connected-background = #C3E88D
|
||||
|
||||
################################################################################
|
||||
|
||||
|
@ -1212,8 +1212,8 @@ click-right = exec pavucontrol
|
|||
click-left = ~/.config/polybar/scripts/pavolume.sh --togmute
|
||||
scroll-up = ~/.config/polybar/scripts/pavolume.sh --up
|
||||
scroll-down = ~/.config/polybar/scripts/pavolume.sh --down
|
||||
format-foreground = #d7d7d7
|
||||
format-background = #645377
|
||||
format-foreground = ${colors.background}
|
||||
format-background = #FFE585
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -222,7 +222,7 @@ def init_keys():
|
|||
),
|
||||
Key(
|
||||
[mod, "shift"], "KP_Down", # Keypad 2
|
||||
lazy.spawn(myTerm+" -e htop")
|
||||
lazy.spawn(myTerm+" -e joplin")
|
||||
),
|
||||
Key(
|
||||
[mod, "shift"], "KP_Page_Down", # Keypad 3
|
||||
|
@ -259,7 +259,7 @@ def init_keys():
|
|||
),
|
||||
Key(
|
||||
[mod, "control"], "KP_Down", # Keypad 2
|
||||
lazy.spawn(myTerm+" -e glances")
|
||||
lazy.spawn(myTerm+" -e gtop")
|
||||
),
|
||||
Key(
|
||||
[mod, "control"], "KP_Page_Down", # Keypad 3
|
||||
|
@ -267,7 +267,7 @@ def init_keys():
|
|||
),
|
||||
Key(
|
||||
[mod, "control"], "KP_Left", # Keypad 4
|
||||
lazy.spawn(myTerm+" -e httping -KY --draw-phase localhost")
|
||||
lazy.spawn(myTerm+" -e glances")
|
||||
),
|
||||
Key(
|
||||
[mod, "control"], "KP_Begin", # Keypad 5
|
||||
|
@ -275,7 +275,7 @@ def init_keys():
|
|||
),
|
||||
Key(
|
||||
[mod, "control"], "KP_Right", # Keypad 6
|
||||
lazy.spawn(myTerm+" -e sh ./scripts/pianobar.sh")
|
||||
lazy.spawn(myTerm+" -e httping -KY --draw-phase localhost")
|
||||
),
|
||||
Key(
|
||||
[mod, "control"], "KP_Home", # Keypad 7
|
||||
|
@ -283,7 +283,7 @@ def init_keys():
|
|||
),
|
||||
Key(
|
||||
[mod, "control"], "KP_Up", # Keypad 8
|
||||
lazy.spawn("sh ./scripts/joplin.sh")
|
||||
lazy.spawn(myTerm+" -e pianobar")
|
||||
),
|
||||
Key(
|
||||
[mod, "control"], "KP_Page_Up", # Keypad 9
|
||||
|
|
56
.i3/config
56
.i3/config
|
@ -35,7 +35,7 @@ font xft:URWGothic-Book 11
|
|||
floating_modifier $mod
|
||||
|
||||
# start a $myTerm
|
||||
set $myTerm termite
|
||||
set $myTerm st
|
||||
bindsym $mod+Return exec $myTerm
|
||||
|
||||
# kill focused window
|
||||
|
@ -48,37 +48,37 @@ bindsym $mod+KP_Insert exec --no-startup-id rofi -show run
|
|||
bindsym $mod+' exec --no-startup-id morc_menu
|
||||
|
||||
# Apps Launched with <SUPER> + <KEYPAD 1-9>
|
||||
bindsym $mod+KP_End exec $myTerm -e 'lynx -cfg=~/.lynx.cfg -lss=~/.lynx.lss http://www.distrowatch.com'
|
||||
bindsym $mod+KP_Down exec $myTerm -e 'sh ./scripts/googler-script.sh'
|
||||
bindsym $mod+KP_Page_Down exec $myTerm -e 'newsboat'
|
||||
bindsym $mod+KP_Left exec $myTerm -e 'rtv'
|
||||
bindsym $mod+KP_Begin exec $myTerm -e 'neomutt'
|
||||
bindsym $mod+KP_Right exec $myTerm -e 'twitch-curses'
|
||||
bindsym $mod+KP_Home exec $myTerm -e 'sh ./scripts/haxor-news.sh'
|
||||
bindsym $mod+KP_Up exec $myTerm -e 'toot curses'
|
||||
bindsym $mod+KP_Page_Up exec $myTerm -e 'sh ./scripts/tig-script.sh'
|
||||
bindsym $mod+KP_End exec $myTerm -e lynx -cfg=~/.lynx.cfg -lss=~/.lynx.lss http://www.distrowatch.com
|
||||
bindsym $mod+KP_Down exec $myTerm -e sh ./scripts/googler-script.sh
|
||||
bindsym $mod+KP_Page_Down exec $myTerm -e newsboat
|
||||
bindsym $mod+KP_Left exec $myTerm -e rtv
|
||||
bindsym $mod+KP_Begin exec $myTerm -e neomutt
|
||||
bindsym $mod+KP_Right exec $myTerm -e twitch-curses
|
||||
bindsym $mod+KP_Home exec $myTerm -e sh ./scripts/haxor-news.sh
|
||||
bindsym $mod+KP_Up exec $myTerm -e toot curses
|
||||
bindsym $mod+KP_Page_Up exec $myTerm -e sh ./scripts/tig-script.sh
|
||||
|
||||
# Apps Launched with <SUPER> + <SHIFT> + <KEYPAD 1-9>
|
||||
bindsym $mod+Shift+KP_1 exec $myTerm -e 'vifm'
|
||||
bindsym $mod+Shift+KP_2 exec $myTerm -e 'htop'
|
||||
bindsym $mod+Shift+KP_3 exec $myTerm -e 'cmus'
|
||||
bindsym $mod+Shift+KP_4 exec $myTerm -e 'irssi'
|
||||
bindsym $mod+Shift+KP_5 exec $myTerm -e 'rtorrent'
|
||||
bindsym $mod+Shift+KP_6 exec $myTerm -e 'youtube-viewer'
|
||||
bindsym $mod+Shift+KP_7 exec $myTerm -e 'ncpamixer'
|
||||
bindsym $mod+Shift+KP_8 exec $myTerm -e 'calcurse'
|
||||
bindsym $mod+Shift+KP_9 exec $myTerm -e 'vim /home/dt/.i3/config'
|
||||
bindsym $mod+Shift+KP_1 exec $myTerm -e vifm
|
||||
bindsym $mod+Shift+KP_2 exec $myTerm -e joplin
|
||||
bindsym $mod+Shift+KP_3 exec $myTerm -e cmus
|
||||
bindsym $mod+Shift+KP_4 exec $myTerm -e irssi
|
||||
bindsym $mod+Shift+KP_5 exec $myTerm -e rtorrent
|
||||
bindsym $mod+Shift+KP_6 exec $myTerm -e youtube-viewer
|
||||
bindsym $mod+Shift+KP_7 exec $myTerm -e ncpamixer
|
||||
bindsym $mod+Shift+KP_8 exec $myTerm -e calcurse
|
||||
bindsym $mod+Shift+KP_9 exec $myTerm -e vim /home/dt/.i3/config
|
||||
|
||||
# Apps Launched with <SUPER> + <CTRL> + <KEYPAD 1-9>
|
||||
bindsym $mod+Ctrl+KP_End exec $myTerm -e 'htop'
|
||||
bindsym $mod+Ctrl+KP_Down exec $myTerm -e 'glances'
|
||||
bindsym $mod+Ctrl+KP_Page_Down exec $myTerm -e 'nmon'
|
||||
bindsym $mod+Ctrl+KP_Left exec $myTerm -e 'httping -KY --draw-phase localhost'
|
||||
bindsym $mod+Ctrl+KP_Begin exec $myTerm -e 's-tui'
|
||||
bindsym $mod+Ctrl+KP_Right exec $myTerm -e 'pianobar'
|
||||
bindsym $mod+Ctrl+KP_Home exec $myTerm -e 'cmatrix -C cyan'
|
||||
bindsym $mod+Ctrl+KP_Up exec $myTerm -e 'joplin'
|
||||
bindsym $mod+Ctrl+KP_Page_Up exec $myTerm -e 'wopr report.xml'
|
||||
bindsym $mod+Ctrl+KP_End exec $myTerm -e htop
|
||||
bindsym $mod+Ctrl+KP_Down exec $myTerm -e gtop
|
||||
bindsym $mod+Ctrl+KP_Page_Down exec $myTerm -e nmon
|
||||
bindsym $mod+Ctrl+KP_Left exec $myTerm -e glances
|
||||
bindsym $mod+Ctrl+KP_Begin exec $myTerm -e s-tui
|
||||
bindsym $mod+Ctrl+KP_Right exec $myTerm -e httping -KY --draw-phase localhost
|
||||
bindsym $mod+Ctrl+KP_Home exec $myTerm -e cmatrix -C cyan
|
||||
bindsym $mod+Ctrl+KP_Up exec $myTerm -e pianobar
|
||||
bindsym $mod+Ctrl+KP_Page_Up exec $myTerm -e wopr report.xml
|
||||
|
||||
################################################################################################
|
||||
## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ##
|
||||
|
|
|
@ -208,7 +208,7 @@ myKeys =
|
|||
|
||||
-- Command Line Apps (MOD + SHIFT + KEYPAD 1-9)
|
||||
, ("M-S-<KP_End>", spawn (myTerminal ++ " -e ~/.config/vifm/scripts/vifmrun")) -- Keypad 1
|
||||
, ("M-S-<KP_Down>", spawn (myTerminal ++ " -e htop")) -- Keypad 2
|
||||
, ("M-S-<KP_Down>", spawn (myTerminal ++ " -e joplin")) -- Keypad 2
|
||||
, ("M-S-<KP_Page_Down>", spawn (myTerminal ++ " -e cmus")) -- Keypad 3
|
||||
, ("M-S-<KP_Left>", spawn (myTerminal ++ " -e irssi")) -- Keypad 4
|
||||
, ("M-S-<KP_Begin>", spawn (myTerminal ++ " -e rtorrent")) -- Keypad 5
|
||||
|
@ -219,13 +219,13 @@ myKeys =
|
|||
|
||||
-- Command Line Apps (MOD + CTRL + KEYPAD 1-9)
|
||||
, ("M-C-<KP_End>", spawn (myTerminal ++ " -e htop")) -- Keypad 1
|
||||
, ("M-C-<KP_Down>", spawn (myTerminal ++ " -e glances")) -- Keypad 2
|
||||
, ("M-C-<KP_Down>", spawn (myTerminal ++ " -e gtop")) -- Keypad 2
|
||||
, ("M-C-<KP_Page_Down>", spawn (myTerminal ++ " -e nmon")) -- Keypad 3
|
||||
, ("M-C-<KP_Left>", spawn (myTerminal ++ " -e httping -KY --draw-phase localhost")) -- Keypad 4
|
||||
, ("M-C-<KP_Left>", spawn (myTerminal ++ " -e glances")) -- Keypad 4
|
||||
, ("M-C-<KP_Begin>", spawn (myTerminal ++ " -e s-tui")) -- Keypad 5
|
||||
, ("M-C-<KP_Right>", spawn (myTerminal ++ " -e pianobar")) -- Keypad 6
|
||||
, ("M-C-<KP_Right>", spawn (myTerminal ++ " -e httping -KY --draw-phase localhost")) -- Keypad 6
|
||||
, ("M-C-<KP_Home>", spawn (myTerminal ++ " -e cmatrix -C cyan")) -- Keypad 7
|
||||
, ("M-C-<KP_Up>", spawn (myTerminal ++ " -e joplin")) -- Keypad 8
|
||||
, ("M-C-<KP_Up>", spawn (myTerminal ++ " -e pianobar")) -- Keypad 8
|
||||
, ("M-C-<KP_Page_Up>", spawn (myTerminal ++ " -e wopr report.xml")) -- Keypad 9
|
||||
|
||||
-- GUI Apps
|
||||
|
|
4
.zshrc
4
.zshrc
|
@ -19,6 +19,8 @@ POWERLEVEL9K_VCS_CLEAN_BACKGROUND='11'
|
|||
POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND='8'
|
||||
POWERLEVEL9K_VCS_MODIFIED_BACKGROUND='10'
|
||||
POWERLEVEL9K_VCS_MAX_SYNC_LATENCY_SECONDS='0.05'
|
||||
POWERLEVEL9K_VI_INSERT_MODE_STRING='INSERT'
|
||||
POWERLEVEL9K_VI_COMMAND_MODE_STRING='NORMAL'
|
||||
|
||||
# Set list of themes to pick from when loading at random
|
||||
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
||||
|
@ -132,3 +134,5 @@ alias grep='grep --colour=auto'
|
|||
|
||||
zstyle ':completion:*' completer _expand_alias _complete _ignored
|
||||
alias tb="nc termbin.com 9999"
|
||||
|
||||
bindkey -v
|
||||
|
|
10
dwm/config.h
10
dwm/config.h
|
@ -129,7 +129,7 @@ static Key keys[] = {
|
|||
|
||||
/* Apps Launched with <SUPER> + <SHIFT> + <KEYPAD 1-9> */
|
||||
{ MODKEY|ShiftMask, XK_KP_End, spawn, CMD("st -e ~/.config/vifm/scripts/vifmrun") },
|
||||
{ MODKEY|ShiftMask, XK_KP_Down, spawn, CMD("st -e htop") },
|
||||
{ MODKEY|ShiftMask, XK_KP_Down, spawn, CMD("st -e joplin") },
|
||||
{ MODKEY|ShiftMask, XK_KP_Page_Down, spawn, CMD("st -e cmus") },
|
||||
{ MODKEY|ShiftMask, XK_KP_Left, spawn, CMD("st -e irssi") },
|
||||
{ MODKEY|ShiftMask, XK_KP_Begin, spawn, CMD("st -e rtorrent") },
|
||||
|
@ -140,13 +140,13 @@ static Key keys[] = {
|
|||
|
||||
/* Apps Launched with <SUPER> + <CONTROL> + <KEYPAD 1-9> */
|
||||
{ MODKEY|ControlMask, XK_KP_End, spawn, CMD("st -e htop") },
|
||||
{ MODKEY|ControlMask, XK_KP_Down, spawn, CMD("st -e glances") },
|
||||
{ MODKEY|ControlMask, XK_KP_Down, spawn, CMD("st -e gtop") },
|
||||
{ MODKEY|ControlMask, XK_KP_Page_Down, spawn, CMD("st -e nmon") },
|
||||
{ MODKEY|ControlMask, XK_KP_Left, spawn, CMD("st -e httping -KY --draw-phase localhost") },
|
||||
{ MODKEY|ControlMask, XK_KP_Left, spawn, CMD("st -e glances") },
|
||||
{ MODKEY|ControlMask, XK_KP_Begin, spawn, CMD("st -e s-tui") },
|
||||
{ MODKEY|ControlMask, XK_KP_Right, spawn, CMD("st -e pianobar") },
|
||||
{ MODKEY|ControlMask, XK_KP_Right, spawn, CMD("st -e httping -KY --draw-phase localhost") },
|
||||
{ MODKEY|ControlMask, XK_KP_Home, spawn, CMD("st -e cmatrix -C cyan") },
|
||||
{ MODKEY|ControlMask, XK_KP_Up, spawn, CMD("st -e joplin") },
|
||||
{ MODKEY|ControlMask, XK_KP_Up, spawn, CMD("st -e pianobar") },
|
||||
{ MODKEY|ControlMask, XK_KP_Page_Up, spawn, CMD("st -e wopr report.xml") },
|
||||
|
||||
TAGKEYS( XK_1, 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue