This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
lib, | |
config, | |
... | |
}: { | |
imports = [./options.nix ./yash]; | |
config.profiles.yash.editor = "nvim"; | |
# Generate this: users.users.yash.description = "Yash Shinde"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
imports = [ ./users.nix ]; | |
x.users.alice.editor = "hx"; | |
x.users.bob.editor = "vi"; | |
x.users.clive.editor = "code"; | |
boot.loader.grub.enable = false; | |
fileSystems."/" = { device = "/dev/sda1"; }; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g :https://www.google.com/search?q=%s Google | |
b :https://bing.com/search?q=%s Brave | |
d :https://duckduckgo.com/?q=%s DuckDuckGo | |
y :https://youtube.com/search?q=%s Youtube | |
m :https://www.merriam-webster.com/dictionary/%s Merriam | |
a :https://www.amazon.com/s/?field-keywords=%s Amazon India | |
f :https://www.flipkart.com/search?q=%s Flipkart | |
my :https://myntra.com/%s Myntra |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default arch.conf | |
timeout 0 | |
console-mode max | |
editor no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Lock X session using slock for user %i | |
Before=sleep.target | |
[Service] | |
User=zim | |
Environment=DISPLAY=:0 | |
ExecStartPre=/usr/bin/xset dpms force suspend | |
ExecStart=/usr/bin/slock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map s LinkHints.activate | |
map S LinkHints.activateOpenInNewTab | |
map D closeTabsOnRight | |
map [ moveTabLeft | |
map ] moveTabRight | |
map r reload hard | |
map ( previousTab | |
map ) nextTab | |
map H previousTab | |
map L nextTab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Kmonad keyboard utility | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/kmonad /home/zim/.kmonad.kbd | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setxkbmap -option altwin:swap_lalt_lwin | |
setxkbmap -option caps:swapescape | |
# add these lines to your .xinitrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Yash's Xmonad config | |
{-# LANGUAGE MultiParamTypeClasses, FlexibleInstances #-} -- Hightlight Bar | |
-- ================================ IMPORT ============================================== | |
import XMonad | |
import XMonad.Util.EZConfig | |
import XMonad.Util.Ungrab | |
import qualified XMonad.StackSet as W | |
import qualified Data.Map as M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swipe: | |
3: | |
left: | |
command: 'xdotool key super+Right' | |
right: | |
command: 'xdotool key super+Left' | |
up: | |
command: 'xdotool key super+Up' | |
down: | |
command: 'xdotool key super+Down' |
NewerOlder