NixOS standardization
This commit is contained in:
parent
c66efc268c
commit
f174299ffd
9 changed files with 16 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
# For the programs that create a ~/Downloads folder on startup (ie: spotify, zoom)
|
||||
# Look in the program settings to redirect the Downloads folder before trying this solution
|
||||
# Usage: 'dlkiller $my-program'
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
layout=`autorandr | rofi -dmenu -i -p "Select layout" | awk '{print $1}'`
|
||||
autorandr $layout
|
||||
feh --bg-scale --no-fehbg "$HOME/.config/wallpaper"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
# Script to have rofi show and run aliases
|
||||
|
||||
rofi -run-list-command "alias | awk -F= \"{print \\\$1}\"" \
|
||||
-run-command "/usr/bin/zsh -i -c '{cmd}'" \
|
||||
-run-command "/usr/bin/env zsh -i -c '{cmd}'" \
|
||||
-rnow -show-icons -matching "prefix" \
|
||||
-display-combi "Start" \
|
||||
-show combi -combi-modes "drun,run"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
# Simple dmenu script for changing default audio sink
|
||||
|
||||
sinks_and_numbers=`wpctl status |
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# The famous "get a menu of emojis to copy" script.
|
||||
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@
|
|||
|
||||
case "$PINENTRY_USER_DATA" in
|
||||
dmenu)
|
||||
exec /usr/bin/pinentry-dmenu "$@"
|
||||
exec pinentry-dmenu "$@"
|
||||
;;
|
||||
rofi)
|
||||
exec /usr/bin/pinentry-rofi "$@"
|
||||
exec pinentry-rofi "$@"
|
||||
;;
|
||||
*)
|
||||
exec /usr/bin/pinentry-curses "$@"
|
||||
exec pinentry-curses "$@"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# When I open an image from the file manager in nsxiv (the image viewer), I want
|
||||
# to be able to press the next/previous keys to key through the rest of the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue