Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ediw8311xht committed Sep 9, 2024
1 parent 8bd1919 commit 60dbd67
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 43 deletions.
5 changes: 4 additions & 1 deletion i3wm/borders/border_flash.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
set $inacti_TBAR #000000
set $unfocu_TBAR #333333
default_border $BORDER_PIXEL
#default_floating_border $BORDER_PIXEL
#---GAPS------------------------------------------#
gaps inner 0
gaps outer 0
Expand All @@ -27,6 +28,8 @@
client.focused_inactive $inacti_TBAR $inacti_TBAR $inacti_TEXT $inacti_TBAR $inacti_BORD
client.unfocused $unfocu_TBAR $unfocu_TBAR $unfocu_TEXT $unfocu_TBAR $unfocu_BORD
client.focused_tab_title $- $- #000cc2
client.background $-
#client.background $-
include release_helper.conf
for_window [tiling] border pixel 0
for_window [floating] border $BORDER_PIXEL_FLOATING

10 changes: 5 additions & 5 deletions i3wm/borders/border_regular.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
set $BORDER_PIXEL pixel 2

#set $focuse_BORD #005500
set $focuse_BORD #004f98
set $inacti_BORD #FFFFFF
set $unfocu_BORD #777777
set $focuse_BORD #0088FF
set $inacti_BORD #0000FF
set $unfocu_BORD #333333

set $focuse_TBAR #004f98
set $inacti_TBAR #999999
set $unfocu_TBAR #444444
set $inacti_TBAR #000000
set $unfocu_TBAR #333333

#default_border $BORDER_PIXEL_DEFAULT
#---GAPS------------------------------------------#
Expand Down
9 changes: 4 additions & 5 deletions i3wm/borders/release_helper.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ set $RSF bindsym --release Mod1+Shift+
set $RSF_CTRL bindsym --release Mod1+Shift+Ctrl
set $B1 exec " i3-msg 'border pixel 1'" ;
set $B2 exec " sleep 0.01; i3-msg 'border pixel 0'"
for_window [all] border pixel 0

$RM 0 $B2
$RM 1 $B2
Expand All @@ -34,14 +33,14 @@ $RM i $B2
$RM j $B2
$RM k $B2
$RM l $B2
$RM m $B2
#$RM m $B2
$RM n $B2
$RM o $B2
$RM p $B2
$RM q $B2
$RM s $B2
$RM t $B2
$RM u $B2
#$RM t $B2
#$RM u $B2
$RM v $B2
$RM x $B2
$RM y $B2
Expand Down Expand Up @@ -210,6 +209,6 @@ $RSF_CTRL equal $B2
$RSF_CTRL BackSpace $B2

#bindsym --release Super_L $B2
bindsym --release $mod+Shift+Return exec "sleep 0.2; i3-msg 'border pixel 0'"
bindsym --release $mod+Shift+Return exec "sleep 0.3; i3-msg 'border pixel 0'"
#-------END---------------------------------------------------------------------------------#

8 changes: 4 additions & 4 deletions i3wm/regular_bindings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ $Br i $_ exec $dmenu_search
$Br j $B1 focus down
$Br k $B1 focus up
$Br l $B1 focus right
$Br m $B1 scratchpad show
$Br n $B1 [instance="i3s_note"] scratchpad show
$Br m $_ scratchpad show
$Br n $_ [instance="i3s_note"] scratchpad show
$Br o $_ fullscreen
$Br p $_ exec dunstctl close-all
$Br r $_ exec $xmsg_script "Resize"; mode resize
$Br s $_ layout stacking
$Br t $B1 [class="Tor Browser"] scratchpad show
$Br u $B1 [title="i3s_kitty_term"] scratchpad show
$Br t $_ [class="Tor Browser"] scratchpad show
$Br u $_ [title="i3s_kitty_term"] scratchpad show
$Br v $_ split v
$Br w $_ layout tabbed
$Br x $_ exec $monitor_script 'rotate' '$MON_1' 'right'
Expand Down
49 changes: 29 additions & 20 deletions kitty/kitty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
enable_audio_bell no
scrollback_lines 10000
confirm_os_window_close 0
scrollback_pager most
scrollback_pager nvim
scrollback_pager_history_size 1000
# URL #
open_url_with brave
Expand Down Expand Up @@ -98,22 +98,31 @@
map f1 launch_tab nvim
map f2 show_kitty_doc overview
# Kitty_mod
map kitty_mod+f1 load_config_file
map kitty_mod+o open_url_with_hints
map kitty_mod+n launch --cwd=current
map kitty_mod+0 goto_tab 99999
map kitty_mod+1 goto_tab 1
map kitty_mod+2 goto_tab 2
map kitty_mod+3 goto_tab 3
map kitty_mod+4 goto_tab 4
map kitty_mod+5 goto_tab 5
map kitty_mod+6 goto_tab 6
map kitty_mod+7 goto_tab 7
map kitty_mod+8 goto_tab 8
map kitty_mod+9 goto_tab 9
map kitty_mod+h previous_tab
map kitty_mod+l next_tab
map kitty_mod+q close_window
map kitty_mod+Q close_tab
map kitty_mod+s show_scrollback
map kitty_mod+t new_tab
map kitty_mod+f1 load_config_file
map kitty_mod+[ previous_tab
map kitty_mod+] next_tab

map kitty_mod+shift+h move_window left
map kitty_mod+shift+j move_window down
map kitty_mod+shift+k move_window up
map kitty_mod+shift+l move_window right
map kitty_mod+shift+q close_tab
map kitty_mod+0 goto_tab 99999
map kitty_mod+1 goto_tab 1
map kitty_mod+2 goto_tab 2
map kitty_mod+3 goto_tab 3
map kitty_mod+4 goto_tab 4
map kitty_mod+5 goto_tab 5
map kitty_mod+6 goto_tab 6
map kitty_mod+7 goto_tab 7
map kitty_mod+8 goto_tab 8
map kitty_mod+9 goto_tab 9
map kitty_mod+h neighboring_window left
map kitty_mod+j neighboring_window down
map kitty_mod+k neighboring_window up
map kitty_mod+l neighboring_window right
map kitty_mod+n new_window_with_cwd
map kitty_mod+o open_url_with_hints
map kitty_mod+q close_window
map kitty_mod+s show_scrollback
map kitty_mod+t new_tab
10 changes: 6 additions & 4 deletions lf/lfrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set ratios 2:4:4
set info size:time
set scrolloff 8
set autoquit
set drawbox
#set drawbox
set dircounts
set preview
set number
Expand Down Expand Up @@ -121,7 +121,9 @@ map <esc> clear
map <enter> shell
map <c-f> :filter
#map C :quit
#map C !
map ; :mark-save
map ? :maps
map K push 3k
map E :open_editor
map H set hidden!
Expand All @@ -133,15 +135,15 @@ map Q &lf -remote 'send quit'; lf -remote 'quit'
map RF push :rename<enter><c-a><c-k>
map RN rename
map RR :reload
map Sb :set drawbox!
map Ss :set number!; set relativenumber!
map TR :trash
map U :unselect; clear
map VG invert-below
map Vg :invert-below; invert

map Ss :set number!; set relativenumber!
map bB &$BROWSER $fx
map bQ &qutebrowser $fx
map c &xclip -selection "clipboard" -i -r <<< "${fx[*]}"
map c &sed "s@${HOME}/@\$\{HOME\}/@" <<< "${fx[*]}" | xclip -selection "clipboard" -i -r
map d set dironly!
map e np
map m push :!mkdir<space>
Expand Down
19 changes: 15 additions & 4 deletions nvim/lua/mappings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,23 @@
-- local function makemap (key, mode, map, desc, remap)
-- return { key = key, mode = mode, map = map, desc = desc, remap = remap }
-- end
-- { '', {l , '<C-^>' }},
-- { '', '/' , ':Explore<CR>' },

-- local f(s, , ,

if not table.unpack then
table.unpack = unpack
end

-- local f(s, , ,
local l = '<leader>'

-- { '', {l , '<C-^>' }},
-- { '', '/' , ':Explore<CR>' },
-- local leader_vnoremap = {
-- { 'Copy Line w/o newline', ',' , '' },
-- }
-- local f(s, , ,


local leader_nnoremap = {
{ 'Prev Tab', 'tb' , ':tabmove -1<esc>' },
{ 'Next Tab', 'tn' , ':tabmove +1<esc>' },
Expand Down Expand Up @@ -68,8 +75,12 @@ local leader_nnoremap = {



-- for _, map in ipairs(leader_vnoremap) do
-- vim.keymap.set('n', l .. map[2], map[3], {remap = false})
-- end

for _, map in ipairs(leader_nnoremap) do
vim.keymap.set('n', l .. map[2], map[3])
vim.keymap.set('n', l .. map[2], map[3], {remap = false})
end


Expand Down

0 comments on commit 60dbd67

Please sign in to comment.