summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf>2021-04-20 20:07:58 -0400
committerluxagraf <sng@luxagraf>2021-04-20 20:07:58 -0400
commit3cc80ba61060765a5981da3e7ab8cda8dc03e447 (patch)
tree28e087442836067ebcda2fdacb529c687ac36e8a
parentb6233aa19dc68bf266ef06f27aae69fa3210f046 (diff)
added latest environment tweaks
-rw-r--r--.aliases3
-rw-r--r--.bashrc4
-rw-r--r--.config/sway/config28
-rw-r--r--.newsboat/config2
-rw-r--r--.tmux.conf8
-rw-r--r--.tmux/write-fict2
-rw-r--r--.tmux/write-lux2
-rw-r--r--.tmux/write-wire5
8 files changed, 26 insertions, 28 deletions
diff --git a/.aliases b/.aliases
index f035040..27184a9 100644
--- a/.aliases
+++ b/.aliases
@@ -13,7 +13,8 @@ alias cp='cp -v'
alias mv='mv -v'
# i like ls
alias ls='ls --color -h --group-directories-first'
-alias ll='ls -l'
+alias ll='ls -l --group-directories-first '
+alias lt='ls -lt '
alias lsh='ls -lh'
alias la='ls -lah'
alias count='ls -l | wc -l'
diff --git a/.bashrc b/.bashrc
index 1c0a854..f0590ba 100644
--- a/.bashrc
+++ b/.bashrc
@@ -1,9 +1,7 @@
#basics
stty -ixon
-#export BROWSER="firefox-developer-edition"
-export BROWSER="qutebrowser"
export MOZ_DBUS_REMOTE=1
-#export BROWSER="vivaldi-snapshot --use-gl=egl"
+export BROWSER="vivaldi-snapshot --ozone-platform=wayland --enable-features=UseOzonePlatform,UseSkiaRenderer,Vulkan"
export EDITOR="nvim"
# keep dictionaries in ~/bin/
export STARDICT_DATA_DIR="$HOME/bin/dict/"
diff --git a/.config/sway/config b/.config/sway/config
index 77543ef..3a4b886 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -2,7 +2,7 @@ set $mod Mod1
set $mod2 Mod4
set $term alacritty
#set $background /mnt/storage/pictures/desktops/isla-dark.jpg
-set $background /mnt/storage/pictures/desktops/Beach\ -\ Renato\ Giordanelli.jpg
+set $background ~/pictures/desktops/Beach\ -\ Renato\ Giordanelli.jpg
set $screenshot grim ~/pictures/screenshots/scrn-$(date +"%Y-%m-%d-%H-%M-%S").png
set $screenclip slurp | grim -g - ~/pictures/screenshots/scrn-$(date +"%Y-%m-%d-%H-%M-%S").png
@@ -57,7 +57,7 @@ bindsym $mod2+v split v
# enter fullscreen mode for the focused container
bindsym $mod+Shift+f fullscreen toggle
-bindsym $mod+f floating toggle
+bindsym $mod2+f floating toggle
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+Shift+s layout stacking
@@ -132,12 +132,12 @@ for_window [app_id="python3"] border none, floating enable
for_window [class="^Chromium$"] border none
for_window [app_id="darktable"] border none
-for_window [class="Darktable"] border none
for_window [app_id="org.qutebrowser.qutebrowser"] border none
for_window [app_id="qutebrowser"] border none
for_window [app_id="firefoxdeveloperedition"] border none
for_window [class="firefoxdeveloperedition"] border none
for_window [app_id="Vivaldi-snapshot"] border none
+for_window [class="Vivaldi-snapshot"] border none
for_window [class="^qutebrowser"] border none
for_window [class="Slack"] border none
#for_window [app_id="Alacritty"] floating enable, resize set width 53 ppt height 100 ppt
@@ -148,7 +148,6 @@ for_window [app_id="foot"] border none
assign [class="qutebrowser"] $ws2
assign [app_id="org.qutebrowser.qutebrowser"] $ws2
assign [class="Slack"] $ws6
-assign [class="Darktable"] $ws3
assign [app_id="darktable"] $ws3
#workspace switching
@@ -204,11 +203,7 @@ input "1:1:AT_Translated_Set_2_keyboard" {
repeat_delay 200
repeat_rate 30
}
-#exec xrdb ~/.Xresources
exec --no-startup-id gammastep
-#exec --no-startup-id vivaldi-snapshot --ozone-platform=wayland --enable-features=UseOzonePlatform,UseSkiaRenderer,Vulkan &
-#exec --no-startup-id urxvt &
-#exec --no-startup-id alacritty &
exec --no-startup-id nextcloud &
# old i3 X11 stuff
@@ -218,10 +213,13 @@ exec --no-startup-id nextcloud &
# clipboard manager
exec wl-paste -t text --watch clipman store --max-items=200 --histpath="~/.local/share/clipman-primary.json"
-bindsym $mod+h exec clipman pick --tool="wofi" --max-items=200 --histpath="~/.local/share/clipman-primary.json"
+bindsym $mod+z exec clipman pick --tool="wofi" --max-items=200 --histpath="~/.local/share/clipman-primary.json"
-# app launcher
-bindsym $mod+Space exec foot --app-id=launcher bash -c "compgen -c | sort -u | fzf --bind 'tab:up' | xargs -r swaymsg -t command exec"
+# homemade app launcher
+#bindsym $mod+Space exec foot --app-id=launcher bash -c "compgen -c | sort -u | fzf --bind 'tab:up' | xargs -r swaymsg -t command exec"
+#
+#trying bemenu:
+bindsym $mod+Space exec bemenu-run
# pass chooser
bindsym $mod+p exec foot --app-id=launcher bash -c 'pass clip --fzf | xargs -r swaymsg -t command exec'
@@ -232,17 +230,17 @@ for_window [app_id="^launcher$"] floating enable, border none, resize set width
bindsym $mod+s exec foot --app-id=smsearch bash -c 'fzsnip | xargs -r swaymsg -t command exec'
#clipboard manager
+bindsym $mod+h exec foot --app-id=smsearch bash -c 'fzclip | xargs -r swaymsg -t command exec'
-
-bindsym $mod+z exec foot --app-id=smsearch bash -c 'fzclip | xargs -r swaymsg -t command exec'
-
-bindsym $mod+b exec foot --app-id=smsearch bash -c 'url=$(cat .config/qutebrowser/bookmarks/urls | fzf | cut -d \" \" -f 1) && qutebrowser "$url" | xargs -r swaymsg -t command exec'
+bindsym $mod+b exec foot --app-id=smsearch bash -c 'url=$(cat .config/qute-wired/bookmarks/urls | fzf | cut -d \" \" -f 1) && qutebrowser "$url" | xargs -r swaymsg -t command exec'
for_window [app_id="^smsearch$"] floating enable, border none, resize set width 80 ppt height 60 ppt, move position 0 px 0 px
bindsym $mod+n exec alacritty --class 'smsearch' --command bash -c 'notes'
+bindsym $mod2+n exec alacritty --class 'smsearch' --command bash -c 'stocks'
+
for_window [app_id="^smsearch$"] floating enable, border none, resize set width 80 ppt height 60 ppt, move position 0 px 0 px
exec_always ~/.config/waybar/waybar.sh
diff --git a/.newsboat/config b/.newsboat/config
index 2ad417a..f5c3efe 100644
--- a/.newsboat/config
+++ b/.newsboat/config
@@ -22,7 +22,7 @@ download-full-page yes
confirm-exit yes
#browser "~/bin/open-in-pane"
#browser "$BROWSER"
-browser "qutebrowser -l critical "
+#browser "qutebrowser -l critical "
#browser "xvivaldi-snap %u"
#browser "firefox-developer-edition"
bind-key v open-in-browser-and-mark-read
diff --git a/.tmux.conf b/.tmux.conf
index 130d494..2867e7c 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -46,16 +46,16 @@ bind ^A select-pane -t :.+
# smart pane switching with awareness of vim splits
bind -n C-h run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-h) || tmux select-pane -L"
-bind -n C-n run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-j) || tmux select-pane -D"
-bind -n C-p run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-k) || tmux select-pane -U"
-#bind -n C-l run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-l) || tmux select-pane -R"
+bind -n C-j run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-j) || tmux select-pane -D"
+bind -n C-k run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-k) || tmux select-pane -U"
+bind -n C-l run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-l) || tmux select-pane -R"
#alternative for ctrl-l
bind l send-keys 'C-l'
# setup a decent environment
bind m source-file ~/.tmux/thesetup
bind C-f source-file ~/.tmux/write-fict
-#bind C-l source-file ~/.tmux/write-lux
+bind C-x source-file ~/.tmux/write-lux
bind C-w source-file ~/.tmux/write-wire
bind C-d source-file ~/.tmux/dev
diff --git a/.tmux/write-fict b/.tmux/write-fict
index 51fdbdd..63b08dd 100644
--- a/.tmux/write-fict
+++ b/.tmux/write-fict
@@ -3,4 +3,4 @@ rename-window "lbh"
splitw -h -p 22
selectp -t 1 # select the original pane
splitw -h -p 69
-send "cd writing/lbh/ && v lbh.txt" enter #open vim
+send "cd ~/lbh/ && v lbh.txt" enter #open vim
diff --git a/.tmux/write-lux b/.tmux/write-lux
index d496b83..56c58c4 100644
--- a/.tmux/write-lux
+++ b/.tmux/write-lux
@@ -2,4 +2,4 @@ neww -n 'lux'
splitw -h -p 22
selectp -t 1 # select the original pane
splitw -h -p 69
-send "cd ~/writing/luxagraf/ && v" enter #open vim
+send "cd ~/lux/ && v" enter #open vim
diff --git a/.tmux/write-wire b/.tmux/write-wire
index 10f88bf..da7c7bd 100644
--- a/.tmux/write-wire
+++ b/.tmux/write-wire
@@ -1,5 +1,6 @@
-neww -t -n ''
+neww -n ''
+rename-window "wir"
splitw -h -p 22
selectp -t 1 # select the original pane
splitw -h -p 69
-send "cd ~/writing/conde/wired/ && v" enter #open vim
+send "cd ~/writing/conde/wired/ && v wired.txt" enter #open vim