big changes boi
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
### MONITORS ###
|
||||
################
|
||||
|
||||
monitor= HDMI-A-1, 3840x2160, 2560x0, 1.5
|
||||
monitor= DP-1, 2560x2880, 0x0, 2.0
|
||||
monitor= eDP-1, 1920x1200, 0x0, 1.0
|
||||
monitor=HDMI-A-1,3840x2160,0x0,1.5
|
||||
monitor=DP-2,2560x2880,2560x0,2.0
|
||||
#monitor=DP-1,2560x2880,0x0,2.0
|
||||
monitor=eDP-1,1920x1200,6400x0,1.0
|
||||
|
||||
###################
|
||||
### MY PROGRAMS ###
|
||||
@@ -160,15 +161,14 @@ device {
|
||||
|
||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||
|
||||
|
||||
bind = $mainMod, Return, exec, $terminal
|
||||
bind = $mainMod SHIFT, Q, killactive,
|
||||
bind = $mainMod, M, exit,
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
#bind = $mainMod, M, exit,
|
||||
bind = $mainMod, F, exec, $fileManager
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, D, exec, $menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
#bind = $mainMod, J, togglesplit, # dwindle
|
||||
bind = $mainMod SHIFT, P, pseudo, # dwindle
|
||||
bind = $mainMod SHIFT, S, togglesplit, # dwindle
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, h, movefocus, l
|
||||
@@ -243,7 +243,6 @@ bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
|
||||
# Screenshot (Grimshot)
|
||||
# Captures the currently active window
|
||||
bind = $mainMod, g, exec, grimshot save active
|
||||
@@ -254,7 +253,20 @@ bind = $mainMod ALT, g, exec, grimshot save output
|
||||
# Allows manually selecting a single window
|
||||
bind = $mainMod CTRL, g, exec, grimshot save window
|
||||
|
||||
# Gopass password management
|
||||
bind = $mainMod, y, exec, ~/.local/bin/pass_copy
|
||||
bind = $mainMod, u, exec, ~/.local/bin/pass_user_copy
|
||||
bind = $mainMod, p, exec, ~/.local/bin/pass_autofill
|
||||
|
||||
# Bookmarks
|
||||
# Enter selected bookmark into target text field
|
||||
bind = $mainMod, i, exec, ~/.local/bin/bookmark_insert_into_field.sh
|
||||
|
||||
# Save bookmark
|
||||
bind = $mainMod SHIFT, i, exec, ~/.local/bin/bookmark_save.sh
|
||||
|
||||
# Emojis
|
||||
bind = $mainMod SHIFT, e, exec, ~/.local/bin/emoji_insert.sh
|
||||
##############################
|
||||
### WINDOWS AND WORKSPACES ###
|
||||
##############################
|
||||
|
||||
18
.config/rofi/launchers.d/rofi_launcher_autofill.sh
Executable file
18
.config/rofi/launchers.d/rofi_launcher_autofill.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya (adi1090x)
|
||||
## Github : @adi1090x
|
||||
#
|
||||
## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
|
||||
#
|
||||
## Available Styles
|
||||
#
|
||||
## style-1 style-2 style-3 style-4 style-5
|
||||
## style-6 style-7 style-8 style-9 style-10
|
||||
## style-11 style-12 style-13 style-14 style-15
|
||||
|
||||
dir="$HOME/.config/rofi/launchers/type-2"
|
||||
theme='style-1'
|
||||
|
||||
## Run
|
||||
rofi -p "Autofill:" -dmenu -theme ${dir}/${theme}.rasi
|
||||
18
.config/rofi/launchers.d/rofi_launcher_bookmark_insert.sh
Executable file
18
.config/rofi/launchers.d/rofi_launcher_bookmark_insert.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya (adi1090x)
|
||||
## Github : @adi1090x
|
||||
#
|
||||
## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
|
||||
#
|
||||
## Available Styles
|
||||
#
|
||||
## style-1 style-2 style-3 style-4 style-5
|
||||
## style-6 style-7 style-8 style-9 style-10
|
||||
## style-11 style-12 style-13 style-14 style-15
|
||||
|
||||
dir="$HOME/.config/rofi/launchers/type-4"
|
||||
theme='style-4'
|
||||
|
||||
## Run
|
||||
rofi -p "Bookmark:" -dmenu -theme ${dir}/${theme}.rasi
|
||||
18
.config/rofi/launchers.d/rofi_launcher_emoji.sh
Executable file
18
.config/rofi/launchers.d/rofi_launcher_emoji.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya (adi1090x)
|
||||
## Github : @adi1090x
|
||||
#
|
||||
## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
|
||||
#
|
||||
## Available Styles
|
||||
#
|
||||
## style-1 style-2 style-3 style-4 style-5
|
||||
## style-6 style-7 style-8 style-9 style-10
|
||||
## style-11 style-12 style-13 style-14 style-15
|
||||
|
||||
dir="$HOME/.config/rofi/launchers/type-4"
|
||||
theme='style-4'
|
||||
|
||||
## Run
|
||||
rofi -p "Emoji:" -dmenu -theme ${dir}/${theme}.rasi
|
||||
18
.config/rofi/launchers.d/rofi_launcher_pass.sh
Executable file
18
.config/rofi/launchers.d/rofi_launcher_pass.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya (adi1090x)
|
||||
## Github : @adi1090x
|
||||
#
|
||||
## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
|
||||
#
|
||||
## Available Styles
|
||||
#
|
||||
## style-1 style-2 style-3 style-4 style-5
|
||||
## style-6 style-7 style-8 style-9 style-10
|
||||
## style-11 style-12 style-13 style-14 style-15
|
||||
|
||||
dir="$HOME/.config/rofi/launchers/type-2"
|
||||
theme='style-1'
|
||||
|
||||
## Run
|
||||
rofi -p "Password:" -dmenu -theme ${dir}/${theme}.rasi
|
||||
18
.config/rofi/launchers.d/rofi_launcher_username.sh
Executable file
18
.config/rofi/launchers.d/rofi_launcher_username.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya (adi1090x)
|
||||
## Github : @adi1090x
|
||||
#
|
||||
## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
|
||||
#
|
||||
## Available Styles
|
||||
#
|
||||
## style-1 style-2 style-3 style-4 style-5
|
||||
## style-6 style-7 style-8 style-9 style-10
|
||||
## style-11 style-12 style-13 style-14 style-15
|
||||
|
||||
dir="$HOME/.config/rofi/launchers/type-2"
|
||||
theme='style-1'
|
||||
|
||||
## Run
|
||||
rofi -p "Username:" -dmenu -theme ${dir}/${theme}.rasi
|
||||
@@ -15,4 +15,4 @@
|
||||
|
||||
/* Import color-scheme from `colors` directory */
|
||||
|
||||
@import "~/.config/rofi/colors/onedark.rasi"
|
||||
@import "~/.config/rofi/colors/gruvbox.rasi"
|
||||
|
||||
@@ -15,4 +15,4 @@
|
||||
|
||||
/* Import color-scheme from `colors` directory */
|
||||
|
||||
@import "~/.config/rofi/colors/onedark.rasi"
|
||||
@import "~/.config/rofi/colors/gruvbox.rasi"
|
||||
|
||||
9
.local/bin/bookmark_insert_into_field.sh
Executable file
9
.local/bin/bookmark_insert_into_field.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
BOOKMARKS="$HOME/.local/share/bookmarks/bookmarks"
|
||||
LAUNCHER="$HOME/.config/rofi/launchers.d/rofi_launcher_bookmark_insert.sh"
|
||||
|
||||
sel="$(grep -v '^#' "$BOOKMARKS" | "$LAUNCHER" | cut -d ' ' -f1)"
|
||||
|
||||
[ -n "$sel" ] && wtype "$sel"
|
||||
11
.local/bin/emoji_insert.sh
Executable file
11
.local/bin/emoji_insert.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
EMOJIS_DIR="$HOME/.local/share/chars"
|
||||
LAUNCHER="$HOME/.config/rofi/launchers.d/rofi_launcher_emoji.sh"
|
||||
|
||||
sel="$(cat "$EMOJIS_DIR"/emojis |
|
||||
"$LAUNCHER" |
|
||||
awk '{print $1}')"
|
||||
|
||||
[ -n "${sel:-}" ] && exec wtype "$sel"
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
entry=$(gopass list --flat | bemenu -p Autofill: -l 25 -c -M 500 --fn 'Monospace 14' --tf '#ff4e00' --ff '#dbc077' --hf '#ff4e00')
|
||||
entry=$(gopass list --flat | ~/.config/rofi/launchers.d/rofi_launcher_autofill.sh)
|
||||
|
||||
if [ -n "$entry" ]; then
|
||||
username=$(gopass show "$entry" | grep '^username:' | cut -d' ' -f2-)
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
entry=$(gopass list --flat | bemenu -p Password: -l 25 -c -M 500 --fn 'Monospace 14' --tf '#ff4e00' --ff '#dbc077' --hf '#ff4e00')
|
||||
entry=$(gopass list --flat | ~/.config/rofi/launchers.d/rofi_launcher_pass.sh)
|
||||
|
||||
if [ -n "$entry" ]; then
|
||||
gopass show -c "$entry" 2>/dev/null || notify-send "Gopass Error" "Failed to copy: $entry"
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
entry=$(gopass list --flat | bemenu -p Username: -l 25 -c -M 500 --fn 'Monospace 14' --tf '#ff4e00' --ff '#dbc077' --hf '#ff4e00')
|
||||
entry=$(gopass list --flat | ~/.config/rofi/launchers.d/rofi_launcher_username.sh)
|
||||
|
||||
if [ -n "$entry" ]; then
|
||||
if gopass show -c "$entry" username 2>/dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user